Skip to content

Class endstone::PlayerInventory

ClassList > endstone > PlayerInventory

Interface to the inventory of a Player , including the four armor slots and any extra slots.

  • #include <endstone/inventory/player_inventory.h>

Inherits the following classes: endstone::Inventory

Public Functions inherited from endstone::Inventory

See endstone::Inventory

Type Name
virtual int getMaxStackSize () const = 0
Returns the maximum stack size for an ItemStack in this inventory.
virtual int getSize () const = 0
Returns the size of the inventory.
virtual ~Inventory () = default

The documentation for this class was generated from the following file include/endstone/inventory/player_inventory.h