LeviLamina
Loading...
Searching...
No Matches
StructureAnimationAction.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/AutomaticID.h"
7#include "mc/world/level/BlockPos.h"
8#include "mc/world/level/chunk/IRequestAction.h"
9#include "mc/world/level/levelgen/structure/StructureSettings.h"
10
11// auto generated forward declare list
12// clang-format off
13class CompoundTag;
14class Dimension;
15class ServerLevel;
17// clang-format on
18
19class StructureAnimationAction : public ::IRequestAction {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::StructureAnimationData>> mStructureAnimationData;
24 ::ll::TypedStorage<8, 104, ::StructureSettings> mStructureSettings;
25 ::ll::TypedStorage<4, 4, ::DimensionType> mDimensionType;
26 ::ll::TypedStorage<4, 12, ::BlockPos> mLoadPosition;
27 ::ll::TypedStorage<8, 32, ::std::string> mFullName;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 StructureAnimationAction();
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual void execute(::ServerLevel& level, ::Dimension& dimension) /*override*/;
38
39 virtual bool operator==(::IRequestAction const& action) const /*override*/;
40
41 virtual void serialize(::CompoundTag& tag) /*override*/;
42
43 virtual ~StructureAnimationAction() /*override*/ = default;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI StructureAnimationAction(
50 ::std::unique_ptr<::StructureAnimationData> structureAnimationData,
51 ::DimensionType dimensionType
52 );
53
54 MCAPI StructureAnimationAction(
55 ::StructureSettings const& structureSettings,
56 ::DimensionType dimensionType,
57 ::BlockPos const& loadPosition,
58 ::std::string const& fullName
59 );
60 // NOLINTEND
61
62public:
63 // static functions
64 // NOLINTBEGIN
65 MCAPI static ::std::unique_ptr<::StructureAnimationAction>
66 load(::CompoundTag const& tag, ::std::string const& dimensionPrefix);
67 // NOLINTEND
68
69public:
70 // constructor thunks
71 // NOLINTBEGIN
72 MCAPI void*
73 $ctor(::std::unique_ptr<::StructureAnimationData> structureAnimationData, ::DimensionType dimensionType);
74
75 MCAPI void* $ctor(
76 ::StructureSettings const& structureSettings,
77 ::DimensionType dimensionType,
78 ::BlockPos const& loadPosition,
79 ::std::string const& fullName
80 );
81 // NOLINTEND
82
83public:
84 // virtual function thunks
85 // NOLINTBEGIN
86 MCAPI void $execute(::ServerLevel& level, ::Dimension& dimension);
87
88 MCAPI void $serialize(::CompoundTag& tag);
89
90
91 // NOLINTEND
92
93public:
94 // vftables
95 // NOLINTBEGIN
96 MCNAPI static void** $vftable();
97 // NOLINTEND
98};
Definition BlockPos.h:19
Definition CompoundTag.h:23
Definition Dimension.h:85
Definition IRequestAction.h:12
Definition ServerLevel.h:50
static MCAPI void ** $vftable()
Definition StructureAnimationData.h:17
Definition StructureSettings.h:18