Skip to main content

Enumeration: MethodParamType

Types of parameters that can be injected into controller event handlers. Used by the parameter decorators to determine what data to supply.

Enumeration Members

PARAM

PARAM: "param"

Injects a specific property from the event payload. The decorator’s data argument specifies the key to extract.


PAYLOAD

PAYLOAD: "payload"

Injects the entire event payload object as the parameter value.


PLAYER

PLAYER: "player"

Injects the player instance associated with the event, if the event context provides one.