Exemple #1
0
 void ProcessIronFrontMods()
 {
     if (!InputMods.Any(x => ifMainModFolders.ContainsIgnoreCase(x.PackageName)))
     {
         return;
     }
     InputMods.RemoveAll(IsIronFrontFullOrLiteMod);
     OutputMods.AddRange(ExistingMods(GetOaPaths().Where(x => x != null).ToArray(), ifModFolders));
 }
Exemple #2
0
            void ProcessIronFrontMods()
            {
                if (InputMods.Any(x => ifMainModFolders.ContainsIgnoreCase(x.Name)))
                {
                    _ifa = IfaState.Full;
                }
                else if (InputMods.Any(x => ifMainModFoldersLite.ContainsIgnoreCase(x.Name)))
                {
                    _ifa = IfaState.Lite;
                }
                else
                {
                    return;
                }
                InputMods.RemoveAll(IsIronFrontFullOrLiteMod);
                var validGamePaths = GetValidGamePaths();

                OutputMods.AddRange(ExistingMods(validGamePaths, _ifa == IfaState.Lite ? ifModFoldersLite : ifModFolders));
                OutputMods.AddRange(ExistingMods(validGamePaths,
                                                 _ifa == IfaState.Lite ? ifMainModFoldersLite : ifMainModFolders));
            }