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

DataDrivenScreenAPI & operator= (DataDrivenScreenAPI const &)
 DataDrivenScreenAPI (DataDrivenScreenAPI const &)
MCAPI DataDrivenScreenAPI (::PacketSender &packetSender)
MCAPI void clientSideCloseDataDrivenScreens ()
MCAPI void closeAllDataDrivenScreens ()
MCAPI void closeDataDrivenScreen (uint formId)
MCAPI void showDataDrivenScreen (::std::string const &screenId, uint formId, ::std::optional< uint > dataInstanceId)
MCAPI::Bedrock::PubSub::Subscription subscribeToOnClientSideClose (::std::function< void()> &&onClientSideCloseCallback)
MCAPI::Bedrock::PubSub::Subscription subscribeToOnServerShowDataDrivenScreen (::std::function< void(::std::optional<::std::string >, ::std::optional< uint >)> &&onServerShowDataDrivenScreenCallback)
MCAPI void * $ctor (::PacketSender &packetSender)

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)

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