3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/ProgressHandler.h"
7#include "mc/world/actor/player/LoadingState.h"
18 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mStartTime;
19 ::ll::TypedStorage<8, 8, ::std::chrono::duration<double, ::std::ratio<1, 1>>> mTotalWait;
20 ::ll::TypedStorage<8, 16, ::std::shared_ptr<bool>> mDialogStillAlive;
21 ::ll::TypedStorage<8, 8, double> mTimeProgress;
26 MakeWriteThrottleProgressHandler();
31 virtual ~MakeWriteThrottleProgressHandler() =
default;
33 virtual void onStart(::MinecraftScreenModel&) ;
35 virtual void tick(::MinecraftScreenModel&) ;
37 virtual void onComplete(::MinecraftScreenModel& minecraftScreenModel) ;
39 virtual void onCancel(::MinecraftScreenModel&) ;
41 virtual void onExit(::MinecraftScreenModel&) ;
43 virtual ::LoadingState getLoadingState(::MinecraftScreenModel&)
const ;
45 virtual float getLoadingProgress(::MinecraftScreenModel& minecraftScreenModel)
const ;
47 virtual ::std::string getProgressMessage(::MinecraftScreenModel&)
const ;
49 virtual ::std::string getTitleText() const ;
51 virtual ::std::
string getName() const ;
57 MCAPI MakeWriteThrottleProgressHandler(
58 ::std::chrono::duration<
double, ::std::ratio<1, 1>> totalWait,
59 ::std::shared_ptr<
bool> dialogStillAlive
67 $ctor(::std::chrono::duration<
double, ::std::ratio<1, 1>> totalWait, ::std::shared_ptr<
bool> dialogStillAlive);
73 MCFOLD
void $onStart(::MinecraftScreenModel&);
75 MCAPI
void $tick(::MinecraftScreenModel&);
77 MCFOLD
void $onComplete(::MinecraftScreenModel& minecraftScreenModel);
79 MCFOLD
void $onCancel(::MinecraftScreenModel&);
81 MCFOLD
void $onExit(::MinecraftScreenModel&);
83 MCAPI ::LoadingState $getLoadingState(::MinecraftScreenModel&) const;
85 MCAPI
float $getLoadingProgress(::MinecraftScreenModel& minecraftScreenModel) const;
87 MCAPI ::std::
string $getProgressMessage(::MinecraftScreenModel&) const;
89 MCAPI ::std::
string $getTitleText() const;
91 MCAPI ::std::
string $getName() const;
Definition MakeWriteThrottleProgressHandler.h:5
static MCAPI void ** $vftable()
Definition MinecraftScreenModel.h:5
Definition ProgressHandler.h:5