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