77 DataDrivenUIRepository& operator=(DataDrivenUIRepository
const&);
78 DataDrivenUIRepository(DataDrivenUIRepository
const&);
79 DataDrivenUIRepository();
84 virtual ~DataDrivenUIRepository() =
default;
94 virtual bool hasRootDefinition(::std::string
const& identifier)
const ;
96 virtual ::std::vector<::std::variant<
97 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::ContainerFixedGridLayout>,
98 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::ContainerTextField>,
99 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::ExtensionPoint>,
100 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormButton>,
101 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormCloseButton>,
102 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormDivider>,
103 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormDropdown>,
104 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormImage>,
105 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormScrollView>,
106 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormSlider>,
107 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormSpacing>,
108 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormSwitch>,
109 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormText>,
110 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormTextField>,
111 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::PanelCloseButton>,
112 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::PanelDecoration>,
113 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::PanelSpacing>,
114 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::ContextList>,
115 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::ScrollableGridLayout>,
116 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::PanelText>,
117 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::Visibility>,
118 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormHorizontalStack>>>
const&
119 getComposition(::std::string
const& identifier)
const ;
121 virtual ::mce::UUID
const& getCompositionPackId(::std::string
const& identifier)
const ;
123 virtual ::std::vector<::std::variant<
124 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::ContainerLayout>,
125 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::Context>,
126 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormPanel>,
127 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::Panel>>>
const&
128 getRoot(::std::string
const& identifier)
const ;
130 virtual ::mce::UUID
const& getRootPackId(::std::string
const& identifier)
const ;
132 virtual void getStyles(::std::vector<::SharedTypes::Beta::DataDrivenUI::Styling::Style>& styles)
const ;
134 virtual ::std::vector<::std::variant<
135 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::ContainerFixedGridLayout>,
136 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::ContainerTextField>,
137 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::ExtensionPoint>,
138 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormButton>,
139 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormCloseButton>,
140 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormDivider>,
141 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormDropdown>,
142 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormImage>,
143 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormScrollView>,
144 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormSlider>,
145 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormSpacing>,
146 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormSwitch>,
147 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormText>,
148 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormTextField>,
149 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::PanelCloseButton>,
150 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::PanelDecoration>,
151 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::PanelSpacing>,
152 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::ContextList>,
153 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::ScrollableGridLayout>,
154 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::PanelText>,
155 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::Visibility>,
156 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormHorizontalStack>>>
157 getExtensionPointContents(::std::string
const& name)
const ;
159 virtual ::Bedrock::PubSub::Subscription
160 subscribeToOnCompositionsReloadedAsync(::std::function<
void()>&& onCompositionsReloadedAsyncCallback) ;
162 virtual ::std::optional<::IStyleTextureInfoProvider::Info> getStyleTextureInfo(::std::string_view texturePath)
const
170 MCNAPI DataDrivenUIRepository(
171 ::Bedrock::NotNullNonOwnerPtr<::ResourceLoadManager> resourceLoadManager,
177 MCNAPI
void _initializeLoaders(
190 bool const isBuiltinPack
193 MCNAPI
void _initializeStyleContext(
200 bool const isBuiltinPack,
204 MCNAPI
void _initializeStyleLoader(
211 bool const isBuiltinPack
216 MCNAPI
bool _parseAndLoadUICompositionData(
217 char const* filenameStr,
218 ::std::string
const& fileData,
219 bool const isBuiltinPack,
224 MCNAPI
bool _parseAndLoadUIRootData(
225 char const* filenameStr,
226 ::std::string
const& fileData,
227 bool const isBuiltinPack,
232 MCNAPI
bool _parseAndLoadUIStyleData(
233 char const* filenameStr,
234 ::std::string
const& fileData,
235 bool const isBuiltinPack,
247 ::Bedrock::NotNullNonOwnerPtr<::ResourceLoadManager> resourceLoadManager,
267 MCNAPI
bool $hasRootDefinition(::std::string
const& identifier)
const;
269 MCNAPI ::std::vector<::std::variant<
270 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::ContainerFixedGridLayout>,
271 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::ContainerTextField>,
272 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::ExtensionPoint>,
273 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormButton>,
274 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormCloseButton>,
275 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormDivider>,
276 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormDropdown>,
277 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormImage>,
278 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormScrollView>,
279 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormSlider>,
280 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormSpacing>,
281 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormSwitch>,
282 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormText>,
283 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormTextField>,
284 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::PanelCloseButton>,
285 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::PanelDecoration>,
286 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::PanelSpacing>,
287 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::ContextList>,
288 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::ScrollableGridLayout>,
289 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::PanelText>,
290 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::Visibility>,
291 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormHorizontalStack>>>
const&
292 $getComposition(::std::string
const& identifier)
const;
294 MCNAPI ::mce::UUID
const& $getCompositionPackId(::std::string
const& identifier)
const;
296 MCNAPI ::std::vector<::std::variant<
297 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::ContainerLayout>,
298 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::Context>,
299 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormPanel>,
300 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::Panel>>>
const&
301 $getRoot(::std::string
const& identifier)
const;
303 MCNAPI ::mce::UUID
const& $getRootPackId(::std::string
const& identifier)
const;
305 MCNAPI
void $getStyles(::std::vector<::SharedTypes::Beta::DataDrivenUI::Styling::Style>& styles)
const;
307 MCNAPI ::std::vector<::std::variant<
308 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::ContainerFixedGridLayout>,
309 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::ContainerTextField>,
310 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::ExtensionPoint>,
311 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormButton>,
312 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormCloseButton>,
313 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormDivider>,
314 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormDropdown>,
315 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormImage>,
316 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormScrollView>,
317 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormSlider>,
318 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormSpacing>,
319 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormSwitch>,
320 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormText>,
321 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormTextField>,
322 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::PanelCloseButton>,
323 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::PanelDecoration>,
324 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::PanelSpacing>,
325 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::ContextList>,
326 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::ScrollableGridLayout>,
327 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::PanelText>,
328 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::Visibility>,
329 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::FormHorizontalStack>>>
330 $getExtensionPointContents(::std::string
const& name)
const;
332 MCNAPI ::Bedrock::PubSub::Subscription
333 $subscribeToOnCompositionsReloadedAsync(::std::function<
void()>&& onCompositionsReloadedAsyncCallback);
335 MCNAPI ::std::optional<::IStyleTextureInfoProvider::Info>
336 $getStyleTextureInfo(::std::string_view texturePath)
const;