getCount

open fun getCount(id: Array<Int>): Int

Counts the stacks of all items with the specified ids

Return

the sum of all item stacks with the specified ids

Parameters

id

the item ids


open fun getCount(name: Array<String>): Int

Counts the stacks of all items with the specified names

Return

the sum of all item stacks with the specified names

Parameters

name

the item ids


open fun getCount(filter: Predicate<EquipmentItem>): Int

Counts the stacks of all items matching the specified filter

Return

the sum of all item stacks matching the specified filter

Parameters

filter

the item filter