refactor(battle-node): name ComputeFrames routes as DispatchRoute

This commit is contained in:
gamer147
2026-06-03 13:43:39 -04:00
parent afe2984075
commit 95554cee04
2 changed files with 31 additions and 22 deletions

View File

@@ -0,0 +1,8 @@
using SVSim.BattleNode.Protocol;
namespace SVSim.BattleNode.Sessions.Dispatch;
/// <summary>One routing decision: deliver <paramref name="Frame"/> to <paramref name="Target"/>.
/// Named form of the tuple <c>ComputeFrames</c> historically returned. <paramref name="NoStock"/>
/// true for control frames (BattleFinish, ack) — bypasses playSeq assignment + archive.</summary>
internal readonly record struct DispatchRoute(IBattleParticipant Target, MsgEnvelope Frame, bool NoStock);