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 void addAdditionalSaveData(::CompoundTag& tag) const;
31
32 MCAPI void readAdditionalSaveData(::CompoundTag const& tag);
33
34 MCAPI ~EquipmentTable();
35 // NOLINTEND
36
37public:
38 // static functions
39 // NOLINTBEGIN
40 MCAPI static ::std::vector<::EquipmentTableDropChance> _createDropChancesFromTag(::Tag const& tag);
41
42 MCAPI static ::std::unique_ptr<::CompoundTag>
43 _createTagFromDropChances(::std::vector<::EquipmentTableDropChance> const& dropChances);
44 // NOLINTEND
45
46public:
47 // constructor thunks
48 // NOLINTBEGIN
49 MCAPI void* $ctor(::EquipmentTable const&);
50 // NOLINTEND
51
52public:
53 // destructor thunk
54 // NOLINTBEGIN
55 MCFOLD void $dtor();
56 // NOLINTEND
57};
Definition CompoundTag.h:23
Definition Tag.h:42
Definition EquipmentTableDropChance.h:8