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
64
65public:
66 // member functions
67 // NOLINTBEGIN
68 MCAPI explicit BlockGeometryComponent(::BlockGeometryDescription const& blockGeometryDescription);
69
70 MCAPI ::BlockGeometryComponent& operator=(::BlockGeometryComponent&&);
71
73 // NOLINTEND
74
75public:
76 // constructor thunks
77 // NOLINTBEGIN
78 MCAPI void* $ctor(::BlockGeometryDescription const& blockGeometryDescription);
79 // NOLINTEND
80
81public:
82 // destructor thunk
83 // NOLINTBEGIN
84 MCAPI void $dtor();
85 // NOLINTEND
86};
Definition BlockGeometryComponent.h:27
Definition BlockGeometryComponent.h:25
Definition BlockGeometryComponent.h:16
Definition BlockGeometryDescription.h:19