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/screens/models/PlayScreenDefaultTab.h"
8#include "mc/deps/core/utility/NonOwnerPointer.h"
9
10// auto generated forward declare list
11// clang-format off
12class ISceneStack;
13class SceneFactory;
14namespace OreUI { class RouteMatcher; }
15namespace OreUI { class RouterLocation; }
16namespace ui { class ScreenTechStackSelector; }
17// clang-format on
18
19namespace OreUI::EntryPoints {
20
21class PlayScreen : public ::OreUI::IEntryPoint {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 8, ::ui::ScreenTechStackSelector const&> mScreenTechStackSelector;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 PlayScreen& operator=(PlayScreen const&);
31 PlayScreen(PlayScreen const&);
32 PlayScreen();
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual bool shouldAddToConfiguration() const /*override*/;
38
39 virtual void addToMatcher(
40 ::OreUI::RouteMatcher& routeMatcher,
41 ::SceneFactory& sceneFactory,
42 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> const& sceneStack
43 ) const /*override*/;
44
45 virtual ~PlayScreen() /*override*/ = default;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCAPI bool _isOreUIPlayScreenEnabled() const;
52 // NOLINTEND
53
54public:
55 // static functions
56 // NOLINTBEGIN
57 MCAPI static ::std::string
58 composeRoute(::PlayScreenDefaultTab tab, bool isEditorMode, ::std::string const& dirtyLevelId);
59
60 MCAPI static ::std::string getLastPlayScreenTab(::std::vector<::OreUI::RouterLocation> const& routerHistory);
61 // NOLINTEND
62
63public:
64 // static variables
65 // NOLINTBEGIN
66 MCAPI static ::std::add_lvalue_reference_t<char const[]> BASE_SCREEN_ID();
67
68 MCAPI static ::std::add_lvalue_reference_t<char const[]> EDITOR_ROUTE();
69
70 MCAPI static ::std::add_lvalue_reference_t<char const[]> LEGACY_ROUTE();
71
72 MCAPI static ::std::add_lvalue_reference_t<char const[]> ROUTE();
73 // NOLINTEND
74
75public:
76 // virtual function thunks
77 // NOLINTBEGIN
78 MCAPI bool $shouldAddToConfiguration() const;
79
80 MCAPI void $addToMatcher(
81 ::OreUI::RouteMatcher& routeMatcher,
82 ::SceneFactory& sceneFactory,
83 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> const& sceneStack
84 ) const;
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCNAPI static void** $vftable();
91 // NOLINTEND
92};
93
94} // 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