BattleEngineService
interface BattleEngineService
battle-engine 对外提供的唯一程序化门面。
设计意图:
让调用方通过稳定的应用命令驱动战斗,而不是直接操作底层会话网关;
把初始化、智能 choice 补全、回合推进和结算计划生成统一收口;
为 game 模块保留“只负责真实数据装配和最终落库”的清晰边界。
Inheritors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun queryTargets(sessionId: String, effectId: String, actorUnitId: String): BattleSessionTargetQuery
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun submitCaptureChoice(sessionId: String, command: SubmitCaptureChoiceCommand): BattleSessionQuery
Link copied to clipboard
abstract fun submitItemChoice(sessionId: String, command: SubmitItemChoiceCommand): BattleSessionQuery
Link copied to clipboard
abstract fun submitMoveChoice(sessionId: String, command: SubmitMoveChoiceCommand): BattleSessionQuery
Link copied to clipboard
abstract fun submitReplacementChoice(sessionId: String, command: SubmitReplacementChoiceCommand): BattleSessionQuery
Link copied to clipboard
abstract fun submitRunChoice(sessionId: String, command: SubmitRunChoiceCommand): BattleSessionQuery
Link copied to clipboard
abstract fun submitSwitchChoice(sessionId: String, command: SubmitSwitchChoiceCommand): BattleSessionQuery