Exemplo n.º 1
1
        public Dota2ViewModel(MainManager main, IProfileEditorVmFactory pFactory, Dota2Model model)
            : base(main, model, pFactory)
        {
            DisplayName = "Dota 2";

            FindGameDir();
            PlaceConfigFile();
        }
Exemplo n.º 2
0
        public OverwatchViewModel(MainManager main, IProfileEditorVmFactory pFactory, OverwatchModel model)
            : base(main, model, pFactory)
        {
            DisplayName = "Overwatch";

            FindOverwatch();
        }
Exemplo n.º 3
0
        public OverwatchViewModel(MainManager main, IProfileEditorVmFactory pFactory, OverwatchModel model)
            : base(main, model, pFactory)
        {
            DisplayName = "Overwatch";

            FindOverwatch();
        }
        public EurotruckSimulator2ViewModel(MainManager main, IProfileEditorVmFactory pFactory,
            EurotruckSimulator2Model model) : base(main, model, pFactory)
        {
            DisplayName = "ETS 2";

            FindGameDir();
        }
Exemplo n.º 5
0
        public EurotruckSimulator2ViewModel(MainManager main, IProfileEditorVmFactory pFactory,
                                            EurotruckSimulator2Model model) : base(main, model, pFactory)
        {
            DisplayName = "ETS 2";

            FindGameDir();
        }
Exemplo n.º 6
0
 public UnrealTournamentViewModel(MainManager main, IProfileEditorVmFactory pFactory, UnrealTournamentModel model)
     : base(main, model, pFactory)
 {
     DisplayName = "Unreal Tournament";
     MainManager.EffectManager.EffectModels.Add(GameModel);
     FindGame();
     InstallGif();
 }
Exemplo n.º 7
0
        public CounterStrikeViewModel(MainManager main, IProfileEditorVmFactory pFactory, CounterStrikeModel model)
            : base(main, model, pFactory)
        {
            DisplayName = "CS:GO";

            FindGameDir();
            PlaceConfigFile();
        }
Exemplo n.º 8
0
        public OverwatchViewModel(MainManager main, IEventAggregator events, IProfileEditorVmFactory pFactory)
            : base(main, new OverwatchModel(events, main, new OverwatchSettings()), events, pFactory)
        {
            DisplayName = "Overwatch";
            MainManager.EffectManager.EffectModels.Add(GameModel);

            FindOverwatch();
        }
Exemplo n.º 9
0
        public RocketLeagueViewModel(MainManager main, IEventAggregator events, IProfileEditorVmFactory pFactory)
            : base(main, new RocketLeagueModel(main, new RocketLeagueSettings()), events, pFactory)
        {
            DisplayName = "Rocket League";

            MainManager.EffectManager.EffectModels.Add(GameModel);
            SetVersionText();
        }
Exemplo n.º 10
0
        public CounterStrikeViewModel(MainManager main, IProfileEditorVmFactory pFactory, CounterStrikeModel model)
            : base(main, model, pFactory)
        {
            DisplayName = "CS:GO";

            FindGameDir();
            PlaceConfigFile();
        }
Exemplo n.º 11
0
 public UnrealTournamentViewModel(MainManager main, IProfileEditorVmFactory pFactory, UnrealTournamentModel model)
     : base(main, model, pFactory)
 {
     DisplayName = "Unreal Tournament";
     MainManager.EffectManager.EffectModels.Add(GameModel);
     FindGame();
     InstallGif();
 }
Exemplo n.º 12
0
        public Dota2ViewModel(MainManager main, IProfileEditorVmFactory pFactory, Dota2Model model)
            : base(main, model, pFactory)
        {
            DisplayName = "Dota 2";

            FindGameDir();
            PlaceConfigFile();
        }
Exemplo n.º 13
0
        public CounterStrikeViewModel(MainManager main, IEventAggregator events, IProfileEditorVmFactory pFactory)
            : base(main, new CounterStrikeModel(main, new CounterStrikeSettings()), events, pFactory)
        {
            DisplayName = "CS:GO";
            MainManager.EffectManager.EffectModels.Add(GameModel);

            FindGameDir();
            PlaceConfigFile();
        }
Exemplo n.º 14
0
        public Dota2ViewModel(MainManager main, IEventAggregator events, IProfileEditorVmFactory pFactory)
            : base(main, new Dota2Model(main, new Dota2Settings()), events, pFactory)
        {
            DisplayName = "Dota 2";
            MainManager.EffectManager.EffectModels.Add(GameModel);

            FindGameDir();
            PlaceConfigFile();
        }
Exemplo n.º 15
0
        protected GameViewModel(MainManager mainManager, GameModel gameModel, IProfileEditorVmFactory pFactory)
        {
            MainManager = mainManager;
            GameModel = gameModel;
            PFactory = pFactory;
            GameSettings = gameModel.Settings;

            ProfileEditor = PFactory.CreateProfileEditorVm(mainManager, gameModel, GameSettings.LastProfile);
            GameModel.Profile = ProfileEditor.SelectedProfile;
            ProfileEditor.PropertyChanged += ProfileUpdater;
        }
Exemplo n.º 16
0
        protected GameViewModel(MainManager mainManager, GameModel gameModel, IProfileEditorVmFactory pFactory)
        {
            MainManager  = mainManager;
            GameModel    = gameModel;
            PFactory     = pFactory;
            GameSettings = gameModel.Settings;

            ProfileEditor                  = PFactory.CreateProfileEditorVm(mainManager, gameModel, GameSettings.LastProfile);
            GameModel.Profile              = ProfileEditor.SelectedProfile;
            ProfileEditor.PropertyChanged += ProfileUpdater;
        }
