LeviLamina
Loading...
Searching...
No Matches
PlayScreen.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/oreui/routing/IEntryPoint.h"
7#include "mc/client/gui/oreui/routing/RouteFlags.h"
8#include "mc/client/gui/screens/models/PlayScreenDefaultTab.h"
9#include "mc/deps/core/utility/NonOwnerPointer.h"
10
11// auto generated forward declare list
12// clang-format off
13class ISceneStack;
14class SceneFactory;
15namespace OreUI { class RouteMatcher; }
16namespace OreUI { class RouterLocation; }
17namespace ui { class ScreenTechStackSelector; }
18// clang-format on
19
20namespace OreUI::EntryPoints {
21
22class PlayScreen : public ::OreUI::IEntryPoint {
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 8, ::ui::ScreenTechStackSelector const&> mScreenTechStackSelector;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 PlayScreen& operator=(PlayScreen const&);
32 PlayScreen(PlayScreen const&);
33 PlayScreen();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual bool shouldAddToConfiguration() const /*override*/;
39
40 virtual void addToMatcher(
41 ::OreUI::RouteMatcher& routeMatcher,
42 ::SceneFactory& sceneFactory,
43 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> const& sceneStack
44 ) const /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCAPI explicit PlayScreen(::ui::ScreenTechStackSelector const& screenTechStackSelector);
51 // NOLINTEND
52
53public:
54 // static functions
55 // NOLINTBEGIN
56 MCAPI static ::std::string
57 composeRoute(::PlayScreenDefaultTab tab, bool isEditorMode, ::std::string const& dirtyLevelId);
58
59 MCAPI static ::std::optional<::std::string>
60 getEditorPlayScreenRouteIfEnabled(bool isEditorMode, ::PlayScreenDefaultTab tab);
61
62 MCAPI static ::std::string
63 getLastPlayScreenTab(::std::vector<::OreUI::RouterLocation> const& routerHistory, bool isEditorMode);
64
65 MCAPI static ::PlayScreenDefaultTab resolveEditorTabFromRoute(::std::string const& route);
66 // NOLINTEND
67
68public:
69 // static variables
70 // NOLINTBEGIN
71 MCAPI static ::std::add_lvalue_reference_t<char const[]> EDITOR_ROUTE();
72
73 MCAPI static ::OreUI::EntryPoints::RouteFlags const& FLAGS();
74
75 MCAPI static ::std::add_lvalue_reference_t<char const[]> LEGACY_ROUTE();
76
77 MCAPI static ::std::add_lvalue_reference_t<char const[]> ROUTE();
78 // NOLINTEND
79
80public:
81 // constructor thunks
82 // NOLINTBEGIN
83 MCAPI void* $ctor(::ui::ScreenTechStackSelector const& screenTechStackSelector);
84 // NOLINTEND
85
86public:
87 // virtual function thunks
88 // NOLINTBEGIN
89 MCAPI bool $shouldAddToConfiguration() const;
90
91 MCAPI void $addToMatcher(
92 ::OreUI::RouteMatcher& routeMatcher,
93 ::SceneFactory& sceneFactory,
94 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> const& sceneStack
95 ) const;
96 // NOLINTEND
97
98public:
99 // vftables
100 // NOLINTBEGIN
101 MCNAPI static void** $vftable();
102 // NOLINTEND
103};
104
105} // namespace OreUI::EntryPoints
Definition ISceneStack.h:5
Definition PlayScreen.h:7
static MCAPI void ** $vftable()
Definition RouteMatcher.h:7
Definition RouterLocation.h:7
Definition SceneFactory.h:5
Definition ScreenTechStackSelector.h:7