refactor(battle-node): name ComputeFrames routes as DispatchRoute
This commit is contained in:
8
SVSim.BattleNode/Sessions/Dispatch/DispatchRoute.cs
Normal file
8
SVSim.BattleNode/Sessions/Dispatch/DispatchRoute.cs
Normal 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);
|
||||
Reference in New Issue
Block a user