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 virtual ::std::string const& getName() const /*override*/;
32
33 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
34
35 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
36
37 virtual bool isNetworkComponent() const /*override*/;
38
39 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
40
41 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
42
43 virtual void handleVersionBasedInitialization(::SemVersion const& originalJsonVersion) /*override*/;
44 // NOLINTEND
45
46public:
47 // static functions
48 // NOLINTBEGIN
49 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
50 // NOLINTEND
51
52public:
53 // static variables
54 // NOLINTBEGIN
55 MCAPI static ::std::string const& NameID();
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCAPI ::std::string const& $getName() const;
62
63 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
64
65 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
66
67 MCFOLD bool $isNetworkComponent() const;
68
69 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
70
71 MCAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
72
73 MCAPI void $handleVersionBasedInitialization(::SemVersion const& originalJsonVersion);
74
75
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftable();
82 // NOLINTEND
83};
Definition BlockComponentStorage.h:67
Definition CompoundTag.h:18
Definition SemVersion.h:15
Definition BlockComponentDescription.h:20
Definition BlockTransformationDescription.h:18
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5