This site has been archived and made available for preservation purposes. No edits can be made.

GetContainerItemCount

Retrieves the current count of an Item in a Container.

[top]Declaration

Code cpp:
VAULTSCRIPT vaultmp::UCount (*GetContainerItemCount)(vaultmp::ID, vaultmp::Base);
native GetContainerItemCount(ID, base);

[top]Parameters

vaultmp::ID - the ID of the Container
vaultmp::Base - the base of the Item. If zero, will return the total number of all items

[top]Return value

Returns a vaultmp::UCount.