LeviLamina
Loading...
Searching...
No Matches
SceneStack.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/screens/interfaces/ISceneStack.h"
7
8// auto generated forward declare list
9// clang-format off
10class AbstractScene;
11namespace OreUI { struct RouteAction; }
12// clang-format on
13
14class SceneStack : public ::ISceneStack {
15public:
16 // SceneStack inner types declare
17 // clang-format off
18 class FlushScreenEvent;
20 class PopScreenEvent;
21 class PushScreenEvent;
22 struct SceneElement;
23 class SceneStackEvent;
24 // clang-format on
25
26 // SceneStack inner types define
28 public:
29 // SceneStackEvent inner types define
30 enum class EventType : int {
31 Push = 0,
32 Pop = 1,
33 PopRangeOfType = 2,
34 Flush = 3,
35 };
36
37 public:
38 // member variables
39 // NOLINTBEGIN
41 // NOLINTEND
42
43 public:
44 // prevent constructor by default
45 SceneStackEvent& operator=(SceneStackEvent const&);
48
49 public:
50 // virtual functions
51 // NOLINTBEGIN
52 // vIndex: 0
53 virtual ~SceneStackEvent() = default;
54 // NOLINTEND
55
56 public:
57 // destructor thunk
58 // NOLINTBEGIN
59
60 // NOLINTEND
61 };
62
64 public:
65 // member variables
66 // NOLINTBEGIN
69 // NOLINTEND
70
71 public:
72 // prevent constructor by default
73 PushScreenEvent& operator=(PushScreenEvent const&);
76
77 public:
78 // virtual functions
79 // NOLINTBEGIN
80 // vIndex: 0
81 virtual ~PushScreenEvent() /*override*/ = default;
82 // NOLINTEND
83
84 public:
85 // destructor thunk
86 // NOLINTBEGIN
87
88 // NOLINTEND
89 };
90
92 public:
93 // member variables
94 // NOLINTBEGIN
98 // NOLINTEND
99
100 public:
101 // prevent constructor by default
102 PopScreenEvent& operator=(PopScreenEvent const&);
105
106 public:
107 // virtual functions
108 // NOLINTBEGIN
109 // vIndex: 0
110 virtual ~PopScreenEvent() /*override*/ = default;
111 // NOLINTEND
112
113 public:
114 // destructor thunk
115 // NOLINTBEGIN
116
117 // NOLINTEND
118 };
119
121 public:
122 // member variables
123 // NOLINTBEGIN
127 // NOLINTEND
128
129 public:
130 // prevent constructor by default
134
135 public:
136 // virtual functions
137 // NOLINTBEGIN
138 // vIndex: 0
139 virtual ~PopRangeOfTypeScreenEvent() /*override*/ = default;
140 // NOLINTEND
141
142 public:
143 // destructor thunk
144 // NOLINTBEGIN
145
146 // NOLINTEND
147 };
148
150 public:
151 // member variables
152 // NOLINTBEGIN
155 // NOLINTEND
156
157 public:
158 // prevent constructor by default
159 FlushScreenEvent& operator=(FlushScreenEvent const&);
162
163 public:
164 // virtual functions
165 // NOLINTBEGIN
166 // vIndex: 0
167 virtual ~FlushScreenEvent() /*override*/ = default;
168 // NOLINTEND
169
170 public:
171 // destructor thunk
172 // NOLINTBEGIN
173
174 // NOLINTEND
175 };
176
178 public:
179 // member variables
180 // NOLINTBEGIN
183 // NOLINTEND
184
185 public:
186 // prevent constructor by default
187 SceneElement& operator=(SceneElement const&);
189 SceneElement();
190
191 public:
192 // virtual functions
193 // NOLINTBEGIN
194 // vIndex: 0
195 virtual ~SceneElement() = default;
196 // NOLINTEND
197
198 public:
199 // destructor thunk
200 // NOLINTBEGIN
201
202 // NOLINTEND
203 };
204
205public:
206 // member variables
207 // NOLINTBEGIN
235 // NOLINTEND
236
237public:
238 // prevent constructor by default
239 SceneStack& operator=(SceneStack const&);
240 SceneStack(SceneStack const&);
241 SceneStack();
242
243public:
244 // virtual functions
245 // NOLINTBEGIN
246 // vIndex: 0
247 virtual ~SceneStack() /*override*/ = default;
248
249 // vIndex: 1
250 virtual void registerSceneChangeCallback(void*, ::std::function<void(::AbstractScene&)>) /*override*/;
251
252 // vIndex: 2
253 virtual void unregisterSceneChangeCallback(void*) /*override*/;
254
255 // vIndex: 3
256 virtual void registerPrePushSceneCallback(void*, ::std::function<void(::AbstractScene&)>) /*override*/;
257
258 // vIndex: 4
259 virtual void unregisterPrePushSceneCallback(void*) /*override*/;
260
261 // vIndex: 5
262 virtual void
263 registerPushSceneCallback(void*, ::std::function<void(::std::shared_ptr<::AbstractScene>, ::std::optional<::OreUI::RouteAction>)>) /*override*/
264 ;
265
266 // vIndex: 6
267 virtual void unregisterPushSceneCallback(void*) /*override*/;
268
269 // vIndex: 7
270 virtual void registerPrePopSceneCallback(void*, ::std::function<void(::AbstractScene*)>) /*override*/;
271
272 // vIndex: 8
273 virtual void unregisterPrePopSceneCallback(void*) /*override*/;
274
275 // vIndex: 9
276 virtual void
277 registerPopSceneCallback(void*, ::std::function<void(::std::shared_ptr<::AbstractScene>, bool, ::std::optional<::OreUI::RouteAction>)>) /*override*/
278 ;
279
280 // vIndex: 10
281 virtual void unregisterPopSceneCallback(void*) /*override*/;
282
283 // vIndex: 18
284 virtual void
285 pushScreenWithRouteAction(::std::shared_ptr<::AbstractScene>, ::OreUI::RouteAction const&) /*override*/;
286
287 // vIndex: 17
288 virtual void popScreenWithRouteAction(::OreUI::RouteAction const&) /*override*/;
289
290 // vIndex: 19
291 virtual void pushScreen(::std::shared_ptr<::AbstractScene>, bool) /*override*/;
292
293 // vIndex: 15
294 virtual void schedulePopScreen(int) /*override*/;
295
296 // vIndex: 16
297 virtual void schedulePopScreenWithExpectedNames(::std::vector<::std::string> const&) /*override*/;
298
299 // vIndex: 20
300 virtual void flushStack(bool, bool, bool) /*override*/;
301
302 // vIndex: 21
303 virtual bool isEmpty() const /*override*/;
304
305 // vIndex: 12
306 virtual ::AbstractScene* getTopScene() /*override*/;
307
308 // vIndex: 11
309 virtual ::AbstractScene const* getTopScene() const /*override*/;
310
311 // vIndex: 13
312 virtual ::std::shared_ptr<::AbstractScene> getTopSceneShared() const /*override*/;
313
314 // vIndex: 14
315 virtual void setBufferTextCharEvents(bool) /*override*/;
316 // NOLINTEND
317
318public:
319 // destructor thunk
320 // NOLINTBEGIN
321
322 // NOLINTEND
323
324public:
325 // virtual function thunks
326 // NOLINTBEGIN
327
328 // NOLINTEND
329};
Definition AbstractScene.h:5
Definition ISceneStack.h:14
Definition SceneStack.h:149
Definition SceneStack.h:120
Definition SceneStack.h:91
Definition SceneStack.h:63
Definition SceneStack.h:27
Definition SceneStack.h:14
STL namespace.
Definition RouteAction.h:7
Definition SceneStack.h:177
Definition Alias.h:14