GameBattleCaptureResourceUsageView

data class GameBattleCaptureResourceUsageView(val playerId: String, val sourceUnitId: String, val ballItemId: String, val targetUnitId: String, val quantity: Int, val success: Boolean, val shakes: Int, val reason: String, val finalRate: Double)

面向前端的捕捉资源账本视图。

Constructors

Link copied to clipboard
constructor(playerId: String, sourceUnitId: String, ballItemId: String, targetUnitId: String, quantity: Int, success: Boolean, shakes: Int, reason: String, finalRate: Double)

Properties

Link copied to clipboard

使用的球类道具标识。

Link copied to clipboard

本次捕捉的最终概率。

Link copied to clipboard

发起捕捉的玩家标识。

Link copied to clipboard

本次消耗数量。

Link copied to clipboard

本次捕捉结果原因。

Link copied to clipboard
val shakes: Int

本次捕捉的摇晃次数。

Link copied to clipboard

扔球单位标识。

Link copied to clipboard

本次捕捉是否成功。

Link copied to clipboard

目标单位标识。