C4 Engine
C4 Engine API Documentation

ControllerRegistration::GetLastFunctionRegistration

Defined in:  C4Controller.h
Returns the last function registration.
Prototype

FunctionRegistration *GetLastFunctionRegistration(void);

Description
The GetLastFunctionRegistration function returns a pointer to the registration object corresponding to the last function registration for the controller type represented by the controller registration object. The entire list of registrations can be iterated by calling the FunctionRegistration::GetPreviousFunctionRegistration function on the returned object and continuing until nullptr is returned.
See Also

FunctionRegistration::GetPreviousFunctionRegistration

FunctionRegistration::GetNextFunctionRegistration

ControllerRegistration::FindFunctionRegistration