chore(battle-engine M13): align OnEmit line-cite + HEADLESS marker spelling (review polish)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-06-06 12:34:53 -04:00
parent ac0886389a
commit 73286ba78b
2 changed files with 3 additions and 3 deletions

View File

@@ -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<NetworkBattleDefine.NetworkBattleURI> emitted)

View File

@@ -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; }