示例#1
0
 public AuthController(
     IAuthManager authManager,
     ISessionInfoProvider sessionInfoProvider)
 {
     this.authManager         = authManager;
     this.sessionInfoProvider = sessionInfoProvider;
 }
示例#2
0
 protected RavenNestService(
     IHttpContextAccessor accessor,
     ISessionInfoProvider sessionInfoProvider)
 {
     this.accessor            = accessor;
     this.sessionInfoProvider = sessionInfoProvider;
 }
示例#3
0
 public PoQService(
     IOptions <AppSettings> settings,
     IHttpContextAccessor accessor,
     ISessionInfoProvider sessionInfoProvider)
     : base(accessor, sessionInfoProvider)
 {
     this.settings = settings.Value;
 }
示例#4
0
 public UserService(
     IGameData gameData,
     IPlayerManager playerManager,
     IHttpContextAccessor accessor,
     ISessionInfoProvider sessionInfoProvider)
     : base(accessor, sessionInfoProvider)
 {
     this.gameData      = gameData;
     this.playerManager = playerManager;
 }
示例#5
0
 public AccountService(
     IGameData gameData,
     ISecureHasher hasher,
     IHttpContextAccessor accessor,
     ISessionInfoProvider sessionInfoProvider)
     : base(accessor, sessionInfoProvider)
 {
     this.gameData = gameData;
     this.hasher   = hasher;
 }
示例#6
0
 public ClanService(
     IGameData gameData,
     IClanManager clanManager,
     IHttpContextAccessor accessor,
     ISessionInfoProvider sessionInfoProvider)
     : base(accessor, sessionInfoProvider)
 {
     this.gameData    = gameData;
     this.clanManager = clanManager;
 }
示例#7
0
 public NotificationService(
     IGameData gameData,
     INotificationManager notificationManager,
     IHttpContextAccessor accessor,
     ISessionInfoProvider sessionInfoProvider)
     : base(accessor, sessionInfoProvider)
 {
     this.gameData = gameData;
     this.notificationManager = notificationManager;
 }
示例#8
0
 public ItemsController(
     IGameData gameData,
     ISessionInfoProvider sessionInfoProvider,
     IItemManager itemManager,
     IAuthManager authManager)
 {
     this.gameData            = gameData;
     this.sessionInfoProvider = sessionInfoProvider;
     this.itemManager         = itemManager;
     this.authManager         = authManager;
 }
示例#9
0
 public AdminController(
     IGameData gameData,
     ISessionInfoProvider sessionInfoProvider,
     IAdminManager adminManager,
     IAuthManager authManager)
 {
     this.gameData            = gameData;
     this.sessionInfoProvider = sessionInfoProvider;
     this.adminManager        = adminManager;
     this.authManager         = authManager;
 }
示例#10
0
 public MarketplaceController(
     IAuthManager authManager,
     ISessionManager sessionManager,
     ISessionInfoProvider sessionInfoProvider,
     IMarketplaceManager marketplace)
 {
     this.authManager         = authManager;
     this.marketplace         = marketplace;
     this.sessionManager      = sessionManager;
     this.sessionInfoProvider = sessionInfoProvider;
 }
示例#11
0
 public TwitchController(
     IOptions <AppSettings> settings,
     IPlayerManager playerManager,
     ISessionInfoProvider sessionInfoProvider,
     IMemoryCache memoryCache)
 {
     this.playerManager       = playerManager;
     this.sessionInfoProvider = sessionInfoProvider;
     this.memoryCache         = memoryCache;
     this.settings            = settings.Value;
 }
示例#12
0
 public ItemService(
     IGameData gameData,
     IItemManager itemManager,
     IHttpContextAccessor accessor,
     ISessionInfoProvider sessionInfoProvider)
     : base(accessor, sessionInfoProvider)
 {
     this.gameData            = gameData;
     this.itemManager         = itemManager;
     this.availableAttributes = this.gameData.GetItemAttributes();
 }
 public ExtensionConnectionProvider(
     ILogger <ExtensionConnectionProvider> logger,
     IGameData gameData,
     IExtensionPacketDataSerializer packetDataSerializer,
     ISessionInfoProvider sessionInfoProvider
     )
 {
     this.logger               = logger;
     this.gameData             = gameData;
     this.packetDataSerializer = packetDataSerializer;
     this.sessionInfoProvider  = sessionInfoProvider;
 }
