LeviLamina
Loading...
Searching...
No Matches
MaterialInstancesComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/cereal/ConstraintHandle.h"
7#include "mc/deps/cereal/ContextArea.h"
8#include "mc/deps/shared_types/util/Reference.h"
9#include "mc/deps/shared_types/v1_21_110/block/BlockRenderLayer.h"
10#include "mc/deps/shared_types/v1_21_110/block/TintMethod.h"
11
12// auto generated forward declare list
13// clang-format off
14namespace cereal { struct ReflectionCtx; }
15namespace cereal::internal { struct ConstraintDescription; }
16// clang-format on
17
18namespace SharedTypes::v1_21_110::BlockDefinition {
19
20struct MaterialInstancesComponent {
21public:
22 // MaterialInstancesComponent inner types declare
23 // clang-format off
24 struct MaterialInstance;
26 // clang-format on
27
28 // MaterialInstancesComponent inner types define
29 struct MaterialInstance {
30 public:
31 // member variables
32 // NOLINTBEGIN
33 ::ll::TypedStorage<8, 32, ::SharedTypes::Reference<4>> mTextureName;
34 ::ll::TypedStorage<4, 4, float> mAmbientOcclusion;
35 ::ll::TypedStorage<1, 1, ::SharedTypes::v1_21_110::BlockDefinition::BlockRenderLayer> mRenderLayer;
36 ::ll::TypedStorage<1, 1, ::SharedTypes::v1_21_110::BlockDefinition::TintMethod> mTintMethod;
37 ::ll::TypedStorage<1, 1, bool> mFaceDimming;
38 ::ll::TypedStorage<1, 1, bool> mRandomizeUVRotation;
39 ::ll::TypedStorage<1, 1, bool> mAlphaMaskedTint;
40 ::ll::TypedStorage<1, 1, bool> mSupportsTextureVariations;
41 // NOLINTEND
42
43 public:
44 // prevent constructor by default
45 MaterialInstance(MaterialInstance const&);
46 MaterialInstance();
47
48 public:
49 // member functions
50 // NOLINTBEGIN
51 MCAPI ::SharedTypes::v1_21_110::BlockDefinition::MaterialInstancesComponent::MaterialInstance&
53
54 MCAPI ::SharedTypes::v1_21_110::BlockDefinition::MaterialInstancesComponent::MaterialInstance&
56
57 MCAPI bool operator==(
59 ) const;
60
61 MCAPI ~MaterialInstance();
62 // NOLINTEND
63
64 public:
65 // destructor thunk
66 // NOLINTBEGIN
67 MCFOLD void $dtor();
68 // NOLINTEND
69 };
70
73 ::SharedTypes::v1_21_110::BlockDefinition::MaterialInstancesComponent::MaterialInstanceConstraint> {
74 public:
75 // virtual functions
76 // NOLINTBEGIN
77 virtual ~MaterialInstanceConstraint() /*override*/ = default;
78 // NOLINTEND
79
80 public:
81 // static functions
82 // NOLINTBEGIN
83 MCAPI static ::cereal::internal::ConstraintDescription description(::cereal::ContextArea);
84 // NOLINTEND
85
86 public:
87 // vftables
88 // NOLINTBEGIN
89 MCNAPI static void** $vftable();
90 // NOLINTEND
91 };
92
93 using MaterialInstancesDataType = ::std::unordered_map<
94 ::std::string,
95 ::std::variant<
96 ::std::string,
98
99 using MaterialVariant = ::std::
100 variant<::std::string, ::SharedTypes::v1_21_110::BlockDefinition::MaterialInstancesComponent::MaterialInstance>;
101
102public:
103 // member variables
104 // NOLINTBEGIN
105 ::ll::TypedStorage<
106 8,
107 64,
108 ::std::unordered_map<
109 ::std::string,
111 mMaterials;
112 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::string>> mMaterialMappings;
113 // NOLINTEND
114
115public:
116 // prevent constructor by default
117 MaterialInstancesComponent& operator=(MaterialInstancesComponent const&);
118
119public:
120 // member functions
121 // NOLINTBEGIN
122 MCAPI MaterialInstancesComponent();
123
124 MCAPI MaterialInstancesComponent(::SharedTypes::v1_21_110::BlockDefinition::MaterialInstancesComponent const&);
125
126 MCAPI ::std::unordered_map<
127 ::std::string,
128 ::std::variant<
129 ::std::string,
131 getter() const;
132
133 MCAPI void setter(
134 ::std::unordered_map<
135 ::std::string,
136 ::std::variant<
137 ::std::string,
139 );
140
141 MCAPI ~MaterialInstancesComponent();
142 // NOLINTEND
143
144public:
145 // static functions
146 // NOLINTBEGIN
147 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
148 // NOLINTEND
149
150public:
151 // static variables
152 // NOLINTBEGIN
153 MCAPI static ::std::string_view const& AlphaMaskedTintId();
154
155 MCAPI static ::std::string_view const& AmbientOcclusionId();
156
157 MCAPI static ::std::string_view const& FaceDimmingId();
158
159 MCAPI static ::std::string_view const& IsotropicId();
160
161 MCAPI static ::std::string_view const& NameId();
162
163 MCAPI static ::std::string_view const& RenderMethodId();
164
165 MCAPI static ::std::string_view const& TextureId();
166
167 MCAPI static ::std::string_view const& TintMethodId();
168 // NOLINTEND
169
170public:
171 // constructor thunks
172 // NOLINTBEGIN
173 MCAPI void* $ctor();
174
176 // NOLINTEND
177
178public:
179 // destructor thunk
180 // NOLINTBEGIN
181 MCAPI void $dtor();
182 // NOLINTEND
183};
184
185} // namespace SharedTypes::v1_21_110::BlockDefinition
Definition ConstraintHandle.h:8
Definition ReflectionCtx.h:11
Definition ConstraintDescription.h:7
Definition ctx.h:5