C4 Engine
C4 Engine API Documentation

List::AppendListElement

Defined in:  TSList.h
Adds an object to the end of a list.
Prototype

void AppendListElement(ListElement<type> *element);

Parameters
element A pointer to the object to add to the list.
Description
The ListElement function adds the object specified by the element parameter to the end of a list. If the object is already a member of the list, then it is moved to the end.

If the object being added is already a member of a different list of the same type, then it is first removed from that list before being added to the new list.
See Also

List::PrependListElement

List::InsertListElementBefore

List::InsertListElementAfter