LeviLamina
Loading...
Searching...
No Matches
ISceneStack.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/deps/core/utility/EnableNonOwnerReferences.h"
8
9// auto generated forward declare list
10// clang-format off
11class AbstractScene;
12namespace OreUI { struct RouteAction; }
13// clang-format on
14
16public:
17 // virtual functions
18 // NOLINTBEGIN
19 // vIndex: 0
20 virtual ~ISceneStack() /*override*/ = default;
21
22 // vIndex: 1
23 virtual void registerSceneChangeCallback(void*, ::std::function<void(::AbstractScene&)>) = 0;
24
25 // vIndex: 2
26 virtual void unregisterSceneChangeCallback(void*) = 0;
27
28 // vIndex: 3
29 virtual void registerPrePushSceneCallback(void*, ::std::function<void(::AbstractScene&)>) = 0;
30
31 // vIndex: 4
32 virtual void unregisterPrePushSceneCallback(void*) = 0;
33
34 // vIndex: 5
35 virtual void registerPushSceneCallback(
36 void*,
37 ::std::function<void(::std::shared_ptr<::AbstractScene>, ::std::optional<::OreUI::RouteAction>)>
38 ) = 0;
39
40 // vIndex: 6
41 virtual void unregisterPushSceneCallback(void*) = 0;
42
43 // vIndex: 7
44 virtual void registerPrePopSceneCallback(void*, ::std::function<void(::AbstractScene*)>) = 0;
45
46 // vIndex: 8
47 virtual void unregisterPrePopSceneCallback(void*) = 0;
48
49 // vIndex: 9
50 virtual void registerPopSceneCallback(
51 void*,
52 ::std::function<void(::std::shared_ptr<::AbstractScene>, bool, ::std::optional<::OreUI::RouteAction>)>
53 ) = 0;
54
55 // vIndex: 10
56 virtual void unregisterPopSceneCallback(void*) = 0;
57
58 // vIndex: 12
59 virtual ::AbstractScene* getTopScene() = 0;
60
61 // vIndex: 11
62 virtual ::AbstractScene const* getTopScene() const = 0;
63
64 // vIndex: 13
65 virtual ::std::shared_ptr<::AbstractScene> getTopSceneShared() const = 0;
66
67 // vIndex: 14
68 virtual void setBufferTextCharEvents(bool) = 0;
69
70 // vIndex: 15
71 virtual void schedulePopScreen(int) = 0;
72
73 // vIndex: 16
74 virtual void schedulePopScreenWithExpectedNames(::std::vector<::std::string> const&) = 0;
75
76 // vIndex: 17
77 virtual void popScreenWithRouteAction(::OreUI::RouteAction const&) = 0;
78
79 // vIndex: 18
80 virtual void pushScreenWithRouteAction(::std::shared_ptr<::AbstractScene>, ::OreUI::RouteAction const&) = 0;
81
82 // vIndex: 19
83 virtual void pushScreen(::std::shared_ptr<::AbstractScene>, bool) = 0;
84
85 // vIndex: 20
86 virtual bool popScreensBackTo(::ui::SceneType const) = 0;
87
88 // vIndex: 21
89 virtual void flushStack(bool, bool, bool, ::std::function<void(bool)>) = 0;
90
91 // vIndex: 22
92 virtual bool isEmpty() const = 0;
93 // NOLINTEND
94
95public:
96 // virtual function thunks
97 // NOLINTBEGIN
98
99 // NOLINTEND
100};
Definition AbstractScene.h:5
Definition EnableNonOwnerReferences.h:7
Definition ISceneStack.h:15
Definition RouteAction.h:7