LeviLamina
Loading...
Searching...
No Matches
EquipmentTable.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class CompoundTag;
8class Tag;
10// clang-format on
11
12struct EquipmentTable {
13public:
14 // member variables
15 // NOLINTBEGIN
16 ::ll::TypedStorage<8, 32, ::std::string> mLootTableFilePath;
17 ::ll::TypedStorage<8, 24, ::std::vector<::EquipmentTableDropChance>> mDropChancesPerSlot;
18 // NOLINTEND
19
20public:
21 // prevent constructor by default
22 EquipmentTable& operator=(EquipmentTable const&);
23 EquipmentTable();
24
25public:
26 // member functions
27 // NOLINTBEGIN
28 MCAPI EquipmentTable(::EquipmentTable const&);
29
30 MCAPI explicit EquipmentTable(::std::string lootTable);
31
32 MCAPI explicit EquipmentTable(::CompoundTag const& tag);
33
34 MCAPI void addAdditionalSaveData(::CompoundTag& tag) const;
35
36 MCFOLD ::EquipmentTable& operator=(::EquipmentTable&&);
37
38 MCAPI void readAdditionalSaveData(::CompoundTag const& tag);
39 // NOLINTEND
40
41public:
42 // static functions
43 // NOLINTBEGIN
44 MCAPI static ::std::vector<::EquipmentTableDropChance> _createDropChancesFromTag(::Tag const& tag);
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCFOLD void* $ctor(::EquipmentTable const&);
51
52 MCAPI void* $ctor(::std::string lootTable);
53
54 MCAPI void* $ctor(::CompoundTag const& tag);
55 // NOLINTEND
56};
Definition CompoundTag.h:23
Definition Tag.h:42
Definition EquipmentTableDropChance.h:8