sm.container.totalQuantity

Returns the total number of a given item uuid in a container.

Kind: Function

Environments: Game

Game

sm.container.totalQuantity( container, itemUuid )

Open the full Game reference

Parameters:

Name Type Description
container Container The container.
itemUuid Uuid The uuid of the item.

Returns:

Type Description
integer The quantity of the given item uuid.