LeviLamina
Loading...
Searching...
No Matches
ScreenController.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/GameEventNotification.h"
8#include "mc/client/gui/SceneType.h"
9#include "mc/client/gui/ViewRequest.h"
10#include "mc/client/gui/screens/interfaces/IScreenController.h"
11#include "mc/deps/input/enums/ButtonState.h"
12
13// auto generated forward declare list
14// clang-format off
15class BlockPos;
17class UIPropertyBag;
18struct ActorUniqueID;
24struct ScreenEvent;
29namespace Json { class Value; }
30// clang-format on
31
33public:
34 // ScreenController inner types declare
35 // clang-format off
37 // clang-format on
38
39 // ScreenController inner types define
40 enum class PreviousButtonStateRequirement : int {
41 Any = 0,
42 Down = 1,
43 Up = 2,
44 NotDown = 3,
45 NotUp = 4,
46 };
47
49
50public:
51 // member variables
52 // NOLINTBEGIN
83 // NOLINTEND
84
85public:
86 // prevent constructor by default
87 ScreenController& operator=(ScreenController const&);
90
91public:
92 // virtual functions
93 // NOLINTBEGIN
94 // vIndex: 0
95 virtual ~ScreenController() /*override*/ = default;
96
97 // vIndex: 2
98 virtual ::ui::DirtyFlag tick() /*override*/;
99
100 // vIndex: 1
101 virtual void preFrameTick() /*override*/;
102
103 // vIndex: 3
104 virtual ::ui::ViewRequest handleEvent(::ScreenEvent&) /*override*/;
105
106 // vIndex: 4
107 virtual ::std::optional<::std::string> getRoute() const /*override*/;
108
109 // vIndex: 5
110 virtual void setScreenState(::std::vector<::std::pair<::std::string_view, ::std::string_view>> const&) /*override*/;
111
112 // vIndex: 6
113 virtual void onOpen();
114
115 // vIndex: 7
116 virtual void queueTitleNarration();
117
118 // vIndex: 8
119 virtual void onTerminate();
120
121 // vIndex: 9
122 virtual void onInit();
123
124 // vIndex: 10
125 virtual void onDelete();
126
127 // vIndex: 11
128 virtual bool canExit();
129
130 // vIndex: 12
131 virtual ::ui::ViewRequest tryExit();
132
133 // vIndex: 13
134 virtual void onCreation();
135
136 // vIndex: 14
137 virtual void onReload();
138
139 // vIndex: 15
140 virtual void onLeave();
141
142 // vIndex: 16
143 virtual void leaveScreen(::std::string const&);
144
145 // vIndex: 17
146 virtual ::ui::DirtyFlag handleGameEventNotification(::ui::GameEventNotification);
147
148 // vIndex: 19
149 virtual bool
150 bind(::std::string const&, uint, int, ::std::string const&, uint, ::std::string const&, ::UIPropertyBag&);
151
152 // vIndex: 18
153 virtual bool bind(::std::string const&, uint, ::std::string const&, ::UIPropertyBag&);
154
155 // vIndex: 20
156 virtual void handleLicenseChanged();
157
158 // vIndex: 21
159 virtual void onDictationEvent(::std::string const&);
160
161 // vIndex: 22
162 virtual void setAssociatedBlockPos(::BlockPos const&);
163
164 // vIndex: 23
165 virtual void setAssociatedEntityUniqueID(::ActorUniqueID const);
166
167 // vIndex: 24
168 virtual void setSuspendInput(bool);
169
170 // vIndex: 25
171 virtual void setSuspendDirectionalInput(bool);
172
173 // vIndex: 26
174 virtual void setViewCommand(::ScreenViewCommand const&);
175
176 // vIndex: 27
177 virtual void addStaticScreenVars(::Json::Value&);
178
179 // vIndex: 28
180 virtual ::std::string getAdditionalScreenInfo() const;
181
182 // vIndex: 29
183 virtual ::std::string getTelemetryOverride() const;
184
185 // vIndex: 30
186 virtual void addEventProperties(::std::unordered_map<::std::string, ::std::string>&) const;
187
188 // vIndex: 31
189 virtual ::ui::SceneType getSceneType() const;
190
191 // vIndex: 32
192 virtual int getScreenVersion() const;
193
194 // vIndex: 33
195 virtual uint getSceneId() const;
196
197 // vIndex: 34
198 virtual bool screenHandlesGamepadMenuButton() const;
199
200 // vIndex: 35
201 virtual ::ScreenControllerProxy* getProxy();
202
203 // vIndex: 36
204 virtual void onEntered();
205
206 // vIndex: 37
207 virtual void onScreenPushedAbove();
208
209 // vIndex: 38
210 virtual void onEntering();
211
212 // vIndex: 39
213 virtual bool _doesScreenHaveExitBehavior() const;
214
215 // vIndex: 40
216 virtual bool _isContainerScreen() const;
217 // NOLINTEND
218
219public:
220 // destructor thunk
221 // NOLINTBEGIN
222
223 // NOLINTEND
224
225public:
226 // virtual function thunks
227 // NOLINTBEGIN
228
229 // NOLINTEND
230};
Definition BlockPos.h:18
Definition IScreenController.h:14
Definition ScreenControllerProxy.h:10
Definition ScreenController.h:32
Definition UIPropertyBag.h:14
STL namespace.
Definition ActorUniqueID.h:5
Definition FocusMoveScreenEventData.h:5
Definition HoloInputModeChangeScreenEventData.h:8
Definition InputModeChangeScreenEventData.h:8
Definition PointerHeldScreenEventData.h:5
Definition RawInputScreenEventData.h:9
Definition ScreenController.h:48
Definition ScreenEvent.h:14
Definition ScreenViewCommand.h:5
Definition TextEditScreenEventData.h:13
Definition TextEditSelectedStateChangeEventData.h:5
Definition ToggleChangeEventData.h:10
Definition Alias.h:14