refactor(battle-node): remove ScriptedBotParticipant and dev-affordance wiring
Deletes the scripted opponent and every entry point that created a BattleType.Scripted session (the ?scripted=1 query opt-in, the SoloDefaultsToScripted toggle, the resolver short-circuit, the WS handler case, the bridge validation arm). Real two-client PvP and the Bot matchmaking-timeout fallback are untouched. ResolveAsync drops its scriptedOptIn parameter. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -127,8 +127,8 @@ public static class ScriptedLifecycle
|
||||
IdxChangeSeed: ScriptedProfiles.ReadyIdxChangeSeed,
|
||||
Spin: ScriptedProfiles.ReadySpin));
|
||||
|
||||
// --- Client-shaped emissions used by ScriptedBotParticipant so the session brokers
|
||||
// the bot through the same handshake arms as a human. Bodies for the parameterless
|
||||
// --- Client-shaped emissions (legacy scripted-bot scaffolding, pending removal) so the
|
||||
// session brokers the bot through the same handshake arms as a human. Bodies for the parameterless
|
||||
// handshake frames are ignored by the session (it reads from.Context / phase); only
|
||||
// Swap's idxList is consumed (empty = keep the dealt hand).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user