public StateHandler(IDbContextLocator locator, IMessageBusProxy messageBus) { _locator = locator; messageBus.Listen <StatusChanged>() .Subscribe(Handle); messageBus.Listen <ContentStatusChanged>() .Subscribe(Handle); messageBus.Listen <ContentInstalled>() .Subscribe(Handle); messageBus.Listen <UninstallActionCompleted>() .Subscribe(Handle); messageBus.Listen <GameLaunched>() .Subscribe(Handle); messageBus.Listen <GameTerminated>() .Subscribe(Handle); messageBus.Listen <RecentItemRemoved>() .Subscribe(Handle); messageBus.Listen <ContentUsed>() .Subscribe(Handle); messageBus.Listen <ActionNotification>() .Subscribe(Handle); messageBus.Listen <ExtensionStateChanged>() .ConcatTask(Handle) .Subscribe(); _subject2 = new Subject <ActionTabState>(); _subject = new Subject <StatusModel>(); _subject.Subscribe(Handle); _subject2.ConcatTask(x => GetActionStateUpdate(x).Raise()) .Subscribe(); }
public GetServersInfoHandler(IDbContextLocator dbContextLocator, IServerQueryFactory sqf, IRequestScopeLocator scopeLocator) : base(dbContextLocator) { _sqf = sqf; _scopeLocator = scopeLocator; }
public StateHandler(IDbContextLocator locator, IMessageBusProxy messageBus) { _locator = locator; messageBus.Listen<StatusChanged>() .Subscribe(Handle); messageBus.Listen<ContentStatusChanged>() .Subscribe(Handle); messageBus.Listen<ContentInstalled>() .Subscribe(Handle); messageBus.Listen<UninstallActionCompleted>() .Subscribe(Handle); messageBus.Listen<GameLaunched>() .Subscribe(Handle); messageBus.Listen<GameTerminated>() .Subscribe(Handle); messageBus.Listen<RecentItemRemoved>() .Subscribe(Handle); messageBus.Listen<ContentUsed>() .Subscribe(Handle); messageBus.Listen<ActionNotification>() .Subscribe(Handle); messageBus.Listen<ExtensionStateChanged>() .ConcatTask(Handle) .Subscribe(); _subject2 = new Subject<ActionTabState>(); _subject = new Subject<StatusModel>(); _subject.Subscribe(Handle); _subject2.ConcatTask(x => GetActionStateUpdate(x).Raise()) .Subscribe(); }
public ActionNotifierDecorator(IMediator decorated, IDbContextLocator locator, IGameSwitcher gameSwitcher, INetworkContentSyncer networkSyncer) : base(decorated) { _locator = locator; _gameSwitcher = gameSwitcher; _networkSyncer = networkSyncer; }
public GameSwitcher(IDbContextLocator locator, ISetupGameStuff setup, IGameLocker locker, IStateHandler stateHandler) { _locator = locator; _setup = setup; _locker = locker; _stateHandler = stateHandler; }
public AddExternalModHandler(IDbContextLocator dbContextLocator, IContentInstallationService contentInstallation, IExternalFileDownloader fd, IExternalDownloadStateHandler state) : base(dbContextLocator) { _contentInstallation = contentInstallation; _fd = fd; _state = state; }
public UploadFolderHandler(IDbContextLocator dbContextLocator, IFolderHandler folderHandler, IQueueManager queueManager, IRsyncLauncher rsyncLauncher, IW6Api api) : base(dbContextLocator) { _folderHandler = folderHandler; _queueManager = queueManager; _rsyncLauncher = rsyncLauncher; _api = api; }
public RealVirtualityLauncher(IGameLauncherProcess processManager, IPathConfiguration pathConfiguration, IFileWriter writer, IDbContextLocator contextLocator) : base(processManager) { if (writer == null) { throw new ArgumentNullException(nameof(writer)); } _writer = writer; _contextLocator = contextLocator; _parPath = pathConfiguration.LocalDataPath.GetChildDirectoryWithName("games"); }
public SetupGameStuff(IDbContextLocator locator, IDbContextFactory factory, INetworkContentSyncer networkContentSyncer, /* ICacheManager cacheMan, */ IGameLocker gameLocker, IStateHandler stateHandler, IAssemblyService ass) { _locator = locator; _factory = factory; _networkContentSyncer = networkContentSyncer; //_cacheMan = cacheMan; _gameLocker = gameLocker; _stateHandler = stateHandler; _timer = new TimerWithElapsedCancellationAsync(TimeSpan.FromMinutes(30), onElapsedNonBool: OnElapsed); _gameFactory = new GameFactory(ass); }
public GetGameSettingsHandler(IDbContextLocator dbContextLocator, IGameSettingsViewModelFactory factory) : base(dbContextLocator) { _factory = factory; }
public OpenFolderHandler(IDbContextLocator dbContextLocator) : base(dbContextLocator) { }
public PrepareFolderHandler(IDbContextLocator dbContextLocator, IFolderHandler folderHandler, IDialogManager dialogManager) : base(dbContextLocator) { _folderHandler = folderHandler; _dialogManager = dialogManager; }
public SetupGameStuff(IDbContextLocator gameContextFactory, INetworkContentSyncer networkContentSyncer) { _gameContextFactory = gameContextFactory; _networkContentSyncer = networkContentSyncer; }
public GetGameMissionsHandler(IDbContextLocator dbContextLocator) : base(dbContextLocator) { }
protected ApiDbCommandBase(IDbContextLocator dbContextLocator) : base(dbContextLocator) { }
protected ApiDbQueryBase(IDbContextLocator dbContextLocator) : base(dbContextLocator) {}
public AuthProviderSettingsStorage(IDbContextLocator locator) { _locator = locator; }
public GetFoldersHandler(IDbContextLocator dbContextLocator) : base(dbContextLocator) { }
public ImportPwsSettingsHandler(IDbContextLocator dbContextLocator, IPlayWithSixImporter importer) : base(dbContextLocator) { _importer = importer; }
public DomainEventHandlerGrabber(IDbContextLocator contextFactory) { _contextFactory = contextFactory; }
public InstallContentHandler(IDbContextLocator dbContextLocator, IContentInstallationService contentInstallation) : base(dbContextLocator) { _contentInstallation = contentInstallation; }
protected DbRequestBase(IDbContextLocator dbContextLocator) { DbContextLocator = dbContextLocator; }
public CollectionSyncer(IDbContextLocator locator, NetworkContentSyncer networkContentSyncer, IW6Api api) { _locator = locator; _networkContentSyncer = networkContentSyncer; _api = api; }
public CloseGameHandler(IDbContextLocator dbContextLocator) : base(dbContextLocator) { }
public NetworkContentSyncer(IDbContextLocator locator, IW6Api api) { _locator = locator; _collectionSyncer = new CollectionSyncer(locator, this, api); }
public GetStateHandler(IDbContextLocator dbContextLocator, IGameLockMonitor monitor, IStateHandler stateHandler) : base(dbContextLocator) { _monitor = monitor; _stateHandler = stateHandler; }
protected ApiDbCommandBase(IDbContextLocator dbContextLocator) : base(dbContextLocator) {}
public ContentEngineGameContext(IDbContextLocator contextLocator) { _contextLocator = contextLocator; }
public ResolveUserErrorHandler(IDbContextLocator dbContextLocator, IStateHandler handler) : base(dbContextLocator) { _handler = handler; }
public LaunchGameHandler(IDbContextLocator dbContextLocator, IGameLauncherFactory launcherFactory) : base(dbContextLocator) { _launcherFactory = launcherFactory; }
public DeleteCollectionHandler(IDbContextLocator dbContextLocator) : base(dbContextLocator) { }
public SyncCollectionsHandler(IDbContextLocator dbContextLocator, INetworkContentSyncer contentSyncer) : base(dbContextLocator) { _contentSyncer = contentSyncer; }
public FolderHandler(IDbContextLocator locator) { _locator = locator; }
public RetryQueueItemHandler(IDbContextLocator dbContextLocator, IQueueManager queueManager) : base(dbContextLocator) { _queueManager = queueManager; }
public GetServerAddressesHandler(IDbContextLocator dbContextLocator, IServerQueryFactory sqf, IRequestScopeLocator scopeLoc) : base(dbContextLocator) { _sqf = sqf; _scopeLoc = scopeLoc; }
public PlayContentHandler(IDbContextLocator gameContext, IGameLauncherFactory factory, IContentInstallationService contentInstallation) : base(gameContext) { _factory = factory; _contentInstallation = contentInstallation; }
public SetLoginHandler(IDbContextLocator dbContextLocator) : base(dbContextLocator) { }
public SaveGeneralSettingsHandler(IDbContextLocator dbContextLocator) : base(dbContextLocator) { }
public NetworkContentSyncer(IDbContextLocator locator) { _locator = locator; }
public PlayWithSixImporter(IDbContextLocator locator) { _locator = locator; }
public WhiteListFoldersHandler(IDbContextLocator dbContextLocator, IFolderHandler folderHandler) : base(dbContextLocator) { _folderHandler = folderHandler; }