3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/EmptyProgressHandler.h"
7#include "mc/world/actor/player/LoadingState.h"
17 enum class Type :
int {
25 ::ll::TypedStorage<8, 64, ::std::function<float()>> mOnTick;
26 ::ll::TypedStorage<8, 64, ::std::function<::LoadingState()>> mGetLoadingStateCallback;
27 ::ll::TypedStorage<4, 4, float> mProgress;
28 ::ll::TypedStorage<4, 4, ::WorldProcessProgressHandler::Type> mWorldProcessType;
29 ::ll::TypedStorage<1, 1, bool> mExitOnComplete;
30 ::ll::TypedStorage<1, 1, bool> mExitRequested;
35 WorldProcessProgressHandler();
40 virtual ~WorldProcessProgressHandler() =
default;
42 virtual void tick(::MinecraftScreenModel& minecraftScreenModel) ;
44 virtual ::LoadingState getLoadingState(::MinecraftScreenModel& minecraftScreenModel)
const ;
46 virtual float getLoadingProgress(::MinecraftScreenModel& minecraftScreenModel)
const ;
48 virtual ::std::string getProgressMessage(::MinecraftScreenModel& minecraftScreenModel)
const ;
50 virtual ::std::string getTTSProgressMessage() const ;
52 virtual ::std::
string getTitleText() const ;
54 virtual ::std::
string getName() const ;
60 MCNAPI WorldProcessProgressHandler(
61 ::WorldProcessProgressHandler::Type worldProcessType,
62 ::
std::function<
float()> tickCallback,
63 ::
std::function<::LoadingState()> getLoadingStateCallback,
72 ::WorldProcessProgressHandler::Type worldProcessType,
73 ::
std::function<
float()> tickCallback,
74 ::
std::function<::LoadingState()> getLoadingStateCallback,
Definition EmptyProgressHandler.h:5
Definition MinecraftScreenModel.h:5
Definition WorldProcessProgressHandler.h:5
MCAPI::std::string $getProgressMessage(::MinecraftScreenModel &minecraftScreenModel) const
MCAPI::std::string $getName() const
MCAPI void $tick(::MinecraftScreenModel &minecraftScreenModel)
MCAPI::LoadingState $getLoadingState(::MinecraftScreenModel &minecraftScreenModel) const
MCAPI::std::string $getTitleText() const
MCAPI float $getLoadingProgress(::MinecraftScreenModel &minecraftScreenModel) const
MCAPI::std::string $getTTSProgressMessage() const
MCAPI void * $ctor(::WorldProcessProgressHandler::Type worldProcessType, ::std::function< float()> tickCallback, ::std::function<::LoadingState()> getLoadingStateCallback, bool exitOnComplete)