C4 Engine
C4 Engine API Documentation

MethodRegistration::GetMethodName

Defined in:  C4Methods.h
Returns the human-readable method name.
Prototype

const char *GetMethodName(int32 index) const;

Parameters
index The part of the name to return. This must be 0 or 1.
Description
The GetMethodName function returns the human-readable method name for a particular method registration. The method name is established when the method registration is constructed. Method names can have two parts, and the index parameter specifies which part to return. If a method name only has one part and index is 1, then nullptr is returned.
See Also

MethodRegistration::GetMethodType

MethodRegistration::GetMethodFlags