示例#14
0
 public LogoService(
     IOptions <AppSettings> settings,
     IGameData gameData,
     IMemoryCache memoryCache,
     IHttpContextAccessor accessor,
     ISessionInfoProvider sessionInfoProvider)
     : base(accessor, sessionInfoProvider)
 {
     this.settings    = settings.Value;
     this.memoryCache = memoryCache;
     this.gameData    = gameData;
 }
示例#15
0
 public SessionService(
     IOptions <AppSettings> settings,
     IAuthManager authManager,
     IGameData gameData,
     IHttpContextAccessor accessor,
     ISessionInfoProvider sessionInfoProvider)
     : base(accessor, sessionInfoProvider)
 {
     this.authManager = authManager;
     this.gameData    = gameData;
     this.settings    = settings.Value;
 }
示例#16
0
 public VillageController(
     ILogger <VillageController> logger,
     IGameData gameData,
     IAuthManager authManager,
     ISessionInfoProvider sessionInfoProvider,
     ISessionManager sessionManager,
     IVillageManager villageManager,
     ISecureHasher secureHasher)
     : base(logger, gameData, authManager, sessionInfoProvider, sessionManager, secureHasher)
 {
     this.villageManager = villageManager;
 }
示例#17
0
 public ServerController(
     ILogger <ServerController> logger,
     IAuthManager authManager,
     IGameData gameData,
     ISessionInfoProvider sessionInfoProvider,
     IServerManager serverManager)
 {
     this.logger              = logger;
     this.authManager         = authManager;
     this.gameData            = gameData;
     this.sessionInfoProvider = sessionInfoProvider;
     this.serverManager       = serverManager;
 }
示例#18
0
 public TwitchController(
     IOptions <AppSettings> settings,
     IPlayerManager playerManager,
     IGameData gameData,
     ISessionInfoProvider sessionInfoProvider,
     IMemoryCache memoryCache,
     IAuthManager authManager)
 {
     this.playerManager       = playerManager;
     this.gameData            = gameData;
     this.sessionInfoProvider = sessionInfoProvider;
     this.memoryCache         = memoryCache;
     this.authManager         = authManager;
     this.settings            = settings.Value;
 }
示例#19
0
 public TwitchController(
     IOptions <AppSettings> settings,
     IPlayerManager playerManager,
     IGameData gameData,
     ISessionInfoProvider sessionInfoProvider,
     IAuthManager authManager,
     LogoService logoService)
 {
     this.playerManager       = playerManager;
     this.gameData            = gameData;
     this.sessionInfoProvider = sessionInfoProvider;
     this.authManager         = authManager;
     this.logoService         = logoService;
     this.settings            = settings.Value;
 }
示例#20
0
 public MarketplaceController(
     ILogger <MarketplaceController> logger,
     IGameData gameData,
     IAuthManager authManager,
     ISessionManager sessionManager,
     ISessionInfoProvider sessionInfoProvider,
     IMarketplaceManager marketplace,
     ISecureHasher secureHasher)
     : base(logger, gameData, authManager, sessionInfoProvider, sessionManager, secureHasher)
 {
     this.authManager         = authManager;
     this.marketplace         = marketplace;
     this.sessionManager      = sessionManager;
     this.sessionInfoProvider = sessionInfoProvider;
 }
示例#21
0
 public GameController(
     IGameData gameData,
     IAuthManager authManager,
     ISessionInfoProvider sessionInfoProvider,
     ISessionManager sessionManager,
     IGameManager gameManager,
     ISecureHasher secureHasher)
 {
     this.gameData            = gameData;
     this.authManager         = authManager;
     this.sessionInfoProvider = sessionInfoProvider;
     this.sessionManager      = sessionManager;
     this.gameManager         = gameManager;
     this.secureHasher        = secureHasher;
 }
