LeviLamina
Loading...
Searching...
No Matches
SpawnData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/WeightedRandom.h"
7#include "mc/world/actor/ActorDefinitionIdentifier.h"
8#include "mc/world/actor/EquipmentTable.h"
9
10// auto generated forward declare list
11// clang-format off
12class CompoundTag;
13// clang-format on
14
15class SpawnData : public ::WeightedRandom::WeighedRandomItem {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 176, ::ActorDefinitionIdentifier> mActorId;
20 ::ll::TypedStorage<1, 1, bool> mIsBaby;
21 ::ll::TypedStorage<8, 64, ::std::optional<::EquipmentTable>> mEquipment;
22 ::ll::TypedStorage<4, 8, ::std::optional<int>> mSize;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 SpawnData(SpawnData const&);
28 SpawnData();
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCAPI explicit SpawnData(::CompoundTag const& tag);
34
35 MCAPI ::SpawnData& operator=(::SpawnData const&);
36
37 MCAPI ::std::unique_ptr<::CompoundTag> save();
38
39 MCAPI ~SpawnData();
40 // NOLINTEND
41
42public:
43 // constructor thunks
44 // NOLINTBEGIN
45 MCAPI void* $ctor(::CompoundTag const& tag);
46 // NOLINTEND
47
48public:
49 // destructor thunk
50 // NOLINTBEGIN
51 MCAPI void $dtor();
52 // NOLINTEND
53};
Definition CompoundTag.h:23
Definition WeightedRandom.h:13