mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-05 03:43:40 +00:00
35 lines
852 B
C++
35 lines
852 B
C++
// This Header is auto generated by BDSLiteLoader Toolchain
|
|
#pragma once
|
|
#define AUTO_GENERATED
|
|
#include "../Global.h"
|
|
#include "Json.hpp"
|
|
|
|
#define BEFORE_EXTRA
|
|
|
|
#undef BEFORE_EXTRA
|
|
|
|
class LootTable {
|
|
|
|
#define AFTER_EXTRA
|
|
|
|
#undef AFTER_EXTRA
|
|
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTTABLE
|
|
public:
|
|
class LootTable& operator=(class LootTable const &) = delete;
|
|
LootTable(class LootTable const &) = delete;
|
|
LootTable() = delete;
|
|
#endif
|
|
|
|
public:
|
|
#ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTTABLE
|
|
#endif
|
|
MCAPI void deserialize(class Json::Value);
|
|
MCAPI std::vector<class ItemStack> getRandomItems(class Random &, class LootTableContext &) const;
|
|
|
|
//private:
|
|
MCAPI std::vector<int> getAvailableSlots(class Container &, class Random &);
|
|
MCAPI void shuffleAndSplitItems(std::vector<class ItemStack> &, int, class Random &);
|
|
|
|
private:
|
|
|
|
}; |