BattleSessionMoveExecutedPayload

data class BattleSessionMoveExecutedPayload(val moveId: String, val attackerId: String, val targetId: String, val hitSuccessful: Boolean, val criticalHit: Boolean, val basePower: Int, val damageRoll: Int? = null, val damage: Int) : BattleSessionExecutedActionPayload

move action 执行完成事件 payload。

Constructors

Link copied to clipboard
constructor(moveId: String, attackerId: String, targetId: String, hitSuccessful: Boolean, criticalHit: Boolean, basePower: Int, damageRoll: Int? = null, damage: Int)

Properties

Link copied to clipboard

当前已执行动作的种类。

Link copied to clipboard

出手单位标识。

Link copied to clipboard

当前招式最终威力。

Link copied to clipboard

当前招式是否击中要害。

Link copied to clipboard
val damage: Int

当前招式最终伤害。

Link copied to clipboard

当前招式最终伤害浮动倍率;未参与伤害浮动时为空。

Link copied to clipboard

当前招式是否命中。

Link copied to clipboard

招式标识。

Link copied to clipboard

目标单位标识。

Link copied to clipboard
open override val type: BattleSessionEventType

当前 payload 对应的结构化事件类型。