API Reference
On this page
Public Types | |
| using | Result = Expected<MessageBoxResult> |
| using | Callback = brstd::move_only_function<void(Result)> |
Public Member Functions | |
| LLNDAPI | MessageBox (Player &player, TextValue title) |
| MessageBox (MessageBox const &)=delete | |
| MessageBox & | operator= (MessageBox const &)=delete |
| LLAPI | MessageBox (MessageBox &&) noexcept |
| LLAPI MessageBox & | operator= (MessageBox &&) noexcept |
| LLAPI MessageBox & | body (TextValue value) |
| LLAPI MessageBox & | button1 (TextValue label, std::optional< TextValue > tooltip={}) |
| LLAPI MessageBox & | button2 (TextValue label, std::optional< TextValue > tooltip={}) |
| LLNDAPI Expected | show (Callback callback={}) |
| LLNDAPI coro::CoroTask< Result > | showAsync () |
| LLNDAPI Expected | close () |
| LLNDAPI bool | isShowing () const noexcept |