Returns a vector of all instances of a given
Type.
Code cpp:
VAULTSCRIPT VAULTSPACE UCount (*VAULTAPI(GetList))(VAULTSPACE Type, VAULTSPACE RawArray(VAULTSPACE ID)*) VAULTCPP(noexcept);
Code cp:
native GetList(Type:type, id[]);
Type - the type
Pointer to RawArray of ID - used to return a pointer to the resulting vector
id (PAWN only) - an array large enough to hold all instances. See
GetCount
Returns a
UCount, which is the number of instances in the vector.