LeviLamina
Loading...
Searching...
No Matches
BlockEmbeddedVisualDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/components/BlockGeometryDescription.h"
7#include "mc/world/level/block/components/BlockMaterialInstancesDescription.h"
8#include "mc/world/level/block/components/NetworkedBlockComponentDescription.h"
9
10// auto generated forward declare list
11// clang-format off
13class SemVersion;
14namespace cereal { struct ReflectionCtx; }
15// clang-format on
16
17struct BlockEmbeddedVisualDescription : public ::NetworkedBlockComponentDescription<::BlockEmbeddedVisualDescription> {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 264, ::BlockGeometryDescription> mGeometry;
22 ::ll::TypedStorage<8, 144, ::BlockMaterialInstancesDescription> mMaterialInstances;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 BlockEmbeddedVisualDescription(BlockEmbeddedVisualDescription const&);
28 BlockEmbeddedVisualDescription();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ::std::string const& getName() const /*override*/;
34
35 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
36
37 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
38
39 virtual void handleVersionBasedInitialization(::SemVersion const& originalJsonVersion) /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI BlockEmbeddedVisualDescription(
46 ::BlockGeometryDescription const& geometryDescription,
47 ::BlockMaterialInstancesDescription const& materialInstanceDescription
48 );
49
50 MCFOLD ::BlockEmbeddedVisualDescription& operator=(::BlockEmbeddedVisualDescription&&);
51
52 MCFOLD ::BlockEmbeddedVisualDescription& operator=(::BlockEmbeddedVisualDescription const&);
53 // NOLINTEND
54
55public:
56 // static functions
57 // NOLINTBEGIN
58 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
59 // NOLINTEND
60
61public:
62 // static variables
63 // NOLINTBEGIN
64 MCAPI static ::std::string const& NameID();
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70 MCAPI void* $ctor(
71 ::BlockGeometryDescription const& geometryDescription,
72 ::BlockMaterialInstancesDescription const& materialInstanceDescription
73 );
74 // NOLINTEND
75
76public:
77 // virtual function thunks
78 // NOLINTBEGIN
79 MCAPI ::std::string const& $getName() const;
80
81 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
82
83 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
84
85 MCFOLD void $handleVersionBasedInitialization(::SemVersion const& originalJsonVersion);
86
87
88 // NOLINTEND
89
90public:
91 // vftables
92 // NOLINTBEGIN
93 MCNAPI static void** $vftable();
94 // NOLINTEND
95};
Definition BlockComponentStorage.h:63
Definition NetworkedBlockComponentDescription.h:6
Definition SemVersion.h:15
static MCAPI void ** $vftable()
Definition BlockGeometryDescription.h:21
Definition BlockMaterialInstancesDescription.h:24
Definition ReflectionCtx.h:11
Definition ctx.h:5