ServerRemoteChannel 类用于在服务端和客户端之间进行事件通信。
The ServerRemoteChannel class is used for event communication between the server and clients.
服务端发送至客户端,向所有玩家发送事件。
Server sends to client, broadcasts an event to all players.
要广播的事件。
The event to broadcast.
https://docs.dao3.fun/arenapro/zh/difference/remoteChannel.html
监听客户端发来的事件。
Listens for events sent from the client.
事件处理函数。
The event handler function.
事件处理器令牌。
The event handler token.
服务端发送至客户端,向指定玩家发送事件。
Server sends to client, sends an event to specified players.
要发送事件的玩家实体或实体列表。
The player entity or list of entities to send the event to.
要发送的事件。
The event to send.
Zh
ServerRemoteChannel 类用于在服务端和客户端之间进行事件通信。
En
The ServerRemoteChannel class is used for event communication between the server and clients.