C4 Engine
C4 Engine API Documentation

Registrable::GetFirstRegistration

Defined in:  C4Creation.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 Registration::GetNextRegistration function on the returned object and continuing until nullptr is returned.
See Also

Registrable::GetLastRegistration

Registrable::FindRegistration

Registration::GetNextRegistration