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
ReduxGame 事件可用的操作