C4 Engine
C4 Engine API Documentation

StructureRef::ResetRef

Defined in:  TSData.h
Resets a reference to an empty sequence of names.
Prototype

void ResetRef(bool global = true);

Parameters
global A boolean value that indicates whether the reference is global.
Description
The ResetRef function removes all of the names stored in a structure reference, making the name array empty. Upon return, the structure reference is a null reference. New names can be added to the reference by calling the StructureRef::AddName function. The global parameter specifies whether the first name added is a global name or local name.
See Also

StructureRef::AddName

StructureRef::GetNameArray

StructureRef::GetGlobalRefFlag