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/network/realms/RealmId.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 Realms { class RealmsList; }
16namespace Realms { struct World; }
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
75 virtual ~RealmsSlotSettings() /*override*/ = default;
76 // NOLINTEND
77
78public:
79 // static functions
80 // NOLINTBEGIN
81 MCAPI static ::std::optional<::OreUI::EntryPoints::RealmsSlotSettings::PathComponents>
82 _parsePath(::std::string const& path);
83
84 MCAPI static ::std::string composeRoute(::Realms::World const& world);
85 // NOLINTEND
86
87public:
88 // static variables
89 // NOLINTBEGIN
90 MCAPI static ::std::add_lvalue_reference_t<char const[]> BASE_SCREEN_ID();
91
92 MCAPI static ::std::add_lvalue_reference_t<char const[]> LEGACY_ROUTE();
93
94 MCAPI static ::std::add_lvalue_reference_t<char const[]> ROUTE();
95 // NOLINTEND
96
97public:
98 // virtual function thunks
99 // NOLINTBEGIN
100 MCAPI bool $shouldAddToConfiguration() const;
101
102 MCAPI void $addToMatcher(
103 ::OreUI::RouteMatcher& routeMatcher,
104 ::SceneFactory& sceneFactory,
105 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> const& sceneStack
106 ) const;
107 // NOLINTEND
108
109public:
110 // vftables
111 // NOLINTBEGIN
112 MCNAPI static void** $vftable();
113 // NOLINTEND
114};
115
116} // 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
Definition World.h:7