Ejemplo n.º 1
0
 public VFEGlobal(ModContentPack content) : base(content)
 {
     settings = GetSettings <VFEGlobalSettings>();
     // Toggable patches
     foreach (ModContentPack mod in LoadedModManager.RunningMods)
     {
         if (mod.Patches != null)
         {
             int modPatchesCount = mod.Patches.ToList().FindAll(p => p is PatchOperationToggableSequence pt && pt.ModsFound()).Count;
             if (modPatchesCount > 0)
             {
                 ModUsingToggablePatchCount++;
                 ToggablePatchCount += modPatchesCount;
             }
         }
     }
 }
Ejemplo n.º 2
0
 public VFEGlobal(ModContentPack content) : base(content)
 {
     settings = GetSettings <VFEGlobalSettings>();
 }