GameBattleSessionView

data class GameBattleSessionView(val snapshot: GameBattleSnapshotView, val turnStatus: BattleSessionTurnStatus?, val pendingActions: List<GameBattleActionView>, val choiceStatuses: List<GameBattleChoiceStatusView>, val replacementRequests: List<GameBattleReplacementRequestView>, val resourceLedger: List<GameBattleResourceUsageView>, val captureResourceLedger: List<GameBattleCaptureResourceUsageView>, val battleLogs: List<String>, val events: List<GameBattleEventView>)

面向前端的战斗会话视图。

Constructors

Link copied to clipboard
constructor(snapshot: GameBattleSnapshotView, turnStatus: BattleSessionTurnStatus?, pendingActions: List<GameBattleActionView>, choiceStatuses: List<GameBattleChoiceStatusView>, replacementRequests: List<GameBattleReplacementRequestView>, resourceLedger: List<GameBattleResourceUsageView>, captureResourceLedger: List<GameBattleCaptureResourceUsageView>, battleLogs: List<String>, events: List<GameBattleEventView>)

Properties

Link copied to clipboard

面向前端的人类可读 battle log。

Link copied to clipboard

当前捕捉资源账本视图列表。

Link copied to clipboard

当前回合各 side 的输入状态视图列表。

Link copied to clipboard

面向前端的结构化事件视图列表。

Link copied to clipboard

当前待执行动作视图列表。

Link copied to clipboard

当前待处理替补请求视图列表。

Link copied to clipboard

当前资源账本视图列表。

Link copied to clipboard

当前战斗快照视图。

Link copied to clipboard

当前运行中回合的派生状态;非运行阶段时为空。