getCount

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

Sums the item stacks of the other player's offered items with the specified item ids

Return

the sum of item stacks of the other player's offered items with the specified ids

Parameters

id

the item ids


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

Sums the item stacks of the other player's offered items with the specified item names

Return

the sum of item stacks of the other player's offered items with the specified names

Parameters

name

the item names


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

Sums the item stacks of the other player's offered items matching the specified filter

Return

the sum of item stacks of the other player's offered items matching the specified filter

Parameters

filter

the item filter