LeviLamina
Loading...
Searching...
No Matches
IDataDrivenUIRepository.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7
8// auto generated forward declare list
9// clang-format off
11namespace Bedrock::PubSub { class Subscription; }
12namespace SharedTypes::v1_21_130::DataDrivenUI { struct Container; }
13namespace SharedTypes::v1_21_130::DataDrivenUI { struct Context; }
14namespace SharedTypes::v1_21_130::DataDrivenUI { struct Panel; }
15// clang-format on
16
18public:
19 // virtual functions
20 // NOLINTBEGIN
21#ifdef LL_PLAT_S
22 virtual ~IDataDrivenUIRepository() /*override*/ = default;
23#else // LL_PLAT_C
24 virtual ~IDataDrivenUIRepository() /*override*/;
25#endif
26
27 virtual void load(::ResourcePackManager const&) = 0;
28
29 virtual ::std::vector<::std::variant<
30 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::Container>,
31 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::Context>,
32 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::Panel>>> const&
33 getComposition(::std::string const&) const = 0;
34
35 virtual ::std::vector<::std::variant<
36 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::Container>,
37 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::Context>,
38 ::std::shared_ptr<::SharedTypes::v1_21_130::DataDrivenUI::Panel>>> const&
39 getRoot(::std::string const&) const = 0;
40
41 virtual ::Bedrock::PubSub::Subscription subscribeToOnCompositionsReloadedAsync(::std::function<void()>&&) = 0;
42 // NOLINTEND
43
44public:
45 // destructor thunk
46 // NOLINTBEGIN
47 MCNAPI void $dtor();
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53
54 // NOLINTEND
55};
Definition EnableNonOwnerReferences.h:7
Definition Subscription.h:10
Definition IDataDrivenUIRepository.h:17
Definition ResourcePackManager.h:29