BattleMutationInterceptor
interface BattleMutationInterceptor
battle mutation 拦截器。
设计意图:
把状态附加、挥发状态附加等会被前置 hook 拦截的 mutation 判断逻辑拆成独立组件。
允许通过链式组合方式逐步扩展 mutation interception 行为。
Inheritors
Functions
Link copied to clipboard
abstract fun intercept(context: BattleMutationInterceptionContext, attachedEffectProcessor: BattleAttachedEffectProcessor): BattleMutationInterceptionResult
拦截当前 mutation。
Link copied to clipboard
判断当前拦截器是否负责处理给定 mutation。