42 lines
1.2 KiB
C#
42 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using BepInEx;
|
|
using BepInEx.Bootstrap;
|
|
|
|
namespace ScarletMansion.ModPatch {
|
|
public class ModCompability {
|
|
|
|
public const string advancedCompanyGuid = "com.potatoepet.AdvancedCompany";
|
|
public const string lethalConfigGuid = "ainavt.lc.lethalconfig";
|
|
public const string facilityMeldownGuid = "me.loaforc.facilitymeltdown";
|
|
public const string reserveFlashlightGuid = "FlipMods.ReservedFlashlightSlot";
|
|
public const string mimicsGuid = "x753.Mimics";
|
|
|
|
public static readonly ModPatch[] modPatches = new ModPatch[] {
|
|
new AdvancedCompanyPatch(advancedCompanyGuid),
|
|
new LethalConfigPatch(lethalConfigGuid),
|
|
new FacilityMeltdownPatch(facilityMeldownGuid),
|
|
new ReservedItemSlotPatch(reserveFlashlightGuid),
|
|
new MimicsPatch(mimicsGuid)
|
|
};
|
|
|
|
public static void GetActiveMods(){
|
|
foreach(var m in modPatches)
|
|
m.CheckIfActive();
|
|
}
|
|
|
|
public static void ActivateActiveMods(){
|
|
foreach(var m in modPatches)
|
|
m.Activate();
|
|
}
|
|
|
|
public static int GetStartOfRoundScriptLength(){
|
|
return StartOfRound.Instance.allPlayerScripts.Length;
|
|
}
|
|
|
|
}
|
|
}
|