PropCollection

PropCollection class

Prop collection.

Properties

NameTypeDescription
Countint
Item (int)Prop

Methods

NameDescription
addAdd the Prop object in the collection.
removeRemove the Prop object from the collection.
getPropGets the element at the specified ID.
clear
removeAt
iteratorReserved for internal use.

PropCollection.Count property

Type: int

PropCollection.Item (int) property

Type: Prop

add(item)

Add the Prop object in the collection.

remove(item)

Remove the Prop object from the collection.

getProp(ID) (1 of 2)

Gets the element at the specified ID.

ParameterTypeDescription
IDint

getProp(name) (2 of 2)

Gets the element at the specified name.

ParameterTypeDescription
nameString

clear()

removeAt(index)

iterator()

Reserved for internal use.