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
/
BattleSessionEvent
Battle
Session
Event
data
class
BattleSessionEvent
(
val
turn
:
Int
,
val
payload
:
BattleSessionEventPayload
)
BattleSession 结构化事件。
Members
Constructors
Battle
Session
Event
Link copied to clipboard
constructor
(
turn
:
Int
,
payload
:
BattleSessionEventPayload
)
Properties
payload
Link copied to clipboard
val
payload
:
BattleSessionEventPayload
当前事件的强类型 payload。
turn
Link copied to clipboard
val
turn
:
Int
事件发生时的回合数。
type
Link copied to clipboard
val
type
:
BattleSessionEventType
当前事件对应的结构化事件类型。