当前玩家的 Client
游戏玩家列表(不包括 masterClient 的 playerList)
游戏状态
Calls each of the listeners registered for a given event.
派发游戏事件,在客户端派发的事件会同时在客户端与服务端被处理
事件名
事件的有效载荷
Return an array listing the events for which the emitter has registered listeners.
Return the number of listeners listening to a given event.
Return the listeners registered for a given event.
Add a listener for a given event.
Add a one-time listener for a given event.
Remove all listeners, or those of the specified event.
Remove the listeners of a given event.
Generated using TypeDoc
object
should be in either of the following forms:interface EventTypes { 'event-with-parameters': any[] 'event-with-example-handler': (...args: any[]) => void }