LeviLamina
Loading...
Searching...
No Matches
RealmsPackSettings.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/deps/core/utility/NonOwnerPointer.h"
8
9// auto generated forward declare list
10// clang-format off
11class ISceneStack;
12class SceneFactory;
13struct PackSettingsInfo;
14namespace OreUI { class RouteMatcher; }
15// clang-format on
16
17namespace OreUI::EntryPoints {
18
19class RealmsPackSettings : public ::OreUI::IEntryPoint {
20public:
21 // RealmsPackSettings inner types define
22 using GetPackSettingsCallback = ::std::function<::std::optional<::PackSettingsInfo>(::std::string const&)>;
23
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 64, ::std::function<::std::optional<::PackSettingsInfo>(::std::string const&)>>
28 mGetPackSettingsCallback;
29 // NOLINTEND
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual bool shouldAddToConfiguration() const /*override*/;
35
36 virtual void addToMatcher(
37 ::OreUI::RouteMatcher& routeMatcher,
38 ::SceneFactory& sceneFactory,
39 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> const& sceneStack
40 ) const /*override*/;
41
42 virtual ~RealmsPackSettings() /*override*/ = default;
43 // NOLINTEND
44
45public:
46 // static functions
47 // NOLINTBEGIN
48 MCAPI static ::std::string _getPackIdVersionFromRoute(::std::string const& path);
49 // NOLINTEND
50
51public:
52 // static variables
53 // NOLINTBEGIN
54 MCAPI static ::std::add_lvalue_reference_t<char const[]> BASE_SCREEN_ID();
55
56 MCAPI static ::std::add_lvalue_reference_t<char const[]> ROUTE();
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCFOLD bool $shouldAddToConfiguration() const;
63
64 MCAPI void $addToMatcher(
65 ::OreUI::RouteMatcher& routeMatcher,
66 ::SceneFactory& sceneFactory,
67 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> const& sceneStack
68 ) const;
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCNAPI static void** $vftable();
75 // NOLINTEND
76};
77
78} // namespace OreUI::EntryPoints
Definition ISceneStack.h:5
Definition RealmsPackSettings.h:7
Definition RouteMatcher.h:7
Definition SceneFactory.h:5
Definition PackSettingsInfo.h:5