Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptFormPromiseTracker Class Reference
Inheritance diagram for ScriptFormPromiseTracker:

Classes

struct  FromRequest

Public Member Functions

ScriptFormPromiseTracker & operator= (ScriptFormPromiseTracker const &)
 ScriptFormPromiseTracker (ScriptFormPromiseTracker const &)
virtual::EventResult onEvent (::PlayerFormResponseEvent const &formResponseEvent)
virtual::EventResult onEvent (::PlayerFormCloseEvent const &formCloseEvent)
virtual::EventResult onEvent (::PlayerDataDrivenScreenClosedEvent const &formResponseEvent)
virtual::EventResult onLevelRemovedPlayer (::Player &player)
MCAPI ScriptFormPromiseTracker (::ServerScriptManagerEvents &events, ::LevelEventCoordinator &levelEventCoordinator, ::ServerPlayerEventCoordinator &playerEventCooordinator)
MCAPI void rejectAll ()
MCAPI void showDataDrivenScreenToPlayer (::Player const &player, ::std::string const &screenId, ::std::optional< uint > dataInstanceId, ::std::shared_ptr<::DataDrivenScreenPromise > promise)
MCAPI void * $ctor (::ServerScriptManagerEvents &events, ::LevelEventCoordinator &levelEventCoordinator, ::ServerPlayerEventCoordinator &playerEventCooordinator)
MCAPI::EventResult $onEvent (::PlayerFormResponseEvent const &formResponseEvent)
MCAPI::EventResult $onEvent (::PlayerFormCloseEvent const &formCloseEvent)
MCAPI::EventResult $onEvent (::PlayerDataDrivenScreenClosedEvent const &formResponseEvent)
MCAPI::EventResult $onLevelRemovedPlayer (::Player &player)
MCFOLD void $dtor ()

Static Public Member Functions

static MCAPI void _sendToClient (::Player const &player, ::Json::Value formJson, uint formId)
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mReloadSub
::ll::TypedStorage< 8, 8, ::LevelEventCoordinator & > mLevelEventCoordinator
::ll::TypedStorage< 8, 8, ::ServerPlayerEventCoordinator & > mPlayerEventCoordinator
::ll::TypedStorage< 4, 4, uint > mLastRequestId
::ll::TypedStorage< 8, 64, ::std::unordered_map< uint, ::ScriptFormPromiseTracker::FromRequest > > mFormRequests
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlock > mControlBlock

Constructor & Destructor Documentation

◆ ScriptFormPromiseTracker()

MCAPI ScriptFormPromiseTracker::ScriptFormPromiseTracker ( ::ServerScriptManagerEvents & events,
::LevelEventCoordinator & levelEventCoordinator,
::ServerPlayerEventCoordinator & playerEventCooordinator )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ rejectAll()

MCAPI void ScriptFormPromiseTracker::rejectAll ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _sendToClient()

MCAPI void ScriptFormPromiseTracker::_sendToClient ( ::Player const & player,
::Json::Value formJson,
uint formId )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * ScriptFormPromiseTracker::$ctor ( ::ServerScriptManagerEvents & events,
::LevelEventCoordinator & levelEventCoordinator,
::ServerPlayerEventCoordinator & playerEventCooordinator )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onEvent() [1/3]

MCAPI::EventResult ScriptFormPromiseTracker::$onEvent ( ::PlayerFormResponseEvent const & formResponseEvent)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onEvent() [2/3]

MCAPI::EventResult ScriptFormPromiseTracker::$onEvent ( ::PlayerFormCloseEvent const & formCloseEvent)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onEvent() [3/3]

MCAPI::EventResult ScriptFormPromiseTracker::$onEvent ( ::PlayerDataDrivenScreenClosedEvent const & formResponseEvent)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onLevelRemovedPlayer()

MCAPI::EventResult ScriptFormPromiseTracker::$onLevelRemovedPlayer ( ::Player & player)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

MCAPI void ** Bedrock::EnableNonOwnerReferences::$vftable ( )
staticinherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: