跳到主要内容

assure_connection

获取指定服务器名称和聊天类型的聊天数据库的客户端连接对象

声明

object assure_connection(string server_id, string chat_type = nil)

参数

参数名描述
server_id服务器名称
chat_type聊天类型
private_chat: 私聊
world_chat: 世界频道
chatroom_chat: 聊天室聊天
user_chat: 用户留言
dimension_chat: 跨服聊天

返回值

数据库客户端连接对象

使用方式

返回文档