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()>>> mAsyncTaskWorkCallbackSharedPtr;
21 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mAsyncTaskGroup;
26 AsyncTaskProgressHandler();
31 virtual ~AsyncTaskProgressHandler() ;
33 virtual void onStart(::MinecraftScreenModel&) ;
35 virtual void tick(::MinecraftScreenModel&) ;
37 virtual void onCancel(::MinecraftScreenModel&) ;
39 virtual void onExit(::MinecraftScreenModel&) ;
41 virtual ::LoadingState getLoadingState(::MinecraftScreenModel&)
const ;
43 virtual ::std::string getProgressMessage(::MinecraftScreenModel&)
const ;
45 virtual ::std::string getTitleText() const ;
47 virtual ::std::
string getName() const ;
53 MCAPI AsyncTaskProgressHandler(::std::
string const& title, ::std::function<
void()> asyncTaskWorkCallback);
59 MCAPI
void* $ctor(::std::
string const& title, ::std::function<
void()> asyncTaskWorkCallback);
71 MCAPI
void $onStart(::MinecraftScreenModel&);
73 MCFOLD
void $tick(::MinecraftScreenModel&);
75 MCFOLD
void $onCancel(::MinecraftScreenModel&);
77 MCFOLD
void $onExit(::MinecraftScreenModel&);
79 MCFOLD ::LoadingState $getLoadingState(::MinecraftScreenModel&) const;
81 MCFOLD ::std::
string $getProgressMessage(::MinecraftScreenModel&) const;
83 MCFOLD ::std::
string $getTitleText() const;
85 MCAPI ::std::
string $getName() const;
Definition AsyncTaskProgressHandler.h:5
static MCAPI void ** $vftable()
Definition MinecraftScreenModel.h:5
Definition ProgressHandler.h:5
Definition TaskGroup.h:55