Interface: PlayerParameter
Metadata for a controller method parameter that receives the player instance associated with the event.
Extends
Properties
data?
optional
data:string
Optional extra data for the decorator, such as the payload property key
when type
is MethodParamType.PARAM
.
Inherited from
defaultValue?
optional
defaultValue:any
Inherited from
index
index:
number
The zero-based position of this parameter in the method signature.
Inherited from
isOptional?
optional
isOptional:boolean
Inherited from
metatype?
optional
metatype:Function
Inherited from
method?
optional
method:string
Inherited from
type
type:
PLAYER
The parameter kind: inject the player object.