refactor(battle-node): rename ScriptedLifecycle->ServerBattleFrames, ScriptedProfiles->BattleFrameDefaults
Pure rename. These hold the shared server-authored frame builders used by every battle mode's handshake/mulligan dispatch — the 'Scripted' name was a historical accident that hid the PvP/Bot crossover. No behavior change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -21,9 +21,9 @@ internal sealed class LoadedHandler : IFrameHandler
|
||||
var turnState = ReferenceEquals(ctx.From, ctx.A) ? 0 : 1;
|
||||
var r = new List<DispatchRoute>
|
||||
{
|
||||
new(ctx.From, ScriptedLifecycle.BuildBattleStart(
|
||||
new(ctx.From, ServerBattleFrames.BuildBattleStart(
|
||||
ctx.From.Context, ctx.Other.Context, ctx.From.ViewerId, turnState), false),
|
||||
new(ctx.From, ScriptedLifecycle.BuildDeal(), false),
|
||||
new(ctx.From, ServerBattleFrames.BuildDeal(), false),
|
||||
};
|
||||
ctx.SenderPhase = BattleSessionPhase.AwaitingSwap;
|
||||
return r;
|
||||
|
||||
Reference in New Issue
Block a user