avalon
Toggle table of contents
0.0.1-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
avalon
avalon-game-battle-engine
/
io.github.lishangbu.avalon.game.battle.engine.core.session
/
BattleSessionCaptureResult
Battle
Session
Capture
Result
data
class
BattleSessionCaptureResult
(
val
success
:
Boolean
,
val
playerId
:
String
,
val
ballItemId
:
String
,
val
sourceUnitId
:
String
,
val
targetId
:
String
,
val
shakes
:
Int
,
val
reason
:
String
,
val
finalRate
:
Double
)
捕捉行动在 battle 内部的执行结果。
Members
Constructors
Battle
Session
Capture
Result
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