C4 Engine Terathon Software C4 Engine API Documentation

• System Utilities

API Links
Developer Links

Registrable::GetFirstRegistration

Defined in:  C4Construction.h
Returns the first registration.
Prototype

static regType *GetFirstRegistration(void);

Description
The GetFirstRegistration function returns a pointer to the registration object corresponding to the first registration for subclasses of the classType template parameter. The entire list of registrations can be iterated by calling the MapElement::Next function on the returned object and continuing until nullptr is returned.
See Also

Registrable::FindRegistration

Registration