LeviLamina
Loading...
Searching...
No Matches
LootTable.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Container;
8class LootPool;
10class Random;
11namespace Json { class Value; }
12// clang-format on
13
14class LootTable {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<8, 32, ::std::string> mDir;
19 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::LootPool>>> mPools;
20 // NOLINTEND
21
22public:
23 // member functions
24 // NOLINTBEGIN
25 MCAPI void deserialize(::Json::Value const& table, bool usingUpcomingCreatorFeaturesExperiment);
26
27 MCAPI void fill(::Container& container, ::Random& random, ::LootTableContext& context);
28
29 MCFOLD ::std::string getDir() const;
30 // NOLINTEND
31};
Definition Container.h:33
Definition Value.h:16
Definition LootPool.h:18
Definition LootTableContext.h:20
Definition LootTable.h:14
Definition Random.h:10
Definition context.h:5