C4 Engine
C4 Engine API Documentation

Registrable::GetLastRegistration

Defined in:  C4Creation.h
Returns the last registration.
Prototype

static regType *GetLastRegistration(void);

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

Registrable::GetLastRegistration

Registrable::FindRegistration

Registration::GetPreviousRegistration