From 73286ba78b7a9fc949c3918ea97e15f22a706cca Mon Sep 17 00:00:00 2001 From: gamer147 Date: Sat, 6 Jun 2026 12:34:53 -0400 Subject: [PATCH] chore(battle-engine M13): align OnEmit line-cite + HEADLESS marker spelling (review polish) Co-Authored-By: Claude Opus 4.8 --- SVSim.BattleEngine.Tests/HeadlessFixture.cs | 2 +- SVSim.BattleEngine/Shim/Generated/_IfaceImpl.g.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SVSim.BattleEngine.Tests/HeadlessFixture.cs b/SVSim.BattleEngine.Tests/HeadlessFixture.cs index 40c1efc..a285d3c 100644 --- a/SVSim.BattleEngine.Tests/HeadlessFixture.cs +++ b/SVSim.BattleEngine.Tests/HeadlessFixture.cs @@ -355,7 +355,7 @@ namespace SVSim.BattleEngine.Tests // M13 emit-path read. Builds a HeadlessNetworkBattleMgr (the emitting twin of the // HeadlessBattleMgr NewAuthoritativeBattle returns) and stands up the OnEmit capture seam: the - // engine's own RealTimeNetworkAgent.OnEmit event (RealTimeNetworkAgent.cs:1268) fires the played + // engine's own RealTimeNetworkAgent.OnEmit event (RealTimeNetworkAgent.cs:1270) fires the played // URI before both emit guards, so capturing it needs no Engine/shim edit — just an injected agent. // Returns (mgr, emitted-URI list). The caller seeds the hand and drives mgr.OperateMgr.PlayCard. public static (HeadlessNetworkBattleMgr mgr, System.Collections.Generic.List emitted) diff --git a/SVSim.BattleEngine/Shim/Generated/_IfaceImpl.g.cs b/SVSim.BattleEngine/Shim/Generated/_IfaceImpl.g.cs index 53e5765..2fe1dc0 100644 --- a/SVSim.BattleEngine/Shim/Generated/_IfaceImpl.g.cs +++ b/SVSim.BattleEngine/Shim/Generated/_IfaceImpl.g.cs @@ -212,7 +212,7 @@ namespace Wizard.Battle.View { ITurnEndButtonUI global::Wizard.Battle.View.IBattlePlayerView.TurnEndButtonUI { get => default!; } GameObject global::Wizard.Battle.View.IBattlePlayerView.EpIcon { get => default!; } bool global::Wizard.Battle.View.IBattlePlayerView.IsSelecting { get => default!; } - // HEADLESS FILL (M13): generator emitted `default!` (null); the OperateMgr emit path calls + // HEADLESS-FIX (M13): generator emitted `default!` (null); the OperateMgr emit path calls // BattleView.HandView.RemoveCardFromView (BattlePlayerBase.cs:1422). Redirect to a shared no-op // HandViewBase so the presentation call is a safe no-op (the played card is never in its list). HandViewBase global::Wizard.Battle.View.IBattlePlayerView.HandView { get => global::Wizard.Battle.View.HeadlessHandViewStub.Instance; } @@ -315,7 +315,7 @@ namespace Wizard.Battle.View { ITurnEndButtonUI global::Wizard.Battle.View.IBattlePlayerView.TurnEndButtonUI { get => default!; } GameObject global::Wizard.Battle.View.IBattlePlayerView.EpIcon { get => default!; } bool global::Wizard.Battle.View.IBattlePlayerView.IsSelecting { get => default!; } - // HEADLESS FILL (M13): generator emitted `default!` (null); the OperateMgr emit path calls + // HEADLESS-FIX (M13): generator emitted `default!` (null); the OperateMgr emit path calls // BattleView.HandView.RemoveCardFromView (BattlePlayerBase.cs:1422). Redirect to a shared no-op // HandViewBase so the presentation call is a safe no-op (the played card is never in its list). HandViewBase global::Wizard.Battle.View.IBattlePlayerView.HandView { get => global::Wizard.Battle.View.HeadlessHandViewStub.Instance; }