mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-04 19:33:40 +00:00
60 lines
2.4 KiB
C++
60 lines
2.4 KiB
C++
// This Header is auto generated by BDSLiteLoader Toolchain
|
|
#pragma once
|
|
#define AUTO_GENERATED
|
|
#include "../Global.h"
|
|
#include "Item.hpp"
|
|
|
|
#define BEFORE_EXTRA
|
|
|
|
#undef BEFORE_EXTRA
|
|
|
|
class CompoundItem : public Item {
|
|
|
|
#define AFTER_EXTRA
|
|
|
|
#undef AFTER_EXTRA
|
|
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_COMPOUNDITEM
|
|
public:
|
|
class CompoundItem& operator=(class CompoundItem const &) = delete;
|
|
CompoundItem(class CompoundItem const &) = delete;
|
|
CompoundItem() = delete;
|
|
#endif
|
|
|
|
public:
|
|
/*0*/ virtual ~CompoundItem();
|
|
/*5*/ virtual void __unk_vfn_5();
|
|
/*26*/ virtual void __unk_vfn_26();
|
|
/*27*/ virtual void __unk_vfn_27();
|
|
/*31*/ virtual void __unk_vfn_31();
|
|
/*32*/ virtual void __unk_vfn_32();
|
|
/*34*/ virtual void __unk_vfn_34();
|
|
/*37*/ virtual void __unk_vfn_37();
|
|
/*43*/ virtual void __unk_vfn_43();
|
|
/*46*/ virtual void __unk_vfn_46();
|
|
/*47*/ virtual void __unk_vfn_47();
|
|
/*49*/ virtual void __unk_vfn_49();
|
|
/*50*/ virtual void __unk_vfn_50();
|
|
/*65*/ virtual std::string buildDescriptionId(class ItemDescriptor const &, class CompoundTag const *) const;
|
|
/*79*/ virtual void __unk_vfn_79();
|
|
/*80*/ virtual void __unk_vfn_80();
|
|
/*85*/ virtual struct TextureUVCoordinateSet const & getIcon(class ItemStackBase const &, int, bool) const;
|
|
/*87*/ virtual class Item & setIcon(std::string const &, int);
|
|
/*90*/ virtual void __unk_vfn_90();
|
|
/*97*/ virtual void __unk_vfn_97();
|
|
#ifdef ENABLE_VIRTUAL_FAKESYMBOL_COMPOUNDITEM
|
|
#endif
|
|
MCAPI static enum CompoundType getCompoundType(class ItemDescriptor const &);
|
|
MCAPI static class RecipeIngredient getIngredientForCompound(enum CompoundType);
|
|
MCAPI static class ItemInstance getItemForCompound(enum CompoundType, int);
|
|
MCAPI static bool isCompoundItem(class ItemStackBase const &);
|
|
|
|
//private:
|
|
MCAPI void _registerSpecialCompound(class ItemInstance const &, enum CompoundType);
|
|
MCAPI void _registerSpecialCompounds();
|
|
MCAPI static std::string _getName(enum CompoundType);
|
|
|
|
private:
|
|
MCAPI static class std::unordered_map<int, int, struct std::hash<int>, struct std::equal_to<int>, class std::allocator<struct std::pair<int const, int>>> mIdToSpecialCompound;
|
|
MCAPI static class std::unordered_map<int, class ItemInstance, struct std::hash<int>, struct std::equal_to<int>, class std::allocator<struct std::pair<int const, class ItemInstance>>> mTypeToSpecialCompound;
|
|
|
|
}; |