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
58 public:
59 // member variables
60 // NOLINTBEGIN
63 // NOLINTEND
64
65 public:
66 // prevent constructor by default
67 PushScreenEvent& operator=(PushScreenEvent const&);
70
71 public:
72 // virtual functions
73 // NOLINTBEGIN
74 // vIndex: 0
75 virtual ~PushScreenEvent() /*override*/ = default;
76 // NOLINTEND
77 };
78
80 public:
81 // member variables
82 // NOLINTBEGIN
86 // NOLINTEND
87
88 public:
89 // prevent constructor by default
90 PopScreenEvent& operator=(PopScreenEvent const&);
93
94 public:
95 // virtual functions
96 // NOLINTBEGIN
97 // vIndex: 0
98 virtual ~PopScreenEvent() /*override*/ = default;
99 // NOLINTEND
100 };
101
103 public:
104 // member variables
105 // NOLINTBEGIN
109 // NOLINTEND
110
111 public:
112 // prevent constructor by default
116
117 public:
118 // virtual functions
119 // NOLINTBEGIN
120 // vIndex: 0
121 virtual ~PopRangeOfTypeScreenEvent() /*override*/ = default;
122 // NOLINTEND
123 };
124
126 public:
127 // member variables
128 // NOLINTBEGIN
131 // NOLINTEND
132
133 public:
134 // prevent constructor by default
135 FlushScreenEvent& operator=(FlushScreenEvent const&);
138
139 public:
140 // virtual functions
141 // NOLINTBEGIN
142 // vIndex: 0
143 virtual ~FlushScreenEvent() /*override*/ = default;
144 // NOLINTEND
145 };
146
148 public:
149 // member variables
150 // NOLINTBEGIN
153 // NOLINTEND
154
155 public:
156 // prevent constructor by default
157 SceneElement& operator=(SceneElement const&);
159 SceneElement();
160
161 public:
162 // virtual functions
163 // NOLINTBEGIN
164 // vIndex: 0
165 virtual ~SceneElement() = default;
166 // NOLINTEND
167 };
168
169public:
170 // member variables
171 // NOLINTBEGIN
199 // NOLINTEND
200
201public:
202 // prevent constructor by default
203 SceneStack& operator=(SceneStack const&);
204 SceneStack(SceneStack const&);
205 SceneStack();
206
207public:
208 // virtual functions
209 // NOLINTBEGIN
210 // vIndex: 0
211 virtual ~SceneStack() /*override*/ = default;
212
213 // vIndex: 1
214 virtual void registerSceneChangeCallback(void*, ::std::function<void(::AbstractScene&)>) /*override*/;
215
216 // vIndex: 2
217 virtual void unregisterSceneChangeCallback(void*) /*override*/;
218
219 // vIndex: 3
220 virtual void registerPrePushSceneCallback(void*, ::std::function<void(::AbstractScene&)>) /*override*/;
221
222 // vIndex: 4
223 virtual void unregisterPrePushSceneCallback(void*) /*override*/;
224
225 // vIndex: 5
226 virtual void registerPushSceneCallback(
227 void*,
228 ::std::function<void(::std::shared_ptr<::AbstractScene>, ::std::optional<::OreUI::RouteAction>)>
229 ) /*override*/;
230
231 // vIndex: 6
232 virtual void unregisterPushSceneCallback(void*) /*override*/;
233
234 // vIndex: 7
235 virtual void registerPrePopSceneCallback(void*, ::std::function<void(::AbstractScene*)>) /*override*/;
236
237 // vIndex: 8
238 virtual void unregisterPrePopSceneCallback(void*) /*override*/;
239
240 // vIndex: 9
241 virtual void registerPopSceneCallback(
242 void*,
243 ::std::function<void(::std::shared_ptr<::AbstractScene>, bool, ::std::optional<::OreUI::RouteAction>)>
244 ) /*override*/;
245
246 // vIndex: 10
247 virtual void unregisterPopSceneCallback(void*) /*override*/;
248
249 // vIndex: 18
250 virtual void
251 pushScreenWithRouteAction(::std::shared_ptr<::AbstractScene>, ::OreUI::RouteAction const&) /*override*/;
252
253 // vIndex: 17
254 virtual void popScreenWithRouteAction(::OreUI::RouteAction const&) /*override*/;
255
256 // vIndex: 19
257 virtual void pushScreen(::std::shared_ptr<::AbstractScene>, bool) /*override*/;
258
259 // vIndex: 15
260 virtual void schedulePopScreen(int) /*override*/;
261
262 // vIndex: 16
263 virtual void schedulePopScreenWithExpectedNames(::std::vector<::std::string> const&) /*override*/;
264
265 // vIndex: 20
266 virtual void flushStack(bool, bool, bool) /*override*/;
267
268 // vIndex: 21
269 virtual bool isEmpty() const /*override*/;
270
271 // vIndex: 12
272 virtual ::AbstractScene* getTopScene() /*override*/;
273
274 // vIndex: 11
275 virtual ::AbstractScene const* getTopScene() const /*override*/;
276
277 // vIndex: 13
278 virtual ::std::shared_ptr<::AbstractScene> getTopSceneShared() const /*override*/;
279
280 // vIndex: 14
281 virtual void setBufferTextCharEvents(bool) /*override*/;
282 // NOLINTEND
283
284public:
285 // virtual function thunks
286 // NOLINTBEGIN
287
288 // NOLINTEND
289};
Definition AbstractScene.h:5
Definition ISceneStack.h:14
Definition SceneStack.h:125
Definition SceneStack.h:102
Definition SceneStack.h:79
Definition SceneStack.h:57
Definition SceneStack.h:27
Definition SceneStack.h:14
STL namespace.
Definition RouteAction.h:7
Definition SceneStack.h:147
Definition Alias.h:14