コード例 #1
0
        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);
        }
コード例 #2
0
 public UpdateJammerStatusCommand(Guid boutId, string originator, int period, int jam, string team, JammerStatus newStatus) : base(boutId, originator, period, jam)
 {
     Team      = team;
     NewStatus = newStatus;
 }