C4 Engine
C4 Engine API Documentation

Map::PurgeMap

Defined in:  TSMap.h
Deletes all elements in a map.
Prototype

void PurgeMap(void);

Description
The PurgeMap function deletes all objects contained in a map. The map is subsequently empty. To remove all elements of a map without destroying them, use the Map::RemoveAllMapElements function.
See Also

Map::RemoveMapElement

Map::RemoveAllMapElements

MapElement::Detach