LeviLamina
Loading...
Searching...
No Matches
BlockComponentGroupDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class HashedString;
9namespace cereal { class DynamicValue; }
10namespace cereal { class SerializerContext; }
11// clang-format on
12
13struct BlockComponentGroupDescription {
14public:
15 // BlockComponentGroupDescription inner types declare
16 // clang-format off
17 struct Components;
18 // clang-format on
19
20 // BlockComponentGroupDescription inner types define
21 struct Components {
22 public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::shared_ptr<::BlockComponentDescription>>>
26 mMap;
27 // NOLINTEND
28
29 public:
30 // prevent constructor by default
31 Components();
32
33 public:
34 // member functions
35 // NOLINTBEGIN
36 MCAPI Components(::BlockComponentGroupDescription::Components const&);
37
38 MCAPI void _setCustomComponent(
39 ::std::string_view compName,
40 ::std::shared_ptr<::cereal::DynamicValue> const& compData,
41 bool overridePlayerInteract,
42 bool overridePlayerPlacing
43 );
44
45 MCAPI ::std::shared_ptr<::cereal::DynamicValue>
46 getCustomComponent(::cereal::SerializerContext const& context) const;
47
48 MCFOLD ::BlockComponentGroupDescription::Components& operator=(::BlockComponentGroupDescription::Components&&);
49
50 MCFOLD ::BlockComponentGroupDescription::Components&
52
53 MCAPI ~Components();
54 // NOLINTEND
55
56 public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCAPI void* $ctor(::BlockComponentGroupDescription::Components const&);
60 // NOLINTEND
61
62 public:
63 // destructor thunk
64 // NOLINTBEGIN
65 MCFOLD void $dtor();
66 // NOLINTEND
67 };
68
69public:
70 // member variables
71 // NOLINTBEGIN
72 ::ll::TypedStorage<8, 64, ::BlockComponentGroupDescription::Components> mCerealDescriptions;
73 ::ll::TypedStorage<8, 24, ::std::vector<::HashedString>> mTags;
74 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::BlockComponentDescription>>> mDescriptions;
75 // NOLINTEND
76
77public:
78 // prevent constructor by default
79 BlockComponentGroupDescription& operator=(BlockComponentGroupDescription const&);
80
81public:
82 // member functions
83 // NOLINTBEGIN
84 MCAPI BlockComponentGroupDescription();
85
86 MCAPI BlockComponentGroupDescription(::BlockComponentGroupDescription&&);
87
88 MCAPI BlockComponentGroupDescription(::BlockComponentGroupDescription const&);
89
90 MCAPI void addComponentDescription(::std::shared_ptr<::BlockComponentDescription> desc);
91
92 MCAPI_S void foreachDescription(::std::function<void(::BlockComponentDescription const&)> callback) const;
93
94 MCAPI ::BlockComponentGroupDescription& operator=(::BlockComponentGroupDescription&&);
95
96 MCAPI ~BlockComponentGroupDescription();
97 // NOLINTEND
98
99public:
100 // constructor thunks
101 // NOLINTBEGIN
102 MCAPI void* $ctor();
103
104 MCAPI void* $ctor(::BlockComponentGroupDescription&&);
105
106 MCAPI void* $ctor(::BlockComponentGroupDescription const&);
107 // NOLINTEND
108
109public:
110 // destructor thunk
111 // NOLINTBEGIN
112 MCAPI void $dtor();
113 // NOLINTEND
114};
Definition HashedString.h:5
Definition DynamicValue.h:12
Definition SerializerContext.h:11
Definition BlockComponentDescription.h:20
Definition BlockComponentGroupDescription.h:21
Definition context.h:5