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