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
14class CompoundTag;
15class SemVersion;
16namespace cereal { struct ReflectionCtx; }
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<1, 1, bool> mHasJsonVersionBeforeValidation;
24 ::ll::TypedStorage<4, 12, ::Vec3> mTranslation;
25 ::ll::TypedStorage<4, 24, ::BlockTransformationComponent::RotationType> mRotation;
26 ::ll::TypedStorage<4, 24, ::BlockTransformationComponent::ScaleType> mScale;
27 // NOLINTEND
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ::std::string const& getName() const /*override*/;
33
34 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
35
36 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
37
38 virtual bool isNetworkComponent() const /*override*/;
39
40 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const&) const /*override*/;
41
42 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
43
44 virtual void handleVersionBasedInitialization(::SemVersion const& originalJsonVersion) /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCAPI ::BlockTransformationDescription& setRotation(::BlockTransformationComponent::RotationType const& rotation);
51 // NOLINTEND
52
53public:
54 // static functions
55 // NOLINTBEGIN
56 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
57
58 MCAPI static ::BlockTransformationDescription makeCodeDescription();
59
60 MCAPI static void registerVersionUpgrades(::CerealSchemaUpgradeSet& schemaUpgrades);
61 // NOLINTEND
62
63public:
64 // static variables
65 // NOLINTBEGIN
66 MCAPI static ::std::string const& NameID();
67 // NOLINTEND
68
69public:
70 // virtual function thunks
71 // NOLINTBEGIN
72 MCAPI ::std::string const& $getName() const;
73
74 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
75
76 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
77
78 MCFOLD bool $isNetworkComponent() const;
79
80 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const&) const;
81
82 MCAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
83
84 MCAPI void $handleVersionBasedInitialization(::SemVersion const& originalJsonVersion);
85
86
87 // NOLINTEND
88
89public:
90 // vftables
91 // NOLINTBEGIN
92 MCNAPI static void** $vftable();
93 // NOLINTEND
94};
Definition BlockComponentStorage.h:63
Definition CerealSchemaUpgradeSet.h:10
Definition CompoundTag.h:23
Definition SemVersion.h:15
Definition BlockComponentDescription.h:20
Definition BlockTransformationComponent.h:18
Definition BlockTransformationDescription.h:19
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5