public bool TryStack(PlayerItem pi) { return(!this.IsEmpty() && !pi.IsEmpty() && this.Item.TryStack(pi.Item) != InventoryItem.MergeResult.Failed); }
public void DropItem(PlayerItem pi) { DropHelper.DropItem(this.InternalInventory, pi.Slot); }
public bool TryCombine(PlayerItem pi) { return((!this.IsEmpty() && !pi.IsEmpty()) && (this.Item.TryCombine(pi.Item) != InventoryItem.MergeResult.Failed)); }