示例#22
0
 public AuthService(
     IOptions <AppSettings> settings,
     IRavenBotApiClient ravenbotApi,
     IGameData gameData,
     IAuthManager authManager,
     IPlayerManager playerManager,
     IHttpContextAccessor accessor,
     ISessionInfoProvider sessionInfoProvider)
     : base(accessor, sessionInfoProvider)
 {
     this.ravenbotApi   = ravenbotApi;
     this.gameData      = gameData;
     this.authManager   = authManager;
     this.playerManager = playerManager;
     this.settings      = settings.Value;
 }
示例#23
0
 public SessionController(
     ILogger <SessionController> logger,
     IGameData gameData,
     ISessionInfoProvider sessionInfoProvider,
     IAuthManager authManager,
     ISessionManager sessionManager,
     IGameManager gameManager,
     ISecureHasher secureHasher)
     : base(logger, gameData, authManager, sessionInfoProvider, sessionManager, secureHasher)
 {
     this.gameData       = gameData;
     this.authManager    = authManager;
     this.sessionManager = sessionManager;
     this.gameManager    = gameManager;
     this.secureHasher   = secureHasher;
 }
示例#24
0
 public PlayersController(
     ISessionInfoProvider sessionInfoProvider,
     ISessionManager sessionManager,
     IPlayerManager playerManager,
     IRavenfallDbContextProvider dbProvider,
     ISecureHasher secureHasher,
     IAuthManager authManager,
     IOptions <AppSettings> settings)
 {
     this.sessionInfoProvider = sessionInfoProvider;
     this.sessionManager      = sessionManager;
     this.playerManager       = playerManager;
     this.dbProvider          = dbProvider;
     this.secureHasher        = secureHasher;
     this.authManager         = authManager;
     this.settings            = settings;
 }
示例#25
0
 public AdminController(
     ILogger <AdminController> logger,
     IGameWebSocketConnectionProvider socketProvider,
     IGameData gameData,
     ISessionInfoProvider sessionInfoProvider,
     IPlayerManager playerManager,
     IAdminManager adminManager,
     IAuthManager authManager)
 {
     this.logger              = logger;
     this.socketProvider      = socketProvider;
     this.gameData            = gameData;
     this.sessionInfoProvider = sessionInfoProvider;
     this.playerManager       = playerManager;
     this.adminManager        = adminManager;
     this.authManager         = authManager;
 }
示例#26
0
 public PlayersController(
     ILogger <PlayersController> logger,
     IGameData gameData,
     ISessionInfoProvider sessionInfoProvider,
     IPlayerInventoryProvider inventoryProvider,
     ISessionManager sessionManager,
     IPlayerManager playerManager,
     IRavenfallDbContextProvider dbProvider,
     ISecureHasher secureHasher,
     IAuthManager authManager,
     IOptions <AppSettings> settings)
     : base(logger, gameData, authManager, sessionInfoProvider, sessionManager, secureHasher)
 {
     this.sessionInfoProvider = sessionInfoProvider;
     this.sessionManager      = sessionManager;
     this.playerManager       = playerManager;
     this.dbProvider          = dbProvider;
     this.secureHasher        = secureHasher;
     this.authManager         = authManager;
     this.settings            = settings;
 }
示例#27
0
 public PatreonController(
     ILogger <PatreonController> logger,
     ISessionInfoProvider sessionInfoProvider,
     IPlayerInventoryProvider inventoryProvider,
     ISessionManager sessionManager,
     IPlayerManager playerManager,
     IRavenfallDbContextProvider dbProvider,
     ISecureHasher secureHasher,
     IAuthManager authManager,
     IPatreonManager patreonManager,
     IOptions <AppSettings> settings)
 {
     this.logger = logger;
     this.sessionInfoProvider = sessionInfoProvider;
     this.sessionManager      = sessionManager;
     this.playerManager       = playerManager;
     this.dbProvider          = dbProvider;
     this.secureHasher        = secureHasher;
     this.authManager         = authManager;
     this.patreonManager      = patreonManager;
     this.settings            = settings.Value;
 }
示例#28
0
 public CookieService(
     IHttpContextAccessor accessor,
     ISessionInfoProvider sessionInfoProvider)
     : base(accessor, sessionInfoProvider)
 {
 }
示例#29
0
 public AuditingPlugin(ISessionInfoProvider sessionInfoProvider,
                       IEventManager eventManager)
 {
     _sessionInfoProvider = sessionInfoProvider;
     _eventManager        = eventManager;
 }