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

42 lines
1.2 KiB
C++

// This Header is auto generated by BDSLiteLoader Toolchain
#pragma once
#define AUTO_GENERATED
#include "../Global.h"
#include "FillingContainer.hpp"
#define BEFORE_EXTRA
#undef BEFORE_EXTRA
class Inventory : public FillingContainer {
#define AFTER_EXTRA
#undef AFTER_EXTRA
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INVENTORY
public:
class Inventory& operator=(class Inventory const &) = delete;
Inventory(class Inventory const &) = delete;
Inventory() = delete;
#endif
public:
/*0*/ virtual ~Inventory();
/*1*/ virtual void init();
/*9*/ virtual void setItem(int, class ItemStack const &);
/*10*/ virtual void setItemWithForceBalance(int, class ItemStack const &, bool);
/*22*/ virtual void __unk_vfn_22();
/*23*/ virtual void __unk_vfn_23();
/*32*/ virtual bool add(class ItemStack &);
/*33*/ virtual bool canAdd(class ItemStack const &) const;
/*34*/ virtual void dropAll(bool);
/*39*/ virtual int getEmptySlotsCount() const;
/*40*/ virtual int getFirstEmptySlot() const;
/*41*/ virtual void setContainerSize(int);
#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INVENTORY
#endif
MCAPI Inventory(class Player *);
MCAPI void setupDefault();
MCAPI void tick(int);
};