3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/ProgressHandler.h"
7#include "mc/world/actor/player/LoadingState.h"
19 ::ll::TypedStorage<8, 32, ::std::string> mTitle;
20 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::std::function<void()>>> mIOTaskWorkCallbackSharedPtr;
21 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mIOTaskGroup;
22 ::ll::TypedStorage<1, 1, bool> mComplete;
27 IOTaskProgressHandler();
32 virtual ~IOTaskProgressHandler() ;
34 virtual void onStart(::MinecraftScreenModel&) ;
36 virtual void tick(::MinecraftScreenModel&) ;
38 virtual void onCancel(::MinecraftScreenModel&) ;
40 virtual void onExit(::MinecraftScreenModel&) ;
42 virtual ::LoadingState getLoadingState(::MinecraftScreenModel&)
const ;
44 virtual ::std::string getProgressMessage(::MinecraftScreenModel&)
const ;
46 virtual ::std::string getTitleText() const ;
48 virtual ::std::
string getName() const ;
54 MCAPI IOTaskProgressHandler(::std::
string const& title, ::std::function<
void()> ioTaskWorkCallback);
60 MCAPI
void* $ctor(::std::
string const& title, ::std::function<
void()> ioTaskWorkCallback);
72 MCAPI
void $onStart(::MinecraftScreenModel&);
74 MCFOLD
void $tick(::MinecraftScreenModel&);
76 MCFOLD
void $onCancel(::MinecraftScreenModel&);
78 MCFOLD
void $onExit(::MinecraftScreenModel&);
80 MCAPI ::LoadingState $getLoadingState(::MinecraftScreenModel&) const;
82 MCFOLD ::std::
string $getProgressMessage(::MinecraftScreenModel&) const;
84 MCFOLD ::std::
string $getTitleText() const;
86 MCAPI ::std::
string $getName() const;
Definition IOTaskProgressHandler.h:5
static MCAPI void ** $vftable()
Definition MinecraftScreenModel.h:5
Definition ProgressHandler.h:5
Definition TaskGroup.h:55