LeviLamina
Loading...
Searching...
No Matches
BlockGeometryComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Matrix.h"
7#include "mc/deps/core/string/HashedString.h"
8#include "mc/world/level/block/components/BlockGeometryDescription.h"
9
10// auto generated forward declare list
11// clang-format off
13namespace ClientBlockPipeline { struct BlockSchematic; }
14// clang-format on
15
17public:
18 // BlockGeometryComponent inner types declare
19 // clang-format off
21 struct DefaultRenderer;
22 // clang-format on
23
24 // BlockGeometryComponent inner types define
25 struct DefaultRenderer {};
26
28 public:
29 // member variables
30 // NOLINTBEGIN
31 ::ll::TypedStorage<4, 64, ::Matrix> mTransformationMatrix;
32 // NOLINTEND
33 };
34
35 using Renderer = ::std::
36 variant<::BlockGeometryComponent::DefaultRenderer, ::BlockGeometryComponent::DefaultPlusEmbeddedRenderer>;
37
38public:
39 // member variables
40 // NOLINTBEGIN
41 ::ll::TypedStorage<8, 48, ::HashedString> mGeometryName;
42 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ClientBlockPipeline::BlockSchematic>> mBlockSchematic;
43 ::ll::TypedStorage<1, 1, bool> mNeedsLegacyTopRotation;
44 ::ll::TypedStorage<1, 1, bool> mUseBlockTypeLightAbsorption;
45 ::ll::TypedStorage<1, 1, bool> mIsFullBlock;
46 ::ll::TypedStorage<1, 1, bool> mIgnoreGeometryForIsSolid;
47 ::ll::TypedStorage<8, 48, ::HashedString> mCullingLayer;
48 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::BlockGeometryDescription::SharedInitializationData>>
49 mSharedInitializationData;
50 ::ll::TypedStorage<8, 24, ::std::variant<bool, ::std::set<::HashedString>>> mUVsLocked;
51 ::ll::TypedStorage<
52 4,
53 68,
54 ::std::
55 variant<::BlockGeometryComponent::DefaultRenderer, ::BlockGeometryComponent::DefaultPlusEmbeddedRenderer>>
56 mRenderer;
57 // NOLINTEND
58
59public:
60 // prevent constructor by default
62
63public:
64 // member functions
65 // NOLINTBEGIN
67
68 MCAPI explicit BlockGeometryComponent(::BlockGeometryDescription const& blockGeometryDescription);
69
70 MCAPI ::BlockGeometryComponent& operator=(::BlockGeometryComponent const&);
71
72 MCAPI ::BlockGeometryComponent& operator=(::BlockGeometryComponent&&);
73
75 // NOLINTEND
76
77public:
78 // constructor thunks
79 // NOLINTBEGIN
80 MCAPI void* $ctor();
81
82 MCAPI void* $ctor(::BlockGeometryDescription const& blockGeometryDescription);
83 // NOLINTEND
84
85public:
86 // destructor thunk
87 // NOLINTBEGIN
88 MCAPI void $dtor();
89 // NOLINTEND
90};
Definition BlockGeometryComponent.h:27
Definition BlockGeometryComponent.h:25
Definition BlockGeometryComponent.h:16
Definition BlockGeometryDescription.h:19