C4 Engine
C4 Engine API Documentation

Structure::GetStructureName

Defined in:  TSOpenDDL.h
Returns the structure name.
Prototype

const char *GetStructureName(voidconst;

Description
The GetStructureName function returns the name of a structure. The dollar sign or percent sign at the beginning is omitted. If a structure has no name, then the return value points to an empty string—it is never nullptr.

Whether the structure's name is global or local can be determined by calling the Structure::GetGlobalNameFlag function.
See Also

Structure::GetGlobalNameFlag

Structure::GetStructureType

Structure::GetBaseStructureType