C4 Engine
C4 Engine API Documentation

StructureRef::AddName

Defined in:  TSData.h
Adds a name to a reference.
Prototype

void AddName(String<>&& name);

Parameters
name The name to add to the sequence stored in the reference. The dollar sign or percent sign should be omitted.
Description
The AddName function adds the name specified by the name parameter to the array of names stored in a structure reference. A move constructor is used to add the name to the array, so the string object passed in to this function becomes the empty string upon return.
See Also

StructureRef::GetNameArray

StructureRef::GetGlobalRefFlag

StructureRef::ResetRef