# Interface: GetCurrentGameStatusParams

GetCurrentGameStatusParams()

主动获取用户当前游戏状态 - 请求参数

# Methods

# Optional complete

complete(this: void, res: GetCurrentGameStatusRes | MogsError): void

Inherited from BindTelNumberParams.complete

操作完成时(成功或失败),均会调用该回调函数

# 参数:

属性 类型
this void
res GetCurrentGameStatusRes | MogsError

# 返回值:

void


# Optional fail

fail(this: void, error: MogsError): void

Inherited from BindTelNumberParams.fail

操作失败时,调用该回调函数

# 参数:

属性 类型
this void
error MogsError

# 返回值:

void


# Optional success

success(this: void, res: GetCurrentGameStatusRes): void

Inherited from BindTelNumberParams.success

操作成功时,调用该回调函数

# 参数:

属性 类型
this void
res GetCurrentGameStatusRes

GetCurrentGameStatusRes

属性 类型 描述
eventList? keyof MogsEvent[] 当前 Action 所触发的所有事件的列表
gameSource? EntryType 若在游戏中,则返回游戏来源
status 0 | 1 状态 0-不在游戏中 1-在游戏中

# 返回值:

void