public PlayerRequestService(RequestScope scopeContext,
                             MatchHub matchub,
                             IPlayerRequestRepository repository)
     : base(scopeContext, repository)
 {
     _matchub = matchub;
 }
 public GameStateController(RequestScope scopeContext, IGameStateService service,
                            IMatchService matchService, IHttpContextAccessor httpContextAccessor,
                            IMatchDetailsService matchDetailsService,
                            IPlayerService playerService,
                            MatchHub matchHub,
                            IPlayerStatsService playerStatsService)
     : base(scopeContext, service)
 {
     _matchService        = matchService;
     _httpContextAccessor = httpContextAccessor;
     _playerService       = playerService;
     _matchDetailsService = matchDetailsService;
     _playerStatsService  = playerStatsService;
     _matchHub            = matchHub;
 }
Esempio n. 3
0
 public GameDataController(RequestScope scopeContext, IGameService service, IHubContext <MatchHub> matchHub, MatchHub _matchHub)
     : base(scopeContext, service)
 {
     this.matchHub  = matchHub;
     this._matchHub = _matchHub;
 }