Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
GameplayUI::DataDrivenScreenAPI Class Reference

Public Types

using ShowDataDrivenScreenCallbackSignature
using ShowDataDrivenScreenCallback = ::std::function<void(::std::optional<::std::string>, ::std::optional<uint>)>
using ScreenClosedCallbackSignature = void(uint, ::DataDrivenScreenClosedReason)
using ScreenClosedCallback = ::std::function<void(uint, ::DataDrivenScreenClosedReason)>
using ClientSideCloseCallbackSignature = void()
using ClientSideCloseCallback = ::std::function<void()>

Public Member Functions

MCAPI void clientSideCloseDataDrivenScreens ()
MCAPI void closeAllDataDrivenScreens ()
MCAPI void closeDataDrivenScreen (uint formId)
MCAPI void showDataDrivenScreen (::std::string const &screenId, uint formId, ::std::optional< uint > dataInstanceId)

Public Attributes

::ll::TypedStorage< 8, 48, ::Bedrock::PubSub::Publisher< void(::std::optional<::std::string >, ::std::optional< uint >), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0 > > mShowDataDrivenScreenPublisher
::ll::TypedStorage< 8, 48, ::Bedrock::PubSub::Publisher< void(), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0 > > mClientSideClosePublisher
::ll::TypedStorage< 8, 56, ::std::optional<::GameplayUI::DataDrivenScreenInfo > > mCurrentScreen
::ll::TypedStorage< 8, 8, ::PacketSender * > mPacketSender

Member Typedef Documentation

◆ ShowDataDrivenScreenCallbackSignature

using GameplayUI::DataDrivenScreenAPI::ShowDataDrivenScreenCallbackSignature
Initial value:
void(::std::optional<::std::string> const, ::std::optional<uint> const)

Member Function Documentation

◆ clientSideCloseDataDrivenScreens()

MCAPI void GameplayUI::DataDrivenScreenAPI::clientSideCloseDataDrivenScreens ( )
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.

◆ closeAllDataDrivenScreens()

MCAPI void GameplayUI::DataDrivenScreenAPI::closeAllDataDrivenScreens ( )
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.

◆ closeDataDrivenScreen()

MCAPI void GameplayUI::DataDrivenScreenAPI::closeDataDrivenScreen ( uint formId)
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.

◆ showDataDrivenScreen()

MCAPI void GameplayUI::DataDrivenScreenAPI::showDataDrivenScreen ( ::std::string const & screenId,
uint formId,
::std::optional< uint > dataInstanceId )
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 files: