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 PacketSenderGetter = ::std::function<::PacketSender&()>

Public Member Functions

MCAPI void sendClosedPacket (uint formId, ::DataDrivenScreenClosedReason closeReason)
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, 56, ::std::optional<::GameplayUI::DataDrivenScreenInfo > > mCurrentScreen
::ll::TypedStorage< 8, 64, ::std::function<::PacketSender &()> > mPacketSenderGetter

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: