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

Public Member Functions

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
virtual::std::string getName () const
MCAPI FileCopyProgressHandler (::std::string const &title, ::ResourceLocation const &srcPath, bool srcZip, ::Core::Path const &dstPath, bool zipDest, ::std::vector<::std::string > const &excludeDirs, ::std::function< void(bool)> callback)
MCAPI void * $ctor (::std::string const &title, ::ResourceLocation const &srcPath, bool srcZip, ::Core::Path const &dstPath, bool zipDest, ::std::vector<::std::string > const &excludeDirs, ::std::function< void(bool)> callback)
MCAPI void $dtor ()
MCAPI void $onStart (::MinecraftScreenModel &minecraftScreenModel)
MCAPI void $tick (::MinecraftScreenModel &minecraftScreenModel)
MCFOLD void $onCancel (::MinecraftScreenModel &minecraftScreenModel)
MCFOLD void $onExit (::MinecraftScreenModel &minecraftScreenModel)
MCAPI::LoadingState $getLoadingState (::MinecraftScreenModel &minecraftScreenModel) const
MCFOLD::std::string $getProgressMessage (::MinecraftScreenModel &minecraftScreenModel) const
MCFOLD::std::string $getTitleText () const
MCAPI::std::string $getName () const
virtual void onGameEventNotification (::MinecraftScreenModel &minecraftScreenModel, ::ui::GameEventNotification const &notification)
virtual void onRetry (::MinecraftScreenModel &minecraftScreenModel)
virtual float getLoadingProgress (::MinecraftScreenModel &minecraftScreenModel) const
virtual void addEventProperties (::std::unordered_map<::std::string, ::std::string > &eventProperties) const
virtual::std::string getTTSProgressMessage () const
virtual::ProgressAnimation showLoadingBar () const
MCFOLD void $onGameEventNotification (::MinecraftScreenModel &minecraftScreenModel, ::ui::GameEventNotification const &notification)
MCFOLD void $onRetry (::MinecraftScreenModel &minecraftScreenModel)
MCAPI float $getLoadingProgress (::MinecraftScreenModel &minecraftScreenModel) const
MCFOLD void $addEventProperties (::std::unordered_map<::std::string, ::std::string > &eventProperties) const
MCAPI::std::string $getTTSProgressMessage () const
MCFOLD::ProgressAnimation $showLoadingBar () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 32, ::std::string > mTitle
::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > mDestPath
::ll::TypedStorage< 8, 16, ::std::shared_ptr< bool > > mExistenceTracker
::ll::TypedStorage< 8, 64, ::std::function< void(bool)> > mCallback
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::TaskGroup > > mIOTaskGroup
::ll::TypedStorage< 8, 56, ::ResourceLocationmSrcLocation
::ll::TypedStorage< 1, 1, bool > mSrcZip
::ll::TypedStorage< 1, 1, bool > mDestZip
::ll::TypedStorage< 1, 1, bool > mCopyComplete
::ll::TypedStorage< 1, 1, bool > mCopySuccess
::ll::TypedStorage< 8, 24, ::std::vector<::std::string > > mExcludeDirs
::ll::TypedStorage< 4, 4, ::ProgressHandlerType const > mType
::ll::TypedStorage< 4, 4, ::ProgressAnimation > mProgressAnimation

Member Function Documentation

◆ onStart()

virtual void FileCopyProgressHandler::onStart ( ::MinecraftScreenModel & minecraftScreenModel)
virtual

Implements ProgressHandler.

◆ tick()

virtual void FileCopyProgressHandler::tick ( ::MinecraftScreenModel & minecraftScreenModel)
virtual

Implements ProgressHandler.

◆ onCancel()

virtual void FileCopyProgressHandler::onCancel ( ::MinecraftScreenModel & minecraftScreenModel)
virtual

Implements ProgressHandler.

◆ onExit()

virtual void FileCopyProgressHandler::onExit ( ::MinecraftScreenModel & minecraftScreenModel)
virtual

Implements ProgressHandler.

◆ getLoadingState()

virtual::LoadingState FileCopyProgressHandler::getLoadingState ( ::MinecraftScreenModel & minecraftScreenModel) const
virtual

Implements ProgressHandler.

◆ getProgressMessage()

virtual::std::string FileCopyProgressHandler::getProgressMessage ( ::MinecraftScreenModel & minecraftScreenModel) const
virtual

Implements ProgressHandler.

◆ getName()

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

Implements ProgressHandler.

◆ $vftable()

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

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