25 std::shared_ptr<Impl> impl;
28 using Result = Expected<MessageBoxResult>;
31 LLNDAPI MessageBox(
Player& player, TextValue title);
34 MessageBox(MessageBox
const&) =
delete;
35 MessageBox& operator=(MessageBox
const&) =
delete;
36 LLAPI MessageBox(MessageBox&&)
noexcept;
37 LLAPI MessageBox& operator=(MessageBox&&)
noexcept;
39 LLAPI MessageBox& body(TextValue value);
40 LLAPI MessageBox& button1(TextValue label, std::optional<TextValue> tooltip = {});
41 LLAPI MessageBox& button2(TextValue label, std::optional<TextValue> tooltip = {});
43 LLNDAPI Expected<> show(Callback callback = {});
46 LLNDAPI Expected<> close();
47 LLNDAPI
bool isShowing()
const noexcept;