#include <ai_list.hpp>
Public Member Functions | |
void | AddItem (int32 item, int32 value) |
Add an item to the list. | |
void | ChangeItem (int32 item, int32 value) |
Change the value of an item in the list. | |
void | RemoveItem (int32 item) |
Remove the item from the list. | |
SQInteger | _set (HSQUIRRELVM vm) |
Used for [] set from Squirrel. | |
Static Public Member Functions | |
static const char * | GetClassName () |
Definition at line 14 of file ai_list.hpp.
void AIList::AddItem | ( | int32 | item, | |
int32 | value | |||
) |
Add an item to the list.
item | the item to add. | |
value | the value to assign. |
Definition at line 8 of file ai_list.cpp.
References AIAbstractList::AddItem(), and AIAbstractList::SetValue().
Referenced by _set().
void AIList::ChangeItem | ( | int32 | item, | |
int32 | value | |||
) |
Change the value of an item in the list.
item | the item to change | |
value | the value to assign. |
Definition at line 14 of file ai_list.cpp.
References AIAbstractList::SetValue().
Referenced by _set().
void AIList::RemoveItem | ( | int32 | item | ) |
Remove the item from the list.
item | the item to remove. |
Reimplemented from AIAbstractList.
Definition at line 19 of file ai_list.cpp.
References AIAbstractList::RemoveItem().
Referenced by _set().