|
|
using | Callback = std::function<void(Player&, ModalFormResult, FormCancelReason)> |
| |
|
using | RawFormCallback = std::function<void(Player&, std::optional<std::string>, FormCancelReason)> |
| |
|
|
LLNDAPI | ModalForm (std::string title, std::string content, std::string upperButton, std::string lowerButton) |
| |
|
LLAPI ModalForm & | setTitle (std::string const &title) |
| |
|
LLAPI ModalForm & | setContent (std::string const &content) |
| |
|
LLAPI ModalForm & | setUpperButton (std::string const &upperButton) |
| |
|
LLAPI ModalForm & | setLowerButton (std::string const &lowerButton) |
| |
|
LLAPI bool | sendTo (Player &player, Callback callback={}) |
| |
|
LLAPI bool | sendUpdate (Player &player, Callback callback={}) |
| |
|
|
static LLAPI bool | sendRawTo (Player &player, std::string const &formData, RawFormCallback callback={}) |
| |
|
static LLAPI bool | sendRawUpdate (Player &player, std::string const &formData, RawFormCallback callback={}) |
| |
The documentation for this class was generated from the following file: