API Reference
On this page
Public Types | |
| using | Result = Expected<ScreenCloseReason> |
| using | Callback = brstd::move_only_function<void(Result)> |
Public Member Functions | |
| LLNDAPI | ScreenSession (Player &player, std::string screenId) |
| LLNDAPI | ScreenSession (Player &player, std::string screenId, uint instanceId) |
| LLNDAPI | ScreenSession (Player &player, std::string screenId, NoInstanceIdTag) |
| LLAPI | ScreenSession (ScreenSession const &) |
| LLAPI ScreenSession & | operator= (ScreenSession const &) |
| LLAPI | ScreenSession (ScreenSession &&) noexcept |
| LLAPI ScreenSession & | operator= (ScreenSession &&) noexcept |
| LLNDAPI ScreenSessionState | getState () const noexcept |
| LLNDAPI std::optional< uint > | getInstanceId () const noexcept |
| LLNDAPI std::optional< uint > | getFormId () const noexcept |
| LLNDAPI Expected< Property > | createProperty (std::string datastore, std::string property, cereal::DynamicValue const &value) const |
| LLNDAPI Expected< Property > | createProperty (std::string datastore, std::string property, std::string const &json) const |
| LLNDAPI Expected< Property > | borrowProperty (std::string datastore, std::string property) const |
| LLNDAPI Expected | show (Callback callback={}) const |
| LLNDAPI coro::CoroTask< Result > | showAsync () const |
| LLNDAPI Expected | close () const |
| LLAPI | operator bool () const noexcept |