| Name | Parameters | Return value | Notes |
| () (constructor) |
|
|
Creates a new empty cItems object |
| Add |
|
|
Adds a new item to the end of the collection |
| Add |
| ItemType | number | | ItemCount | number | | ItemDamage | number |
|
|
Adds a new item to the end of the collection |
| AddItemGrid |
|
|
Adds a copy of each item in the specified ItemGrid. |
| Clear |
|
|
Removes all items from the collection |
| Contains |
|
|
Returns true if the collection contains an item that is fully equivalent to the parameter |
| ContainsType |
|
|
Returns true if the collection contains an item that is the same type as the parameter |
| Delete |
|
|
Deletes item at the specified index |
| Get |
|
|
Returns the item at the specified index |
| Set |
| Index | number | | ItemType | number | | ItemCount | number | | ItemDamage | number |
|
|
Sets the item at the specified index to the specified item |
| Set |
|
|
Sets the item at the specified index to the specified item |
| Size |
|
|
Returns the number of items in the collection |