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:
@@ -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)
|
||||
|
||||
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user