Game API Inventory

From Empyrion: Galactic Survival Wiki
Jump to: navigation, search

Index: GameAPI > CmdId

Inventory[edit | edit source]

Class used to pass entity id information.

Properties[edit | edit source]

public int playerId[edit | edit source]

Used to assign entity id.

public ItemStack[] toolbelt;[edit | edit source]

Array of items in players toolbelt.

public ItemStack[] bag;[edit | edit source]

Array of items in players backpack.

Methods[edit | edit source]

public Inventory()[edit | edit source]

Constructor.

public Inventory(int nPlayerId, ItemStack[] nToolbelt, ItemStack[] nBag)[edit | edit source]

Constructor, with parameters.