Aura.Channel.World.Inventory.InventoryPocketStack.CountItem C# (CSharp) Method

CountItem() public method

public CountItem ( bool>.Func predicate ) : int
predicate bool>.Func
return int
		public override int CountItem(Func<Item, bool> predicate)
		{
			return _items.Where(predicate)
				.Aggregate(0, (current, item) => current + item.Info.Amount);
		}

Same methods

InventoryPocketStack::CountItem ( int itemId ) : int
InventoryPocketStack::CountItem ( string tag ) : int