emitEvent
emitEvent: <N>(name: N, payload?: EP[N], options?: undefined | { emitter?: Player }) => any
Type declaration
-
- <N>(name: N, payload?: EP[N], options?: undefined | { emitter?: Player }): any
-
Type parameters
Parameters
-
name: N
-
Optional payload: EP[N]
-
Optional options: undefined | { emitter?: Player }
Returns any
可用的操作