PlayerItem

PlayerItem is an type of object which contains all the information of an item in a player's inventory.

Retrieveing
A list of PlayerItems can be received using these pointers from a Player Inventory :


 * Player.Inventory.ArmorItems:PlayerItem[]
 * Player.Inventory.BarItems:PlayerItem[]
 * Player.Inventory.Items:PlayerItem[]

PlayerItem Handles

 * PlayerItem.Consume(int qty):void
 * PlayerItem.Drop:void
 * PlayerItem.IsEmpty:bool
 * PlayerItem.TryCombine(PlayerItem pi):bool
 * PlayerItem.TryStack(PlayerItem pi):bool

PlayerItem Pointers

 * PlayerItem.InventoryItem:IInventoryItem
 * PlayerItem.Name:string
 * PlayerItem.Quantity:int
 * PlayerItem.Slot:int
 * PlayerItem.UsesLeft:int