3#include "mc/_HeaderOutputPredefine.h"
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"
20namespace OreUI::EntryPoints {
22class PlayScreen :
public ::OreUI::IEntryPoint {
26 ::ll::TypedStorage<8, 8, ::ui::ScreenTechStackSelector const&> mScreenTechStackSelector;
31 PlayScreen& operator=(PlayScreen
const&);
32 PlayScreen(PlayScreen
const&);
38 virtual bool shouldAddToConfiguration() const ;
40 virtual
void addToMatcher(
41 ::OreUI::RouteMatcher& routeMatcher,
42 ::SceneFactory& sceneFactory,
43 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> const& sceneStack
50 MCAPI explicit PlayScreen(::ui::ScreenTechStackSelector const& screenTechStackSelector);
56 MCAPI static ::std::
string
57 composeRoute(::PlayScreenDefaultTab tab,
bool isEditorMode, ::std::
string const& dirtyLevelId);
59 MCAPI static ::std::optional<::std::
string>
60 getEditorPlayScreenRouteIfEnabled(
bool isEditorMode, ::PlayScreenDefaultTab tab);
62 MCAPI static ::std::
string
63 getLastPlayScreenTab(::std::vector<::OreUI::RouterLocation> const& routerHistory,
bool isEditorMode);
65 MCAPI static ::PlayScreenDefaultTab resolveEditorTabFromRoute(::std::
string const& route);
71 MCAPI static ::std::add_lvalue_reference_t<
char const[]> EDITOR_ROUTE();
73 MCAPI static ::OreUI::EntryPoints::RouteFlags const& FLAGS();
75 MCAPI static ::std::add_lvalue_reference_t<
char const[]> LEGACY_ROUTE();
77 MCAPI static ::std::add_lvalue_reference_t<
char const[]> ROUTE();
83 MCAPI
void* $ctor(::ui::ScreenTechStackSelector const& screenTechStackSelector);
89 MCAPI
bool $shouldAddToConfiguration() const;
91 MCAPI
void $addToMatcher(
92 ::OreUI::RouteMatcher& routeMatcher,
93 ::SceneFactory& sceneFactory,
94 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> const& sceneStack
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