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
16struct BlockGeometryComponent {
17public:
18 // BlockGeometryComponent inner types declare
19 // clang-format off
21 struct DefaultRenderer;
22 // clang-format on
23
24 // BlockGeometryComponent inner types define
26 public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<4, 64, ::Matrix> mTransformationMatrix;
30 // NOLINTEND
31 };
32
33 struct DefaultRenderer {};
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
61 BlockGeometryComponent& operator=(BlockGeometryComponent const&);
62 BlockGeometryComponent(BlockGeometryComponent const&);
63 BlockGeometryComponent();
64
65public:
66 // member functions
67 // NOLINTBEGIN
68 MCAPI explicit BlockGeometryComponent(::BlockGeometryDescription const& blockGeometryDescription);
69
70 MCAPI ::BlockGeometryComponent& operator=(::BlockGeometryComponent&&);
71
72 MCAPI ~BlockGeometryComponent();
73 // NOLINTEND
74
75public:
76 // constructor thunks
77 // NOLINTBEGIN
78 MCAPI_C void* $ctor();
79
80 MCAPI void* $ctor(::BlockGeometryDescription const& blockGeometryDescription);
81 // NOLINTEND
82
83public:
84 // destructor thunk
85 // NOLINTBEGIN
86 MCAPI void $dtor();
87 // NOLINTEND
88};
Definition BlockGeometryComponent.h:25
Definition BlockGeometryComponent.h:33
Definition BlockGeometryDescription.h:20
Definition BlockSchematic.h:7