LeviLamina
Loading...
Searching...
No Matches
RealmsSlotSettings.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/network/realms/RealmId.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 Realms { class RealmsList; }
17namespace ui { class ScreenTechStackSelector; }
18// clang-format on
19
20namespace OreUI::EntryPoints {
21
22class RealmsSlotSettings : public ::OreUI::IEntryPoint {
23public:
24 // RealmsSlotSettings inner types declare
25 // clang-format off
26 struct PathComponents;
27 // clang-format on
28
29 // RealmsSlotSettings inner types define
30 struct PathComponents {
31 public:
32 // member variables
33 // NOLINTBEGIN
34 ::ll::TypedStorage<8, 8, ::Realms::RealmId> realmId;
35 ::ll::TypedStorage<8, 32, ::std::string> tab;
36 // NOLINTEND
37
38 public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI ~PathComponents();
42 // NOLINTEND
43
44 public:
45 // destructor thunk
46 // NOLINTBEGIN
47 MCFOLD void $dtor();
48 // NOLINTEND
49 };
50
51public:
52 // member variables
53 // NOLINTBEGIN
54 ::ll::TypedStorage<8, 64, ::std::function<::std::shared_ptr<::Realms::RealmsList>()>> mGetRealmsList;
55 ::ll::TypedStorage<8, 8, ::ui::ScreenTechStackSelector const&> mScreenTechStackSelector;
56 // NOLINTEND
57
58public:
59 // prevent constructor by default
60 RealmsSlotSettings& operator=(RealmsSlotSettings const&);
61 RealmsSlotSettings(RealmsSlotSettings const&);
62 RealmsSlotSettings();
63
64public:
65 // virtual functions
66 // NOLINTBEGIN
67 virtual bool shouldAddToConfiguration() const /*override*/;
68
69 virtual void addToMatcher(
70 ::OreUI::RouteMatcher& routeMatcher,
71 ::SceneFactory& sceneFactory,
72 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> const& sceneStack
73 ) const /*override*/;
74 // NOLINTEND
75
76public:
77 // member functions
78 // NOLINTBEGIN
79 MCAPI RealmsSlotSettings(
80 ::std::function<::std::shared_ptr<::Realms::RealmsList>()> getRealmsList,
81 ::ui::ScreenTechStackSelector const& screenTechStackSelector
82 );
83 // NOLINTEND
84
85public:
86 // static functions
87 // NOLINTBEGIN
88 MCAPI static ::std::optional<::OreUI::EntryPoints::RealmsSlotSettings::PathComponents>
89 _parsePath(::std::string const& path);
90
91 MCAPI static ::std::string
92 composePackActivationRoute(::Realms::RealmId realmId, ::std::string const& initialPackId);
93
94 MCAPI static ::std::string composeRoute(::Realms::RealmId realmId);
95 // NOLINTEND
96
97public:
98 // static variables
99 // NOLINTBEGIN
100 MCAPI static ::std::add_lvalue_reference_t<char const[]> BASE_SCREEN_ID();
101
102 MCAPI static ::OreUI::EntryPoints::RouteFlags const& FLAGS();
103
104 MCAPI static ::std::add_lvalue_reference_t<char const[]> LEGACY_ROUTE();
105
106 MCAPI static ::std::add_lvalue_reference_t<char const[]> ROUTE();
107 // NOLINTEND
108
109public:
110 // constructor thunks
111 // NOLINTBEGIN
112 MCAPI void* $ctor(
113 ::std::function<::std::shared_ptr<::Realms::RealmsList>()> getRealmsList,
114 ::ui::ScreenTechStackSelector const& screenTechStackSelector
115 );
116 // NOLINTEND
117
118public:
119 // virtual function thunks
120 // NOLINTBEGIN
121 MCAPI bool $shouldAddToConfiguration() const;
122
123 MCAPI void $addToMatcher(
124 ::OreUI::RouteMatcher& routeMatcher,
125 ::SceneFactory& sceneFactory,
126 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> const& sceneStack
127 ) const;
128 // NOLINTEND
129
130public:
131 // vftables
132 // NOLINTBEGIN
133 MCNAPI static void** $vftable();
134 // NOLINTEND
135};
136
137} // namespace OreUI::EntryPoints
Definition ISceneStack.h:5
Definition RealmsSlotSettings.h:7
Definition RouteMatcher.h:7
Definition RealmsList.h:7
Definition SceneFactory.h:5
Definition ScreenTechStackSelector.h:7