Skip to content

格式

typescript
NetConversation.Send(message)

所属类: NetConversation

描述

从服务器发送消息给客户端。

参数

参数名类型描述
messagestring发送的消息

返回值

类型描述
void

代码示例

typescript
NetServer.on_converastion_connect = async (conv: NetConversation) => {
    conv.Send("hello world");
}