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/world/level/BlockPos.h"
7#include "mc/world/level/chunk/IRequestAction.h"
8#include "mc/world/level/dimension/DimensionType.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 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI StructureAnimationAction(
48 ::std::unique_ptr<::StructureAnimationData> structureAnimationData,
49 ::DimensionType dimensionType
50 );
51
52 MCAPI StructureAnimationAction(
53 ::StructureSettings const& structureSettings,
54 ::DimensionType dimensionType,
55 ::BlockPos const& loadPosition,
56 ::std::string const& fullName
57 );
58 // NOLINTEND
59
60public:
61 // static functions
62 // NOLINTBEGIN
63 MCAPI static ::std::unique_ptr<::StructureAnimationAction>
64 load(::CompoundTag const& tag, ::std::string const& dimensionPrefix);
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70 MCAPI void*
71 $ctor(::std::unique_ptr<::StructureAnimationData> structureAnimationData, ::DimensionType dimensionType);
72
73 MCAPI void* $ctor(
74 ::StructureSettings const& structureSettings,
75 ::DimensionType dimensionType,
76 ::BlockPos const& loadPosition,
77 ::std::string const& fullName
78 );
79 // NOLINTEND
80
81public:
82 // virtual function thunks
83 // NOLINTBEGIN
84 MCAPI void $execute(::ServerLevel& level, ::Dimension& dimension);
85
86 MCAPI void $serialize(::CompoundTag& tag);
87
88
89 // NOLINTEND
90
91public:
92 // vftables
93 // NOLINTBEGIN
94 MCNAPI static void** $vftable();
95 // NOLINTEND
96};
Definition BlockPos.h:21
Definition CompoundTag.h:23
Definition Dimension.h:89
Definition ServerLevel.h:59
static MCAPI void ** $vftable()
Definition StructureAnimationData.h:17
Definition StructureSettings.h:18
Definition DimensionType.h:5