cull(engine-cleanup): pass-8 phase-2 cascade round 1

[trim] fully-unreachable files deleted: 6
[trim] files edited: 55, files deleted: 0, nodes removed: 244
[type-trim] files edited: 1, types removed: 1

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-07-03 21:18:18 -04:00
parent 3fb37f0249
commit c9628dee01
61 changed files with 4 additions and 1109 deletions

View File

@@ -6,27 +6,10 @@ public static class ToolboxGame
{
public static UIManager UIManager = null;
public static RealTimeNetworkAgent RealTimeNetworkAgent
{
// Instance-backed via BattleManagerBase.InstanceNetworkAgent (Phase 5, chunk 40 — ambient
// fallback dropped after chunk 38 converted all 60 consumers to per-mgr reads).
get => BattleManagerBase.GetIns()?.InstanceNetworkAgent;
}
public static void SetRealTimeNetworkBattle(RealTimeNetworkAgent agent)
{
var mgr = BattleManagerBase.GetIns()
?? throw new System.InvalidOperationException("SetRealTimeNetworkBattle called with no attached mgr.");
mgr.InstanceNetworkAgent = agent;
}
public static void DestroyNetworkAgent()
{
var mgr = BattleManagerBase.GetIns();
if (mgr?.InstanceNetworkAgent is { } m)
{
Object.DestroyImmediate(m.gameObject);
mgr.InstanceNetworkAgent = null;
}
}
}