File SimpleContainer.hpp

class SimpleContainer : public Container

Subclassed by PlayerUIContainer

Public Functions

inline virtual void serverInitItemStackIds(int, int, std::function<void(int, const ItemStack&)>) override
inline virtual const ItemStack &getItem(int slot) const override
inline virtual void setItem(int slot, const ItemStack &item) override
inline virtual int getContainerSize() const override
inline virtual int getMaxStackSize() const override
inline virtual void startOpen(Player&) override

Public Members

int mSize
std::vector<ItemStack> mItems