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

Public Member Functions

virtual void addEventProperties (::std::unordered_map<::std::string, ::std::string > &container) const
virtual::std::string getName () const
MCAPI LibraryProgressHandler (::std::string title, ::std::function< void(bool &)> tickCallback, ::std::function< void()> cancelCallback, ::std::vector<::std::pair<::std::string, ::std::string > > properties)
MCAPI void * $ctor (::std::string title, ::std::function< void(bool &)> tickCallback, ::std::function< void()> cancelCallback, ::std::vector<::std::pair<::std::string, ::std::string > > properties)
MCAPI void $addEventProperties (::std::unordered_map<::std::string, ::std::string > &container) const
MCAPI::std::string $getName () const
virtual void onStart (::MinecraftScreenModel &minecraftScreenModel)
virtual void tick (::MinecraftScreenModel &minecraftScreenModel)
virtual void onCancel (::MinecraftScreenModel &minecraftScreenModel)
virtual void onExit (::MinecraftScreenModel &minecraftScreenModel)
virtual::LoadingState getLoadingState (::MinecraftScreenModel &minecraftScreenModel) const
virtual::std::string getProgressMessage (::MinecraftScreenModel &minecraftScreenModel) const
virtual::std::string getTitleText () const
MCAPI void * $ctor (::std::string const &title, ::std::function< void(bool &)> tickCallback, ::std::function< void()> cancelCallback)
MCAPI void $onStart (::MinecraftScreenModel &minecraftScreenModel)
MCAPI void $tick (::MinecraftScreenModel &minecraftScreenModel)
MCAPI void $onCancel (::MinecraftScreenModel &minecraftScreenModel)
MCAPI void $onExit (::MinecraftScreenModel &minecraftScreenModel)
MCAPI::LoadingState $getLoadingState (::MinecraftScreenModel &minecraftScreenModel) const
MCAPI::std::string $getProgressMessage (::MinecraftScreenModel &minecraftScreenModel) const
MCAPI::std::string $getTitleText () const
virtual void onGameEventNotification (::MinecraftScreenModel &minecraftScreenModel, ::ui::GameEventNotification const &notification)
virtual void onComplete (::MinecraftScreenModel &minecraftScreenModel)
virtual void onRetry (::MinecraftScreenModel &minecraftScreenModel)
virtual float getLoadingProgress (::MinecraftScreenModel &minecraftScreenModel) const
virtual::std::string getTTSProgressMessage () const
virtual::ProgressAnimation showLoadingBar () const
MCFOLD void $onGameEventNotification (::MinecraftScreenModel &minecraftScreenModel, ::ui::GameEventNotification const &notification)
MCFOLD void $onComplete (::MinecraftScreenModel &minecraftScreenModel)
MCFOLD void $onRetry (::MinecraftScreenModel &minecraftScreenModel)
MCAPI float $getLoadingProgress (::MinecraftScreenModel &minecraftScreenModel) const
MCAPI::std::string $getTTSProgressMessage () const
MCFOLD::ProgressAnimation $showLoadingBar () const

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::std::pair<::std::string, ::std::string > > > mProperties
::ll::TypedStorage< 8, 64, ::std::function< void(bool &)> > mOnTick
::ll::TypedStorage< 8, 64, ::std::function< void()> > mOnCancel
::ll::TypedStorage< 8, 32, ::std::string > mTitleText
::ll::TypedStorage< 1, 1, bool > mDone
::ll::TypedStorage< 4, 4, ::ProgressHandlerType const > mType
::ll::TypedStorage< 4, 4, ::ProgressAnimation > mProgressAnimation

Constructor & Destructor Documentation

◆ LibraryProgressHandler()

MCAPI LibraryProgressHandler::LibraryProgressHandler ( ::std::string title,
::std::function< void(bool &)> tickCallback,
::std::function< void()> cancelCallback,
::std::vector<::std::pair<::std::string, ::std::string > > properties )
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

◆ addEventProperties()

virtual void LibraryProgressHandler::addEventProperties ( ::std::unordered_map<::std::string, ::std::string > & container) const
virtual

Reimplemented from ProgressHandler.

◆ getName()

virtual::std::string LibraryProgressHandler::getName ( ) const
virtual

Implements ProgressHandler.

◆ $ctor() [1/2]

MCAPI void * LibraryProgressHandler::$ctor ( ::std::string title,
::std::function< void(bool &)> tickCallback,
::std::function< void()> cancelCallback,
::std::vector<::std::pair<::std::string, ::std::string > > properties )
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.

◆ $addEventProperties()

MCAPI void LibraryProgressHandler::$addEventProperties ( ::std::unordered_map<::std::string, ::std::string > & container) 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.

◆ $getName()

MCAPI::std::string LibraryProgressHandler::$getName ( ) 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.

◆ onStart()

virtual void StoreProgressHandler::onStart ( ::MinecraftScreenModel & minecraftScreenModel)
virtualinherited

Implements ProgressHandler.

◆ tick()

virtual void StoreProgressHandler::tick ( ::MinecraftScreenModel & minecraftScreenModel)
virtualinherited

Implements ProgressHandler.

◆ onCancel()

virtual void StoreProgressHandler::onCancel ( ::MinecraftScreenModel & minecraftScreenModel)
virtualinherited

Implements ProgressHandler.

◆ onExit()

virtual void StoreProgressHandler::onExit ( ::MinecraftScreenModel & minecraftScreenModel)
virtualinherited

Implements ProgressHandler.

◆ getLoadingState()

virtual::LoadingState StoreProgressHandler::getLoadingState ( ::MinecraftScreenModel & minecraftScreenModel) const
virtualinherited

Implements ProgressHandler.

◆ getProgressMessage()

virtual::std::string StoreProgressHandler::getProgressMessage ( ::MinecraftScreenModel & minecraftScreenModel) const
virtualinherited

Implements ProgressHandler.

◆ $ctor() [2/2]

MCAPI void * StoreProgressHandler::$ctor ( ::std::string const & title,
::std::function< void(bool &)> tickCallback,
::std::function< void()> cancelCallback )
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.

◆ $onStart()

MCAPI void StoreProgressHandler::$onStart ( ::MinecraftScreenModel & minecraftScreenModel)
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.

◆ $tick()

MCAPI void StoreProgressHandler::$tick ( ::MinecraftScreenModel & minecraftScreenModel)
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.

◆ $onCancel()

MCAPI void StoreProgressHandler::$onCancel ( ::MinecraftScreenModel & minecraftScreenModel)
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.

◆ $onExit()

MCAPI void StoreProgressHandler::$onExit ( ::MinecraftScreenModel & minecraftScreenModel)
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.

◆ $getLoadingState()

MCAPI::LoadingState StoreProgressHandler::$getLoadingState ( ::MinecraftScreenModel & minecraftScreenModel) const
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.

◆ $getProgressMessage()

MCAPI::std::string StoreProgressHandler::$getProgressMessage ( ::MinecraftScreenModel & minecraftScreenModel) const
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.

◆ $getTitleText()

MCAPI::std::string StoreProgressHandler::$getTitleText ( ) const
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.

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