Exemplo n.º 17
0
 public WindowsProfileViewModel(MainManager main, IProfileEditorVmFactory pFactory,
                                ProfilePreviewModel profilePreviewModel, WindowsProfileModel model) : base(main, model)
 {
     DisplayName         = "Windows Profile";
     PFactory            = pFactory;
     ProfilePreviewModel = profilePreviewModel;
     EffectSettings      = ((WindowsProfileModel)EffectModel).Settings;
     ProfileEditor       = PFactory.CreateProfileEditorVm(main, (WindowsProfileModel)EffectModel,
                                                          ((WindowsProfileSettings)EffectSettings).LastProfile);
     ProfilePreviewModel.Profile    = ProfileEditor.SelectedProfile;
     ProfileEditor.PropertyChanged += ProfileUpdater;
     MainManager.EffectManager.EffectModels.Add(EffectModel);
 }
Exemplo n.º 18
0
 public WindowsProfileViewModel(MainManager main, IProfileEditorVmFactory pFactory,
     ProfilePreviewModel profilePreviewModel, WindowsProfileModel model) : base(main, model)
 {
     DisplayName = "Windows Profile";
     PFactory = pFactory;
     ProfilePreviewModel = profilePreviewModel;
     EffectSettings = ((WindowsProfileModel) EffectModel).Settings;
     ProfileEditor = PFactory.CreateProfileEditorVm(main, (WindowsProfileModel) EffectModel,
         ((WindowsProfileSettings) EffectSettings).LastProfile);
     ProfilePreviewModel.Profile = ProfileEditor.SelectedProfile;
     ProfileEditor.PropertyChanged += ProfileUpdater;
     MainManager.EffectManager.EffectModels.Add(EffectModel);
 }
Exemplo n.º 19
0
        protected GameViewModel(MainManager mainManager, GameModel gameModel, IEventAggregator events,
                                IProfileEditorVmFactory pFactory)
        {
            MainManager  = mainManager;
            GameModel    = gameModel;
            Events       = events;
            PFactory     = pFactory;
            GameSettings = gameModel.Settings;

            ProfileEditor = PFactory.CreateProfileEditorVm(Events, mainManager, gameModel,
                                                           GameSettings.LastProfile);
            GameModel.Profile              = ProfileEditor.SelectedProfile;
            ProfileEditor.PropertyChanged += ProfileUpdater;
            Events.Subscribe(this);
        }
Exemplo n.º 20
0
        public WindowsProfileViewModel(ILogger logger, MainManager main, IEventAggregator events,
                                       IProfileEditorVmFactory pFactory, ProfilePreviewModel profilePreviewModel)
            : base(main, new WindowsProfileModel(logger, main, new WindowsProfileSettings()))
        {
            DisplayName         = "Windows Profile";
            PFactory            = pFactory;
            ProfilePreviewModel = profilePreviewModel;
            EffectSettings      = ((WindowsProfileModel)EffectModel).Settings;
            ProfileEditor       = PFactory.CreateProfileEditorVm(events, main, (WindowsProfileModel)EffectModel,
                                                                 ((WindowsProfileSettings)EffectSettings).LastProfile);
            ProfilePreviewModel.Profile = ProfileEditor.SelectedProfile;

            events.Subscribe(this);
            ProfileEditor.PropertyChanged += ProfileUpdater;
            MainManager.EffectManager.EffectModels.Add(EffectModel);
        }
Exemplo n.º 21
0
 public RocketLeagueViewModel(MainManager main, IProfileEditorVmFactory pFactory, RocketLeagueModel model)
     : base(main, model, pFactory)
 {
     DisplayName = "Rocket League";
     SetVersionText();
 }
Exemplo n.º 22
0
 public Witcher3ViewModel(MainManager main, IProfileEditorVmFactory pFactory, Witcher3Model model)
     : base(main, model, pFactory)
 {
     DisplayName = "The Witcher 3";
 }
Exemplo n.º 23
0
 public TheDivisionViewModel(MainManager main, IProfileEditorVmFactory pFactory, TheDivisionModel model)
     : base(main, model, pFactory)
 {
     DisplayName = "The Division";
 }
Exemplo n.º 24
0
 public RocketLeagueViewModel(MainManager main, IProfileEditorVmFactory pFactory, RocketLeagueModel model)
     : base(main, model, pFactory)
 {
     DisplayName = "Rocket League";
     SetVersionText();
 }
Exemplo n.º 25
0
 public WoWViewModel(MainManager main, IProfileEditorVmFactory pFactory, WoWModel model)
     : base(main, model, pFactory)
 {
     DisplayName = "WoW";
 }
Exemplo n.º 26
0
 public TheDivisionViewModel(MainManager main, IProfileEditorVmFactory pFactory, TheDivisionModel model)
     : base(main, model, pFactory)
 {
     DisplayName = "The Division";
 }
Exemplo n.º 27
0
 public Witcher3ViewModel(MainManager main, IProfileEditorVmFactory pFactory, Witcher3Model model)
     : base(main, model, pFactory)
 {
     DisplayName = "The Witcher 3";
 }
Exemplo n.º 28
0
 public Witcher3ViewModel(MainManager main, IEventAggregator events, IProfileEditorVmFactory pFactory)
     : base(main, new Witcher3Model(main, new Witcher3Settings()), events, pFactory)
 {
     DisplayName = "The Witcher 3";
     MainManager.EffectManager.EffectModels.Add(GameModel);
 }
Exemplo n.º 29
0
 public TheDivisionViewModel(MainManager main, IEventAggregator events, IProfileEditorVmFactory pFactory)
     : base(main, new TheDivisionModel(main, new TheDivisionSettings()), events, pFactory)
 {
     DisplayName = "The Division";
     MainManager.EffectManager.EffectModels.Add(GameModel);
 }