public async Task UpdateJammerStatus(string nodeId, Guid boutId, int period, int jam, string team, JammerStatus newStatus) { var command = new UpdateJammerStatusCommand(boutId, Context.ConnectionId, period, jam, team, newStatus); await Dispatch(nodeId, NodeRoles.ScoreKeeper, command); }
public UpdateJammerStatusCommand(Guid boutId, string originator, int period, int jam, string team, JammerStatus newStatus) : base(boutId, originator, period, jam) { Team = team; NewStatus = newStatus; }