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
/
GameBattleEventView
Game
Battle
Event
View
data
class
GameBattleEventView
(
val
type
:
BattleSessionEventType
,
val
turn
:
Int
,
val
payload
:
BattleSessionEventPayload
)
面向前端的 battle 事件视图。
Members
Constructors
Game
Battle
Event
View
Link copied to clipboard
constructor
(
type
:
BattleSessionEventType
,
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
当前事件类型。