LeviLamina
Loading...
Searching...
No Matches
PendingArea.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/legacy/ActorUniqueID.h"
8#include "mc/platform/UUID.h"
9#include "mc/util/Bounds.h"
10#include "mc/world/level/ticking/TickingAreaLoadMode.h"
11
12// auto generated forward declare list
13// clang-format off
14class CompoundTag;
15class Dimension;
17// clang-format on
18
19struct PendingArea {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 16, ::mce::UUID> mUID;
24 ::ll::TypedStorage<8, 32, ::std::string> mName;
25 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mEntityId;
26 ::ll::TypedStorage<4, 48, ::Bounds> mBounds;
27 ::ll::TypedStorage<4, 4, float> mMaxDistToPlayers;
28 ::ll::TypedStorage<1, 1, bool> mIsCircle;
29 ::ll::TypedStorage<1, 1, bool> mAlwaysActive;
30 ::ll::TypedStorage<1, 1, ::TickingAreaLoadMode> mLoadMode;
31 ::ll::TypedStorage<1, 1, bool> mCreated;
32 ::ll::TypedStorage<8, 16, ::std::optional<uint64>> mScope;
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
37 PendingArea& operator=(PendingArea const&);
38 PendingArea(PendingArea const&);
39 PendingArea();
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI ::TickingAreaDescription getDescription() const;
45
46 MCAPI ::PendingArea& operator=(::PendingArea&&);
47
48 MCAPI ::CompoundTag serialize(::DimensionType dimensionId) const;
49
50 MCAPI ~PendingArea();
51 // NOLINTEND
52
53public:
54 // static functions
55 // NOLINTBEGIN
56 MCAPI static ::PendingArea load(::std::string const& key, ::CompoundTag const& tag);
57
58 MCAPI static bool validTag(::CompoundTag const& tag);
59 // NOLINTEND
60
61public:
62 // destructor thunk
63 // NOLINTBEGIN
64 MCFOLD void $dtor();
65 // NOLINTEND
66};
Definition CompoundTag.h:23
Definition Dimension.h:85
Definition TickingAreaDescription.h:9