LeviLamina
Loading...
Searching...
No Matches
StructureAnimationData.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/dimension/DimensionType.h"
8#include "mc/world/level/levelgen/structure/StructureSettings.h"
9
10// auto generated forward declare list
11// clang-format off
12class CommandArea;
13class CompoundTag;
14// clang-format on
15
16class StructureAnimationData {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, uint64> mTickQueued;
21 ::ll::TypedStorage<8, 32, ::std::string> mStructureName;
22 ::ll::TypedStorage<8, 104, ::StructureSettings> mStructureSettings;
23 ::ll::TypedStorage<4, 4, uint> mBlocksPlaced;
24 ::ll::TypedStorage<4, 4, uint> mTotalBlocks;
25 ::ll::TypedStorage<1, 1, uchar> mInitialStructureVersion;
26 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CommandArea>> mCmdArea;
27 ::ll::TypedStorage<4, 12, ::BlockPos> mPlacementPos;
28 ::ll::TypedStorage<4, 4, uint> mQueueID;
29 ::ll::TypedStorage<4, 4, ::DimensionType> mTargetDimension;
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 StructureAnimationData& operator=(StructureAnimationData const&);
35 StructureAnimationData(StructureAnimationData const&);
36 StructureAnimationData();
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI StructureAnimationData(::StructureAnimationData&&);
42
43 MCAPI StructureAnimationData(
44 ::std::unique_ptr<::CommandArea> cmdArea,
45 uint64 tickQueued,
46 ::std::string const& structureName,
47 ::StructureSettings const& structureSettings,
48 uchar structureVersion,
49 ::BlockPos const& placementPos
50 );
51
52 MCAPI ::CompoundTag& serialize(::CompoundTag& tag);
53
54 MCAPI ~StructureAnimationData();
55 // NOLINTEND
56
57public:
58 // static functions
59 // NOLINTBEGIN
60 MCAPI static ::StructureAnimationData load(::std::string const& key, ::CompoundTag const& tag);
61 // NOLINTEND
62
63public:
64 // constructor thunks
65 // NOLINTBEGIN
66 MCAPI void* $ctor(::StructureAnimationData&&);
67
68 MCAPI void* $ctor(
69 ::std::unique_ptr<::CommandArea> cmdArea,
70 uint64 tickQueued,
71 ::std::string const& structureName,
72 ::StructureSettings const& structureSettings,
73 uchar structureVersion,
74 ::BlockPos const& placementPos
75 );
76 // NOLINTEND
77
78public:
79 // destructor thunk
80 // NOLINTBEGIN
81 MCAPI void $dtor();
82 // NOLINTEND
83};
Definition BlockPos.h:17
Definition CommandArea.h:10
Definition CompoundTag.h:18
Definition StructureSettings.h:18