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; } } } }
public VFEGlobal(ModContentPack content) : base(content) { settings = GetSettings <VFEGlobalSettings>(); }