3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/SceneType.h"
8#include "mc/client/gui/screens/controllers/MainMenuScreenController.h"
14namespace Json {
class Value; }
20 using ApplyPacksCallback = ::std::function<void(::MinecraftScreenModel&)>;
25 ::ll::TypedStorage<8, 32, ::std::string> mScreenName;
26 ::ll::TypedStorage<8, 64, ::std::function<void(::MinecraftScreenModel&)>> mApplyPacks;
27 ::ll::TypedStorage<1, 1, bool> mHasTicked;
32 ResourcePackApplyingScreenController();
37 virtual ::ui::DirtyFlag tick() ;
39 virtual void addStaticScreenVars(::Json::Value& globalVars) ;
41 virtual ::ui::SceneType getSceneType() const ;
43 virtual ~ResourcePackApplyingScreenController() = default;
49 MCAPI ResourcePackApplyingScreenController(
50 ::std::shared_ptr<::MainMenuScreenModel> model,
51 ::std::
string const& screenName,
52 ::std::function<
void(::MinecraftScreenModel&)> applyPacks
60 ::std::shared_ptr<::MainMenuScreenModel> model,
61 ::std::
string const& screenName,
62 ::std::function<
void(::MinecraftScreenModel&)> applyPacks
69 MCAPI ::ui::DirtyFlag $tick();
71 MCAPI
void $addStaticScreenVars(::Json::Value& globalVars);
73 MCFOLD ::ui::SceneType $getSceneType() const;
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5
Definition MinecraftScreenModel.h:5
Definition ResourcePackApplyingScreenController.h:5
static MCAPI void ** $vftableForScreenController()
static MCAPI void ** $vftableForEnableNonOwnerReferences()