LeviLamina
Loading...
Searching...
No Matches
FacetRegistryFactory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/oreui/binding/ScreenModelProvider.h"
7#include "mc/client/gui/oreui/interface/FacetAvailability.h"
8#include "mc/client/gui/oreui/interface/FacetRegistryLocation.h"
9#include "mc/deps/core/utility/NonOwnerPointer.h"
10
11// auto generated forward declare list
12// clang-format off
14class IAppPlatform;
15class IClientInstance;
16class IMinecraftGame;
17namespace OreUI { class IFacet; }
18namespace OreUI { class IFacetRegistry; }
19// clang-format on
20
21namespace OreUI {
22
24public:
25 // FacetRegistryFactory inner types declare
26 // clang-format off
27 struct FacetData;
28 // clang-format on
29
30 // FacetRegistryFactory inner types define
31 struct FacetData {
32 public:
33 // member variables
34 // NOLINTBEGIN
35 ::ll::TypedStorage<8, 32, ::std::string const> mName;
36 ::ll::TypedStorage<4, 4, ::OreUI::FacetAvailability const> mAvailability;
37 ::ll::TypedStorage<
38 8,
39 64,
40 ::std::function<::std::unique_ptr<::OreUI::IFacet>(::OreUI::FacetRegistryLocation)> const>
41 mConstructor;
42 // NOLINTEND
43
44 public:
45 // prevent constructor by default
46 FacetData& operator=(FacetData const&);
47 FacetData();
48
49 public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI FacetData(::OreUI::FacetRegistryFactory::FacetData const&);
53
54 MCAPI FacetData(::OreUI::FacetRegistryFactory::FacetData&&);
55
56 MCAPI FacetData(
57 char const* name,
58 ::OreUI::FacetAvailability availability,
59 ::std::function<::std::unique_ptr<::OreUI::IFacet>(::OreUI::FacetRegistryLocation)> constructor
60 );
61 // NOLINTEND
62
63 public:
64 // constructor thunks
65 // NOLINTBEGIN
66 MCFOLD void* $ctor(::OreUI::FacetRegistryFactory::FacetData const&);
67
68 MCFOLD void* $ctor(::OreUI::FacetRegistryFactory::FacetData&&);
69
70 MCAPI void* $ctor(
71 char const* name,
72 ::OreUI::FacetAvailability availability,
73 ::std::function<::std::unique_ptr<::OreUI::IFacet>(::OreUI::FacetRegistryLocation)> constructor
74 );
75 // NOLINTEND
76 };
77
78 using FacetConstructor = ::std::function<::std::unique_ptr<::OreUI::IFacet>(::OreUI::FacetRegistryLocation)>;
79
80public:
81 // member variables
82 // NOLINTBEGIN
83 ::ll::TypedStorage<8, 24, ::std::vector<::OreUI::FacetRegistryFactory::FacetData>> mFacets;
84 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IClientInstance>> mClientInstance;
85 ::ll::TypedStorage<8, 8, ::IMinecraftGame&> mMinecraft;
86 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::IAppPlatform>> mAppPlatform;
87 ::ll::TypedStorage<8, 88, ::OreUI::ScreenModelProvider> mScreenModelProvider;
88 // NOLINTEND
89
90public:
91 // prevent constructor by default
92 FacetRegistryFactory& operator=(FacetRegistryFactory const&);
93 FacetRegistryFactory(FacetRegistryFactory const&);
94 FacetRegistryFactory();
95
96public:
97 // member functions
98 // NOLINTBEGIN
99 MCAPI FacetRegistryFactory(
100 ::Bedrock::NotNullNonOwnerPtr<::IClientInstance> const& clientInstance,
101 ::Bedrock::NotNullNonOwnerPtr<::IAdvancedGraphicsOptions> const& advancedGraphicsOptions,
102 ::Bedrock::NonOwnerPointer<::IAppPlatform> const& appPlatform
103 );
104
105 MCAPI void _registerCoreFacets();
106
107 MCAPI void _registerDebugFacets();
108
109 MCAPI void _registerTestFacets();
110
111 MCAPI void _registerVanillaFacets();
112
113 MCAPI void _registerVanillaGameplayFacets();
114
115 MCAPI ::std::unique_ptr<::OreUI::IFacetRegistry> createFacetRegistry(::OreUI::FacetRegistryLocation location);
116
117 MCAPI ~FacetRegistryFactory();
118 // NOLINTEND
119
120public:
121 // constructor thunks
122 // NOLINTBEGIN
123 MCAPI void* $ctor(
124 ::Bedrock::NotNullNonOwnerPtr<::IClientInstance> const& clientInstance,
125 ::Bedrock::NotNullNonOwnerPtr<::IAdvancedGraphicsOptions> const& advancedGraphicsOptions,
126 ::Bedrock::NonOwnerPointer<::IAppPlatform> const& appPlatform
127 );
128 // NOLINTEND
129
130public:
131 // destructor thunk
132 // NOLINTBEGIN
133 MCAPI void $dtor();
134 // NOLINTEND
135};
136
137} // namespace OreUI
Definition IAdvancedGraphicsOptions.h:16
Definition IAppPlatform.h:15
Definition IClientInstance.h:5
Definition IMinecraftGame.h:5
Definition FacetRegistryFactory.h:7
Definition IFacetRegistry.h:7
Definition IFacet.h:7
Definition FacetRegistryFactory.h:15