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/SceneType.h"
7#include "mc/client/gui/screens/interfaces/ISceneStack.h"
8
9// auto generated forward declare list
10// clang-format off
11class AbstractScene;
12namespace OreUI { struct RouteAction; }
13// clang-format on
14
15class SceneStack : public ::ISceneStack {
16public:
17 // SceneStack inner types declare
18 // clang-format off
19 class FlushScreenEvent;
21 class PopScreenEvent;
22 class PushScreenEvent;
23 struct SceneElement;
24 class SceneStackEvent;
25 // clang-format on
26
27 // SceneStack inner types define
29 public:
30 // SceneStackEvent inner types define
31 enum class EventType : int {
32 Push = 0,
33 Pop = 1,
34 PopRangeOfType = 2,
35 Flush = 3,
36 };
37
38 public:
39 // member variables
40 // NOLINTBEGIN
42 // NOLINTEND
43
44 public:
45 // prevent constructor by default
46 SceneStackEvent& operator=(SceneStackEvent const&);
49
50 public:
51 // virtual functions
52 // NOLINTBEGIN
53 // vIndex: 0
54 virtual ~SceneStackEvent() = default;
55 // NOLINTEND
56 };
57
59 public:
60 // member variables
61 // NOLINTBEGIN
64 // NOLINTEND
65
66 public:
67 // prevent constructor by default
68 PushScreenEvent& operator=(PushScreenEvent const&);
71
72 public:
73 // virtual functions
74 // NOLINTBEGIN
75 // vIndex: 0
76 virtual ~PushScreenEvent() /*override*/ = default;
77 // NOLINTEND
78 };
79
81 public:
82 // member variables
83 // NOLINTBEGIN
87 // NOLINTEND
88
89 public:
90 // prevent constructor by default
91 PopScreenEvent& operator=(PopScreenEvent const&);
94
95 public:
96 // virtual functions
97 // NOLINTBEGIN
98 // vIndex: 0
99 virtual ~PopScreenEvent() /*override*/ = default;
100 // NOLINTEND
101 };
102
104 public:
105 // member variables
106 // NOLINTBEGIN
110 // NOLINTEND
111
112 public:
113 // prevent constructor by default
117
118 public:
119 // virtual functions
120 // NOLINTBEGIN
121 // vIndex: 0
122 virtual ~PopRangeOfTypeScreenEvent() /*override*/ = default;
123 // NOLINTEND
124 };
125
127 public:
128 // member variables
129 // NOLINTBEGIN
133 // NOLINTEND
134
135 public:
136 // prevent constructor by default
137 FlushScreenEvent& operator=(FlushScreenEvent const&);
140
141 public:
142 // virtual functions
143 // NOLINTBEGIN
144 // vIndex: 0
145 virtual ~FlushScreenEvent() /*override*/ = default;
146 // NOLINTEND
147 };
148
150 public:
151 // member variables
152 // NOLINTBEGIN
155 // NOLINTEND
156
157 public:
158 // prevent constructor by default
159 SceneElement& operator=(SceneElement const&);
161 SceneElement();
162
163 public:
164 // virtual functions
165 // NOLINTBEGIN
166 // vIndex: 0
167 virtual ~SceneElement() = default;
168 // NOLINTEND
169 };
170
171public:
172 // member variables
173 // NOLINTBEGIN
201 // NOLINTEND
202
203public:
204 // prevent constructor by default
205 SceneStack& operator=(SceneStack const&);
206 SceneStack(SceneStack const&);
207 SceneStack();
208
209public:
210 // virtual functions
211 // NOLINTBEGIN
212 // vIndex: 0
213 virtual ~SceneStack() /*override*/ = default;
214
215 // vIndex: 1
216 virtual void registerSceneChangeCallback(void*, ::std::function<void(::AbstractScene&)>) /*override*/;
217
218 // vIndex: 2
219 virtual void unregisterSceneChangeCallback(void*) /*override*/;
220
221 // vIndex: 3
222 virtual void registerPrePushSceneCallback(void*, ::std::function<void(::AbstractScene&)>) /*override*/;
223
224 // vIndex: 4
225 virtual void unregisterPrePushSceneCallback(void*) /*override*/;
226
227 // vIndex: 5
228 virtual void registerPushSceneCallback(
229 void*,
230 ::std::function<void(::std::shared_ptr<::AbstractScene>, ::std::optional<::OreUI::RouteAction>)>
231 ) /*override*/;
232
233 // vIndex: 6
234 virtual void unregisterPushSceneCallback(void*) /*override*/;
235
236 // vIndex: 7
237 virtual void registerPrePopSceneCallback(void*, ::std::function<void(::AbstractScene*)>) /*override*/;
238
239 // vIndex: 8
240 virtual void unregisterPrePopSceneCallback(void*) /*override*/;
241
242 // vIndex: 9
243 virtual void registerPopSceneCallback(
244 void*,
245 ::std::function<void(::std::shared_ptr<::AbstractScene>, bool, ::std::optional<::OreUI::RouteAction>)>
246 ) /*override*/;
247
248 // vIndex: 10
249 virtual void unregisterPopSceneCallback(void*) /*override*/;
250
251 // vIndex: 18
252 virtual void
253 pushScreenWithRouteAction(::std::shared_ptr<::AbstractScene>, ::OreUI::RouteAction const&) /*override*/;
254
255 // vIndex: 17
256 virtual void popScreenWithRouteAction(::OreUI::RouteAction const&) /*override*/;
257
258 // vIndex: 19
259 virtual void pushScreen(::std::shared_ptr<::AbstractScene>, bool) /*override*/;
260
261 // vIndex: 15
262 virtual void schedulePopScreen(int) /*override*/;
263
264 // vIndex: 16
265 virtual void schedulePopScreenWithExpectedNames(::std::vector<::std::string> const&) /*override*/;
266
267 // vIndex: 21
268 virtual void flushStack(bool, bool, bool, ::std::function<void(bool)>) /*override*/;
269
270 // vIndex: 20
271 virtual bool popScreensBackTo(::ui::SceneType const) /*override*/;
272
273 // vIndex: 22
274 virtual bool isEmpty() const /*override*/;
275
276 // vIndex: 12
277 virtual ::AbstractScene* getTopScene() /*override*/;
278
279 // vIndex: 11
280 virtual ::AbstractScene const* getTopScene() const /*override*/;
281
282 // vIndex: 13
283 virtual ::std::shared_ptr<::AbstractScene> getTopSceneShared() const /*override*/;
284
285 // vIndex: 14
286 virtual void setBufferTextCharEvents(bool) /*override*/;
287 // NOLINTEND
288
289public:
290 // virtual function thunks
291 // NOLINTBEGIN
292
293 // NOLINTEND
294};
Definition AbstractScene.h:5
Definition ISceneStack.h:15
Definition SceneStack.h:126
Definition SceneStack.h:103
Definition SceneStack.h:80
Definition SceneStack.h:58
Definition SceneStack.h:28
Definition SceneStack.h:15
STL namespace.
Definition RouteAction.h:7
Definition SceneStack.h:149
Definition Alias.h:14