3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/ProgressHandler.h"
7#include "mc/world/actor/player/LoadingState.h"
18 ::ll::TypedStorage<8, 64, ::std::function<void()>> mOnTick;
19 ::ll::TypedStorage<8, 64, ::std::function<void()>> mOnCancel;
20 ::ll::TypedStorage<8, 32, ::std::string> mTitleText;
25 RealmsLoadingLevelProgressHandler();
30 virtual ~RealmsLoadingLevelProgressHandler() =
default;
32 virtual void onStart(::MinecraftScreenModel& minecraftScreenModel) ;
34 virtual void tick(::MinecraftScreenModel& minecraftScreenModel) ;
36 virtual void onCancel(::MinecraftScreenModel& minecraftScreenModel) ;
38 virtual void onExit(::MinecraftScreenModel& minecraftScreenModel) ;
40 virtual ::LoadingState getLoadingState(::MinecraftScreenModel& minecraftScreenModel)
const ;
42 virtual ::std::string getProgressMessage(::MinecraftScreenModel& minecraftScreenModel)
const ;
44 virtual ::std::string getTitleText() const ;
46 virtual ::std::
string getName() const ;
52 MCNAPI explicit RealmsLoadingLevelProgressHandler(::
std::
string const& title);
58 MCNAPI
void*
$ctor(::
std::
string const& title);
Definition MinecraftScreenModel.h:5
Definition ProgressHandler.h:5
Definition RealmsLoadingLevelProgressHandler.h:5
MCAPI void $onStart(::MinecraftScreenModel &minecraftScreenModel)
MCAPI void $tick(::MinecraftScreenModel &minecraftScreenModel)
MCAPI void $onExit(::MinecraftScreenModel &minecraftScreenModel)
MCAPI::std::string $getName() const
MCAPI::LoadingState $getLoadingState(::MinecraftScreenModel &minecraftScreenModel) const
MCAPI void * $ctor(::std::string const &title)
MCAPI::std::string $getTitleText() const
MCAPI void $onCancel(::MinecraftScreenModel &minecraftScreenModel)
static MCAPI void ** $vftable()
MCAPI::std::string $getProgressMessage(::MinecraftScreenModel &minecraftScreenModel) const