LiteLoaderBDS-1.16.40/LiteLoader/Header/MC/SpecificEnchantFunction.hpp
2022-09-21 19:47:03 +08:00

37 lines
1.1 KiB
C++

// This Header is auto generated by BDSLiteLoader Toolchain
#pragma once
#define AUTO_GENERATED
#include "../Global.h"
#include "Json.hpp"
#include "LootItemFunction.hpp"
#define BEFORE_EXTRA
#undef BEFORE_EXTRA
class SpecificEnchantFunction : public LootItemFunction {
#define AFTER_EXTRA
#undef AFTER_EXTRA
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_SPECIFICENCHANTFUNCTION
public:
class SpecificEnchantFunction& operator=(class SpecificEnchantFunction const &) = delete;
SpecificEnchantFunction(class SpecificEnchantFunction const &) = delete;
SpecificEnchantFunction() = delete;
#endif
public:
/*0*/ virtual ~SpecificEnchantFunction();
/*1*/ virtual void apply(class ItemStack &, class Random &, class LootTableContext &);
/*3*/ virtual void apply(class ItemInstance &, class Random &, class LootTableContext &);
#ifdef ENABLE_VIRTUAL_FAKESYMBOL_SPECIFICENCHANTFUNCTION
#endif
MCAPI static std::unique_ptr<class LootItemFunction> deserialize(class Json::Value, std::vector<std::unique_ptr<class LootItemCondition>> &);
//private:
MCAPI void _applyInner(class ItemStackBase &, class Random &, class LootTableContext &, bool);
private:
};