Beispiel #1
0
        public ArmaSettings(Guid gameId, ArmaStartupParams startupParameters, GameSettingsController controller)
            : base(gameId, startupParameters, controller) {
            StartupParameters = startupParameters;
            if (ServerFilter == null)
                ServerFilter = new ArmaServerFilter();

            this.WhenAnyValue(x => x.ModDirectory)
                .Where(x => RepositoryDirectory == null && x != null)
                .Subscribe(x => { RepositoryDirectory = x; });

            this.WhenAnyValue(x => x.DefaultModDirectory)
                .Where(x => ModDirectory == null && x != null)
                .Subscribe(x => { ModDirectory = x; });
        }
 public Arma2FreeSettings(Guid gameId, ArmaStartupParams startupParameters, GameSettingsController controller)
     : base(gameId, startupParameters, controller) {
     StartupParameters = startupParameters;
     if (ServerFilter == null)
         ServerFilter = new ArmaServerFilter();
 }
 public Arma2CoSettings(Guid gameId, ArmaStartupParams startupParameters, GameSettingsController controller,
     ArmaSettings arma2Settings, Arma2FreeSettings arma2FreeSettings)
     : base(gameId, startupParameters, controller) {
     Arma2Original = arma2Settings;
     Arma2Free = arma2FreeSettings;
 }
 public Arma2OaSettings(Guid gameId, ArmaStartupParams startupParameters, GameSettingsController controller)
     : base(gameId, startupParameters, controller) {}