Skip to main content

Interface: ArgumentMetadata

Describes metadata for a single parameter of a controller event handler, indicating what value should be injected at runtime.

Extended by

Properties

data?

optional data: string

Optional extra data for the decorator, such as the payload property key when type is MethodParamType.PARAM.


index

index: number

The zero-based position of this parameter in the method signature.


type

type: MethodParamType

The kind of parameter to inject (entire payload, single property, player object, etc.).