avalon
Toggle table of contents
0.0.1-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
avalon
avalon-game-service
/
io.github.lishangbu.avalon.game.battle.api
/
GameBattleCaptureExecutionView
Game
Battle
Capture
Execution
View
data
class
GameBattleCaptureExecutionView
(
val
success
:
Boolean
,
val
playerId
:
String
,
val
ballItemId
:
String
,
val
sourceUnitId
:
String
,
val
targetId
:
String
,
val
shakes
:
Int
,
val
reason
:
String
,
val
finalRate
:
Double
)
面向前端的捕捉动作执行结果视图。
Members
Constructors
Game
Battle
Capture
Execution
View
Link copied to clipboard
constructor
(
success
:
Boolean
,
playerId
:
String
,
ballItemId
:
String
,
sourceUnitId
:
String
,
targetId
:
String
,
shakes
:
Int
,
reason
:
String
,
finalRate
:
Double
)
Properties
ball
Item
Id
Link copied to clipboard
val
ballItemId
:
String
使用的球类道具标识。
final
Rate
Link copied to clipboard
val
finalRate
:
Double
本次捕捉的最终概率。
player
Id
Link copied to clipboard
val
playerId
:
String
发起捕捉的玩家标识。
reason
Link copied to clipboard
val
reason
:
String
本次捕捉结果原因。
shakes
Link copied to clipboard
val
shakes
:
Int
本次捕捉的摇晃次数。
source
Unit
Id
Link copied to clipboard
val
sourceUnitId
:
String
扔球单位标识。
success
Link copied to clipboard
val
success
:
Boolean
本次捕捉是否成功。
target
Id
Link copied to clipboard
val
targetId
:
String
捕捉目标单位标识。