Files
undead-universal-patch-il2cpp/Plugin.cs
2025-09-19 22:37:22 -04:00

34 lines
997 B
C#

using BepInEx;
using BepInEx.Logging;
using BepInEx.Unity.IL2CPP;
using HarmonyLib;
using undead_universal_patch_il2cpp.Core;
namespace undead_universal_patch_il2cpp;
[BepInPlugin("dev.proxnet.recroom.universalpatch.noneac.il2cpp", "Undead Universal Patch", "3.0.0")]
public class UniversalPatchPlugin : BasePlugin
{
public static new readonly ManualLogSource Log = Logger.CreateLogSource("UUPatch");
public Harmony HarmonyInstance = new("dev.proxnet.recroom.universalpatch.noneac.il2cpp");
public override bool Unload()
{
Log.LogInfo("Destroying.");
HarmonyInstance.UnpatchSelf();
return true;
}
public static UniversalPatchPlugin Instance;
public override void Load()
{
Instance = this;
Log.LogInfo("It's time to Room some Rec and chew bubble gum..... and I'm all out of gum");
Initialization.Initialize();
Log.LogInfo("Undead Universal Patch (IL2CPP) for Rec Room by @zombieb; loaded.");
}
}