Skip to content
LeviMC
English
AutoLightDark
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 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCNAPI ResourcePackApplyingScreenController(
48 ::std::shared_ptr<::MainMenuScreenModel> model,
49 ::std::string const& screenName,
50 ::std::function<void(::MinecraftScreenModel&)> applyPacks
51 );
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCNAPI void* $ctor(
58 ::std::shared_ptr<::MainMenuScreenModel> model,
59 ::std::string const& screenName,
60 ::std::function<void(::MinecraftScreenModel&)> applyPacks
61 );
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCNAPI ::ui::DirtyFlag $tick();
68
69 MCNAPI void $addStaticScreenVars(::Json::Value& globalVars);
70
71 MCNAPI ::ui::SceneType $getSceneType() const;
72 // NOLINTEND
73};
Definition Value.h:16
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5
Definition MinecraftScreenModel.h:5
Definition ResourcePackApplyingScreenController.h:5
MCAPI::ui::SceneType $getSceneType() const
MCAPI void * $ctor(::std::shared_ptr<::MainMenuScreenModel > model, ::std::string const &screenName, ::std::function< void(::MinecraftScreenModel &)> applyPacks)
MCAPI void $addStaticScreenVars(::Json::Value &globalVars)
STL namespace.