3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/ProgressHandler.h"
7#include "mc/world/actor/player/LoadingState.h"
18 ::ll::TypedStorage<1, 1, bool> mLocalServer;
19 ::ll::TypedStorage<8, 64, ::std::function<void()>> mCallback;
24 WorldGenerationProgressHandler();
29 virtual ~WorldGenerationProgressHandler() =
default;
31 virtual void onStart(::MinecraftScreenModel&) ;
33 virtual void tick(::MinecraftScreenModel&) ;
35 virtual void onCancel(::MinecraftScreenModel& minecraftScreenModel) ;
37 virtual void onExit(::MinecraftScreenModel& minecraftScreenModel) ;
39 virtual ::LoadingState getLoadingState(::MinecraftScreenModel& minecraftScreenModel)
const ;
41 virtual ::std::string getProgressMessage(::MinecraftScreenModel& minecraftScreenModel)
const ;
43 virtual ::std::string getTitleText() const ;
45 virtual ::std::
string getName() const ;
51 MCAPI WorldGenerationProgressHandler(
bool localServer, ::std::function<
void()> const& startCallback);
57 MCAPI
void* $ctor(
bool localServer, ::std::function<
void()> const& startCallback);
63 MCAPI
void $onStart(::MinecraftScreenModel&);
65 MCFOLD
void $tick(::MinecraftScreenModel&);
67 MCAPI
void $onCancel(::MinecraftScreenModel& minecraftScreenModel);
69 MCAPI
void $onExit(::MinecraftScreenModel& minecraftScreenModel);
71 MCAPI ::LoadingState $getLoadingState(::MinecraftScreenModel& minecraftScreenModel) const;
73 MCAPI ::std::
string $getProgressMessage(::MinecraftScreenModel& minecraftScreenModel) const;
75 MCFOLD ::std::
string $getTitleText() const;
77 MCAPI ::std::
string $getName() const;
Definition MinecraftScreenModel.h:5
Definition ProgressHandler.h:5
Definition WorldGenerationProgressHandler.h:5
static MCAPI void ** $vftable()