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_26_10/block/BlockRenderLayer.h"
10#include "mc/deps/shared_types/v1_26_10/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_26_10::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_26_10::BlockRenderLayer> mRenderLayer;
36 ::ll::TypedStorage<1, 1, ::SharedTypes::v1_26_10::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> mDithering;
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_26_10::BlockDefinition::MaterialInstancesComponent::MaterialInstance&
53
54 MCAPI ::SharedTypes::v1_26_10::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_26_10::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_26_10::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 // member functions
117 // NOLINTBEGIN
118 MCAPI MaterialInstancesComponent();
119
121
122 MCAPI MaterialInstancesComponent(::SharedTypes::v1_26_10::BlockDefinition::MaterialInstancesComponent const&);
123
124 MCAPI ::std::unordered_map<
125 ::std::string,
126 ::std::variant<
127 ::std::string,
129 getter() const;
130
131 MCAPI ::SharedTypes::v1_26_10::BlockDefinition::MaterialInstancesComponent&
133
134 MCAPI ::SharedTypes::v1_26_10::BlockDefinition::MaterialInstancesComponent&
136
137 MCAPI void setter(
138 ::std::unordered_map<
139 ::std::string,
140 ::std::variant<
141 ::std::string,
143 );
144
145 MCAPI ~MaterialInstancesComponent();
146 // NOLINTEND
147
148public:
149 // static functions
150 // NOLINTBEGIN
151 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
152 // NOLINTEND
153
154public:
155 // static variables
156 // NOLINTBEGIN
157 MCAPI static ::std::string_view const& AlphaMaskedTintId();
158
159 MCAPI static ::std::string_view const& AmbientOcclusionId();
160
161 MCAPI static ::std::string_view const& DitheringId();
162
163 MCAPI static ::std::string_view const& FaceDimmingId();
164
165 MCAPI static ::std::string_view const& IsotropicId();
166
167 MCAPI static ::std::string_view const& NameId();
168
169 MCAPI static ::std::string_view const& RenderMethodId();
170
171 MCAPI static ::std::string_view const& TextureId();
172
173 MCAPI static ::std::string_view const& TintMethodId();
174 // NOLINTEND
175
176public:
177 // constructor thunks
178 // NOLINTBEGIN
179 MCAPI void* $ctor();
180
182
184 // NOLINTEND
185
186public:
187 // destructor thunk
188 // NOLINTBEGIN
189 MCAPI void $dtor();
190 // NOLINTEND
191};
192
193} // namespace SharedTypes::v1_26_10::BlockDefinition
Definition ConstraintHandle.h:8
Definition ReflectionCtx.h:11
Definition ConstraintDescription.h:7
Definition ctx.h:5