# Interface: CommitGameResultParams
• CommitGameResultParams()
获取对局信息 - 请求参数
# Properties
# Readonly
battleResult
• battleResult: 0 | 1
游戏对局标识0:游戏正常对局;1:游戏异常对局(这种情况会忽略游戏的对局数据)
Returns: 0 | 1
# Readonly
playerResults
• playerResults: keyof PlayerResult[]
所有玩家的对战结果
Returns: keyof PlayerResult[]
# Methods
# Optional
complete
▸ complete(this
: void, res
: void | MogsError): void
Inherited from GetUserSignParams.complete
操作完成时(成功或失败),均会调用该回调函数
# 参数:
属性 | 类型 |
---|---|
this | void |
res | void | MogsError |
# 返回值:
void
# Optional
fail
▸ fail(this
: void, error
: MogsError): void
Inherited from GetUserSignParams.fail
操作失败时,调用该回调函数
# 参数:
属性 | 类型 |
---|---|
this | void |
error | MogsError |
# 返回值:
void
# Optional
success
▸ success(this
: void, res
: void): void
Inherited from GetUserSignParams.success
操作成功时,调用该回调函数
# 参数:
属性 | 类型 |
---|---|
this | void |
res | void |
# 返回值:
void