C4 Engine Terathon Software C4 Engine API Documentation

• Utility Library

API Links
Developer Links

MapElement::GetOwningMap

Defined in:  C4Map.h
Returns the map to which an object belongs.
Prototype

Map<type> *GetOwningMap(voidconst;

Description
The GetOwningMap function returns a pointer to the Map container to which an object belongs. If the object is not a member of a map, then the return value is nullptr.
See Also

Map::Member