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/legacy/ActorUniqueID.h"
7#include "mc/platform/UUID.h"
8#include "mc/util/Bounds.h"
9#include "mc/world/level/ticking/TickingAreaLoadMode.h"
10
11// auto generated forward declare list
12// clang-format off
13class CompoundTag;
14struct DimensionType;
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 16, ::mce::UUID> mUID;
23 ::ll::TypedStorage<8, 32, ::std::string> mName;
24 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mEntityId;
25 ::ll::TypedStorage<4, 48, ::Bounds> mBounds;
26 ::ll::TypedStorage<4, 4, float> mMaxDistToPlayers;
27 ::ll::TypedStorage<1, 1, bool> mIsCircle;
28 ::ll::TypedStorage<1, 1, bool> mAlwaysActive;
29 ::ll::TypedStorage<1, 1, ::TickingAreaLoadMode> mLoadMode;
30 ::ll::TypedStorage<1, 1, bool> mCreated;
31 ::ll::TypedStorage<8, 16, ::std::optional<uint64>> mScope;
32 // NOLINTEND
33
34#ifdef LL_PLAT_S
35public:
36 // prevent constructor by default
38
39#else // LL_PLAT_C
40#endif
41public:
42 // member functions
43 // NOLINTBEGIN
44#ifdef LL_PLAT_S
45 MCAPI PendingArea(
46 ::mce::UUID uniqueId,
47 ::std::string const& name,
48 ::Bounds const& bounds,
49 bool circle,
50 ::TickingAreaLoadMode loadMode
51 );
52#endif
53
54 MCAPI ::TickingAreaDescription getDescription() const;
55
56#ifdef LL_PLAT_S
57 MCAPI ::CompoundTag serialize(::DimensionType dimensionId) const;
58#endif
59 // NOLINTEND
60
61public:
62 // static functions
63 // NOLINTBEGIN
64#ifdef LL_PLAT_S
65 MCAPI static ::PendingArea load(::std::string const& key, ::CompoundTag const& tag);
66
67 MCAPI static bool validTag(::CompoundTag const& tag);
68#endif
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74#ifdef LL_PLAT_S
75 MCAPI void* $ctor(
76 ::mce::UUID uniqueId,
77 ::std::string const& name,
78 ::Bounds const& bounds,
79 bool circle,
80 ::TickingAreaLoadMode loadMode
81 );
82#endif
83 // NOLINTEND
84};
Definition CompoundTag.h:18
Definition UUID.h:8
Definition Bounds.h:8
Definition DimensionType.h:5
Definition PendingArea.h:18
Definition TickingAreaDescription.h:9
Definition serialize.h:11