LeviLamina
Loading...
Searching...
No Matches
ToastManager Class Reference
Inheritance diagram for ToastManager:

Public Member Functions

ToastManageroperator= (ToastManager const &)
 ToastManager (ToastManager const &)
virtual void pushToast (::ToastMessage &&message)
virtual bool isEditorModeEnabled () const
virtual void onActiveResourcePacksChanged (::ResourcePackManager &)
MCAPI ToastManager (::IClientInstance &client, ::Option *enableDebugToastsOption, ::Bedrock::NotNullNonOwnerPtr<::ResourcePackManager > resourcePackManager)
MCAPI void _destroyToast ()
MCAPI::std::string _extractGameInviteDescription (::Json::Value const &propertyBag)
MCAPI::std::string _extractGameInviteHandle (::Json::Value const &propertyBag)
MCAPI void _handleInvite (bool parseJSON)
MCAPI void _invitationTelemetry (::Json::Value const &data, ::ToastMessageType type)
MCAPI bool _isToastAllowed (::ToastMessageType messageType) const
MCAPI void _playDefaultToastSound () const
MCAPI void _playMobileInviteTTS () const
MCAPI void _playRecipeUnlockingToastInSound () const
MCAPI void _playRecipeUnlockingToastOutSound () const
MCAPI void _reportClick ()
MCAPI void _sendRemoveToast ()
MCAPI void _sendShowToast (bool animateIn)
MCAPI void _sendTTS (bool useIndication, ::std::string const &message) const
MCAPI void _setInitialToastValues ()
MCAPI void _showNewToast ()
MCAPI float getCurrentToastDisplaySeconds () const
MCAPI::ui::ViewRequest handleToastButton ()
MCAPI void pushNotificationReceived (::PushNotificationMessage const &msg)
MCAPI void setCurrentToastsDuration (float timeInSec)
MCAPI void update ()
MCAPI void * $ctor (::IClientInstance &client, ::Option *enableDebugToastsOption, ::Bedrock::NotNullNonOwnerPtr<::ResourcePackManager > resourcePackManager)
MCAPI void $dtor ()
MCAPI void $pushToast (::ToastMessage &&message)
MCAPI bool $isEditorModeEnabled () const
MCAPI void $onActiveResourcePacksChanged (::ResourcePackManager &)
MCFOLD void * $ctor ()
MCFOLD void * $ctor (::Bedrock::EnableNonOwnerReferences const &)
MCAPI_C ::Bedrock::Threading::Async< void > queueForMainThread (::std::function< void()> &&callback)
MCAPI_C ::Bedrock::Threading::Async< void > queueForMainThreadAutoRequeue (::std::function< bool()> &&callback)
MCAPI void * $ctor (::std::string name)
MCAPI void * $ctor (::WorkerPool &, ::Scheduler &, ::std::string)
MCAPI ::Bedrock::Threading::Async< void > queue (::std::function< void()> &&callback)
MCAPI_C ::Bedrock::Threading::Async< void > queueAutoRequeue (::std::function< bool()> &&callback)
virtual bool onFullPackStackInvalid ()
virtual void onBaseGamePackDownloadComplete ()
virtual void onLanguageSubpacksChanged ()
virtual void onResourceManagerDestroyed (::ResourcePackManager &mgr)
virtual void onJsonResourcesChanged (::ResourcePackManager &)
MCAPI bool $onFullPackStackInvalid ()
MCAPI void $onBaseGamePackDownloadComplete ()
MCAPI void $onLanguageSubpacksChanged ()
MCAPI void $onResourceManagerDestroyed (::ResourcePackManager &mgr)
MCAPI void $onJsonResourcesChanged (::ResourcePackManager &)

Static Public Member Functions

static MCAPI void ** $vftableForIToastManager ()
static MCAPI void ** $vftableForResourcePackListener ()
static MCAPI void ** $vftableForEnableQueueForMainThread ()
static MCAPI void ** $vftable ()
static MCAPI void ** $vftable ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::IClientInstance & > mClient
::ll::TypedStorage< 4, 4, ::ToastState > mState
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::ResourcePackManager > > mResourcePackManager
::ll::TypedStorage< 8, 376, ::std::optional<::ToastMessage > > mCurrentMessage
::ll::TypedStorage< 8, 24, ::std::vector<::ToastMessage > > mQueuedToastMessages
::ll::TypedStorage< 8, 24, ::std::vector<::std::pair<::ToastChannel, ::IToastListener * > > > mListeners
::ll::TypedStorage< 8, 24, ::std::vector<::gsl::not_null<::IToastEventListener * > > > mEventListeners
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::RecipeToastDataViewer > > mIconsViewer
::ll::TypedStorage< 8, 64, ::std::function<::RectangleArea()> > mAreaBinding
::ll::TypedStorage< 8, 64, ::std::function< bool()> > mActiveBinding
::ll::TypedStorage< 1, 1, bool > mToastClicked
::ll::TypedStorage< 1, 1, bool > mToastsEnabled
::ll::TypedStorage< 1, 1, bool > mRefreshPendingInvites
::ll::TypedStorage< 1, 1, bool > mDestroyToast
::ll::TypedStorage< 8, 8, ::std::chrono::steady_clock::time_point > mToastStartTime
::ll::TypedStorage< 8, 8, ::std::chrono::steady_clock::time_point > mToastEndTime
::ll::TypedStorage< 4, 4, float > mDeltaTime
::ll::TypedStorage< 8, 8, ::std::chrono::steady_clock::time_point > mLastUpdateTimePoint
::ll::TypedStorage< 8, 8, ::Option * > mEnableDebugToastsOption
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::TaskGroup > > mQueueForThreadTaskGroup

Member Function Documentation

◆ pushToast()

virtual void ToastManager::pushToast ( ::ToastMessage && message)
virtual

Implements IToastManager.

◆ isEditorModeEnabled()

virtual bool ToastManager::isEditorModeEnabled ( ) const
virtual

Implements IToastManager.

◆ onActiveResourcePacksChanged()

virtual void ToastManager::onActiveResourcePacksChanged ( ::ResourcePackManager & )
virtual

Implements ResourcePackListener.

◆ $vftableForIToastManager()

MCAPI void ** ToastManager::$vftableForIToastManager ( )
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.

◆ $vftableForResourcePackListener()

MCAPI void ** ToastManager::$vftableForResourcePackListener ( )
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.

◆ $vftableForEnableQueueForMainThread()

MCAPI void ** ToastManager::$vftableForEnableQueueForMainThread ( )
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.

◆ $vftable() [1/3]

MCAPI void ** IToastManager::$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.

◆ $vftable() [2/3]

MCAPI void ** Bedrock::Threading::EnableQueueForMainThread::$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.

◆ $onFullPackStackInvalid()

MCAPI bool ResourcePackListener::$onFullPackStackInvalid ( )
inherited
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.

◆ $onBaseGamePackDownloadComplete()

MCAPI void ResourcePackListener::$onBaseGamePackDownloadComplete ( )
inherited
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.

◆ $onLanguageSubpacksChanged()

MCAPI void ResourcePackListener::$onLanguageSubpacksChanged ( )
inherited
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.

◆ $onResourceManagerDestroyed()

MCAPI void ResourcePackListener::$onResourceManagerDestroyed ( ::ResourcePackManager & mgr)
inherited
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.

◆ $onJsonResourcesChanged()

MCAPI void ResourcePackListener::$onJsonResourcesChanged ( ::ResourcePackManager & )
inherited
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() [3/3]

MCAPI void ** ResourcePackListener::$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 files: