跳到主要内容

cmd_auth_account

新建一个发送客户端命令[cmd_auth_account]的class实例

命令作用:

  • 验证登录

命令参数:

  • account: 待验证的用户id(string类型 - 可选)

  • password: 登录密码,当用户的验证类型(auth_type)为password时必须填该值(string类型 - 必选)

  • server_id: 用户的所属服务器(string类型 - 可选)

声明

SocialClientCmdBase cmd_auth_account()

参数

参数名描述

返回值

SocialClientCmdBase实例

使用方式

返回文档