LeviLamina
Loading...
Searching...
No Matches
ResourcePackApplyingScreenController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/SceneType.h"
8#include "mc/client/gui/screens/controllers/MainMenuScreenController.h"
9
10// auto generated forward declare list
11// clang-format off
14namespace Json { class Value; }
15// clang-format on
16
18public:
19 // ResourcePackApplyingScreenController inner types define
20 using ApplyPacksCallback = ::std::function<void(::MinecraftScreenModel&)>;
21
22public:
23 // member variables
24 // NOLINTBEGIN
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;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 ResourcePackApplyingScreenController();
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual ::ui::DirtyFlag tick() /*override*/;
38
39 virtual void addStaticScreenVars(::Json::Value& globalVars) /*override*/;
40
41 virtual ::ui::SceneType getSceneType() const /*override*/;
42
43 virtual ~ResourcePackApplyingScreenController() /*override*/ = default;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI ResourcePackApplyingScreenController(
50 ::std::shared_ptr<::MainMenuScreenModel> model,
51 ::std::string const& screenName,
52 ::std::function<void(::MinecraftScreenModel&)> applyPacks
53 );
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCAPI void* $ctor(
60 ::std::shared_ptr<::MainMenuScreenModel> model,
61 ::std::string const& screenName,
62 ::std::function<void(::MinecraftScreenModel&)> applyPacks
63 );
64 // NOLINTEND
65
66public:
67 // virtual function thunks
68 // NOLINTBEGIN
69 MCAPI ::ui::DirtyFlag $tick();
70
71 MCAPI void $addStaticScreenVars(::Json::Value& globalVars);
72
73 MCFOLD ::ui::SceneType $getSceneType() const;
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
80
81 MCNAPI static void** $vftableForScreenController();
82 // NOLINTEND
83};
Definition Value.h:16
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5
Definition MinecraftScreenModel.h:5
Definition ResourcePackApplyingScreenController.h:5
static MCAPI void ** $vftableForScreenController()
static MCAPI void ** $vftableForEnableNonOwnerReferences()