LeviLamina
Loading...
Searching...
No Matches
BlockTransformationDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7#include "mc/world/level/block/components/BlockComponentDescription.h"
8#include "mc/world/level/block/components/BlockTransformationComponent.h"
9
10// auto generated forward declare list
11// clang-format off
13class CompoundTag;
14class SemVersion;
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<1, 1, bool> mHasJsonVersionBeforeValidation;
23 ::ll::TypedStorage<4, 12, ::Vec3> mTranslation;
24 ::ll::TypedStorage<4, 24, ::BlockTransformationComponent::RotationType> mRotation;
25 ::ll::TypedStorage<4, 24, ::BlockTransformationComponent::ScaleType> mScale;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 1
32 virtual ::std::string const& getName() const /*override*/;
33
34 // vIndex: 2
35 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
36
37 // vIndex: 4
38 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
39
40 // vIndex: 7
41 virtual bool isNetworkComponent() const /*override*/;
42
43 // vIndex: 8
44 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
45
46 // vIndex: 9
47 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
48
49 // vIndex: 10
50 virtual void handleVersionBasedInitialization(::SemVersion const& originalJsonVersion) /*override*/;
51
52 // vIndex: 0
53 virtual ~BlockTransformationDescription() /*override*/ = default;
54 // NOLINTEND
55
56public:
57 // static variables
58 // NOLINTBEGIN
59 MCAPI static ::std::string const& NameID();
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCAPI ::std::string const& $getName() const;
66
67 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
68
69 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
70
71 MCFOLD bool $isNetworkComponent() const;
72
73 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
74
75 MCAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
76
77 MCAPI void $handleVersionBasedInitialization(::SemVersion const& originalJsonVersion);
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCNAPI static void** $vftable();
84 // NOLINTEND
85};
Definition BlockComponentStorage.h:53
Definition CompoundTag.h:13
Definition SemVersion.h:16
Definition BlockComponentDescription.h:20
Definition BlockTransformationDescription.h:18
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5