public TimedSimplerMatchTickService(IHubContext <SimplerMatchHub> hubContext, SimplerMatchState matchState) { this.hubContext = hubContext; this.matchState = matchState; }
public IClientProxy GetOtherMatchConnections(SimplerMatchState match) { return(Clients.Clients(match.ConnectionIds.Except(new string[] { Context.ConnectionId }).ToArray())); }