C4 Engine
C4 Engine API Documentation

Registrable::FindRegistration

Defined in:  C4Creation.h
Returns a specific registration by its type.
Prototype

static regType *FindRegistration(Type type);

Parameters
type The type of the subclass.
Description
The FindRegistration function returns a pointer to the registration object corresponding to the subclass type specified by the type parameter. If no such registration exists, then the return value is nullptr.
See Also

Registrable::GetFirstRegistration

Registrable::GetLastRegistration

Registration