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

Public Member Functions

ToastManager & operator= (ToastManager const &)
 ToastManager (ToastManager const &)
virtual void pushToast (::ToastMessage &&message)
virtual void pushPersistentToast (::ToastMessage &&message)
virtual void removePersistentToast ()
virtual bool isEditorModeEnabled () const
virtual void onActiveResourcePacksChanged (::ResourcePackManager &)
MCAPI ToastManager (::IClientInstance &client, ::Option *enableDebugToastsOption, ::Bedrock::NotNullNonOwnerPtr<::ResourcePackManager > resourcePackManager)
MCAPI void _destroyToast ()
MCAPI::std::string _getNewRecipesText () const
MCAPI void _handleInvite (bool parseJSON)
MCAPI bool _isToastAllowed (::ToastMessageType messageType) const
MCAPI void _removePendingPersistentToast ()
MCAPI void _reportClick ()
MCAPI void _sendShowToast (bool const animateIn)
MCAPI void _sendTTS (bool useIndication, ::std::string const &message) const
MCAPI void _setInitialToastValues ()
MCAPI void _showNewToast ()
MCAPI void _updateLongestRecipeText ()
MCAPI void _updatePersistentToast ()
MCAPI::std::string getMoreRecipesTitle () const
MCAPI::std::string getRecipeTranslationText ()
MCAPI::ui::ViewRequest handleToastButton ()
MCAPI void pushNotificationReceived (::PushNotificationMessage const &msg)
MCAPI void unregisterListener (::IToastListener *listener)
MCAPI void update ()
MCAPI void * $ctor (::IClientInstance &client, ::Option *enableDebugToastsOption, ::Bedrock::NotNullNonOwnerPtr<::ResourcePackManager > resourcePackManager)
MCAPI void $pushToast (::ToastMessage &&message)
MCAPI void $pushPersistentToast (::ToastMessage &&message)
MCAPI void $removePersistentToast ()
MCAPI bool $isEditorModeEnabled () const
MCAPI void $onActiveResourcePacksChanged (::ResourcePackManager &)
MCFOLD void $dtor ()
MCAPI void * $ctor (::std::string name)
MCAPI void * $ctor (::WorkerPool &workerPool, ::Scheduler &scheduler, ::std::string name)
MCAPI ::Bedrock::Threading::Async< void > queue (::std::function< void()> &&callback)
MCAPI void $dtor ()
virtual bool onFullPackStackInvalid ()
virtual void onBaseGamePackDownloadComplete ()
virtual void onLanguageSubpacksChanged ()
virtual void onResourceManagerDestroyed (::ResourcePackManager &)
virtual void onJsonResourcesChanged (::ResourcePackManager &resourcePackManager)

Static Public Member Functions

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, 384, ::std::optional<::ToastMessage > > mCurrentMessage
::ll::TypedStorage< 8, 24, ::std::vector<::ToastMessage > > mQueuedToastMessages
::ll::TypedStorage< 8, 384, ::std::optional<::ToastMessage > > mPersistentToastMessage
::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< 1, 1, bool > mToastClicked
::ll::TypedStorage< 1, 1, bool > mToastsEnabled
::ll::TypedStorage< 1, 1, bool > mRefreshPendingInvites
::ll::TypedStorage< 1, 1, bool > mDestroyToast
::ll::TypedStorage< 1, 1, bool > mMatchmakingJoiningToastExpired
::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
::ll::TypedStorage< 8, 32, ::std::string > mLongestRecipeText
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlock > mControlBlock
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::TaskGroup > > mQueueForThreadTaskGroup

Constructor & Destructor Documentation

◆ ToastManager()

MCAPI ToastManager::ToastManager ( ::IClientInstance & client,
::Option * enableDebugToastsOption,
::Bedrock::NotNullNonOwnerPtr<::ResourcePackManager > resourcePackManager )
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

◆ pushToast()

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

Implements IToastManager.

◆ pushPersistentToast()

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

Implements IToastManager.

◆ removePersistentToast()

virtual void ToastManager::removePersistentToast ( )
virtual

Implements IToastManager.

◆ isEditorModeEnabled()

virtual bool ToastManager::isEditorModeEnabled ( ) const
virtual

Implements IToastManager.

◆ onActiveResourcePacksChanged()

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

Implements ResourcePackListener.

◆ _destroyToast()

MCAPI void ToastManager::_destroyToast ( )
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.

◆ _getNewRecipesText()

MCAPI::std::string ToastManager::_getNewRecipesText ( ) const
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.

◆ _handleInvite()

MCAPI void ToastManager::_handleInvite ( bool parseJSON)
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.

◆ _isToastAllowed()

MCAPI bool ToastManager::_isToastAllowed ( ::ToastMessageType messageType) const
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.

◆ _removePendingPersistentToast()

MCAPI void ToastManager::_removePendingPersistentToast ( )
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.

◆ _reportClick()

MCAPI void ToastManager::_reportClick ( )
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.

◆ _sendShowToast()

MCAPI void ToastManager::_sendShowToast ( bool const animateIn)
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.

◆ _sendTTS()

MCAPI void ToastManager::_sendTTS ( bool useIndication,
::std::string const & message ) const
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.

◆ _setInitialToastValues()

MCAPI void ToastManager::_setInitialToastValues ( )
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.

◆ _showNewToast()

MCAPI void ToastManager::_showNewToast ( )
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.

◆ _updateLongestRecipeText()

MCAPI void ToastManager::_updateLongestRecipeText ( )
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.

◆ _updatePersistentToast()

MCAPI void ToastManager::_updatePersistentToast ( )
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.

◆ getMoreRecipesTitle()

MCAPI::std::string ToastManager::getMoreRecipesTitle ( ) const
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.

◆ getRecipeTranslationText()

MCAPI::std::string ToastManager::getRecipeTranslationText ( )
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.

◆ handleToastButton()

MCAPI::ui::ViewRequest ToastManager::handleToastButton ( )
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.

◆ pushNotificationReceived()

MCAPI void ToastManager::pushNotificationReceived ( ::PushNotificationMessage const & msg)
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.

◆ unregisterListener()

MCAPI void ToastManager::unregisterListener ( ::IToastListener * listener)
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.

◆ update()

MCAPI void ToastManager::update ( )
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() [1/3]

MCAPI void * ToastManager::$ctor ( ::IClientInstance & client,
::Option * enableDebugToastsOption,
::Bedrock::NotNullNonOwnerPtr<::ResourcePackManager > resourcePackManager )
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.

◆ $pushToast()

MCAPI void ToastManager::$pushToast ( ::ToastMessage && message)
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.

◆ $pushPersistentToast()

MCAPI void ToastManager::$pushPersistentToast ( ::ToastMessage && message)
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.

◆ $removePersistentToast()

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

◆ $isEditorModeEnabled()

MCAPI bool ToastManager::$isEditorModeEnabled ( ) const
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.

◆ $onActiveResourcePacksChanged()

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

◆ $ctor() [2/3]

MCAPI void * Bedrock::Threading::EnableQueueForMainThread::$ctor ( ::std::string name)
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.

◆ $ctor() [3/3]

MCAPI void * Bedrock::Threading::EnableQueueForThread::$ctor ( ::WorkerPool & workerPool,
::Scheduler & scheduler,
::std::string name )
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() [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.

◆ queue()

MCAPI ::Bedrock::Threading::Async< void > Bedrock::Threading::EnableQueueForThread::queue ( ::std::function< void()> && callback)
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.

◆ $dtor()

MCAPI void Bedrock::Threading::EnableQueueForThread::$dtor ( )
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: