Exemplo n.º 1
0
 public SessionManager(ILogger logger, IOperationContextHelper operationContextHelper, GameSessions gameSessions,
                       IUserDataAccessService userDataAccessService)
 {
     _logger = logger;
     _operationContextHelper = operationContextHelper;
     _gameSessions           = gameSessions;
     _userDataAccessService  = userDataAccessService;
 }
Exemplo n.º 2
0
 public AdminManager(IOperationContextHelper operationContextHelper
                     , GameSessions gameSessions
                     , IPerformanceHelper performanceHelper
                     , IUserDataAccessService userDataAccessService
                     , SystemInfo systemInfo)
 {
     _gameSessions           = gameSessions;
     _performanceHelper      = performanceHelper;
     _userDataAccessService  = userDataAccessService;
     _systemInfo             = systemInfo;
     _operationContextHelper = operationContextHelper;
 }
Exemplo n.º 3
0
        public GameManager(ILogger logger, IOperationContextHelper operationContextHelper, GameSessions gameSessions
                           , IMapperFactory mapperFactory
                           )
        {
            _logger = logger;
            _operationContextHelper = operationContextHelper;
            _gameSessions           = gameSessions;

            _mapperFactory = mapperFactory;

            _gameDataContractMapper    = _mapperFactory.Build <IGame, GameData>();
            _countersContractMapper    = _mapperFactory.Build <GameCash, Cash>();
            _fundsDriverContractMapper = _mapperFactory.Build <Item, Common.Contract.Items.Item>();
            _manualStepResultMapper    = _mapperFactory.Build <ManualStepResult, Contract.GameManager.ManualStepResult>();
        }
Exemplo n.º 4
0
 public SimpleUserManager(ILogger logger, IUserDataAccessService userDataAccess, IHashHelper hashHelper, GameSessions gameSessions)
 {
     _logger         = logger;
     _userDataAccess = userDataAccess;
     _hashHelper     = hashHelper;
     _gameSessions   = gameSessions;
 }