// 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 LootItemFunction { #define AFTER_EXTRA #undef AFTER_EXTRA #ifndef DISABLE_CONSTRUCTOR_PREVENTION_LOOTITEMFUNCTION public: class LootItemFunction& operator=(class LootItemFunction const &) = delete; LootItemFunction(class LootItemFunction const &) = delete; LootItemFunction() = delete; #endif public: /*0*/ virtual ~LootItemFunction(); /*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &) = 0; /*2*/ virtual int apply(class ItemStack &, class Random &, struct Trade const &, class LootTableContext &); /*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &) = 0; /*4*/ virtual int apply(class ItemInstance &, class Random &, struct Trade const &, class LootTableContext &); #ifdef ENABLE_VIRTUAL_FAKESYMBOL_LOOTITEMFUNCTION #endif MCAPI static std::unique_ptr deserialize(class Json::Value); //private: private: MCAPI static class std::unordered_map (class Json::Value &, std::vector> &)>, struct std::hash, struct std::equal_to, class std::allocator (class Json::Value &, std::vector> &)>>>> const mLootingFunctions; };