Welcome to PenUltima Online. Click to login or register.

Functions:

EnumerateItemsInContainer( container, flags := 0 )
Parameters:
Name Type
container Container Reference
flags Integer
Explanation
Returns an array of the contents of a container.
Notes: If 'container' is itself locked, its contents will still be enumerated.
Notes: uo.em constant for this function:
const ENUMERATE_IGNORE_LOCKED := 1; // List content of locked container
Return values
An Array of Item References on success
Errors
"Invalid parameter type"
none (returns 0 on different errors)
Related
Container