24 lines
677 B
C#
24 lines
677 B
C#
using BepInEx;
|
|
using BepInEx.Logging;
|
|
using BepInEx.Unity.IL2CPP;
|
|
using HarmonyLib;
|
|
using MetalButtplug.Utils;
|
|
|
|
namespace MetalButtplug;
|
|
|
|
[BepInPlugin(MyPluginInfo.PLUGIN_GUID, MyPluginInfo.PLUGIN_NAME, MyPluginInfo.PLUGIN_VERSION)]
|
|
public class Plugin : BasePlugin {
|
|
Harmony harmony = new Harmony(MyPluginInfo.PLUGIN_GUID);
|
|
internal static new ManualLogSource Log;
|
|
public override void Load() {
|
|
Plugin.Log = base.Log;
|
|
|
|
Log.LogInfo($"Plugin {MyPluginInfo.PLUGIN_GUID} is loaded!");
|
|
|
|
harmony.PatchAll(typeof(Patches.UpdateBeatPatch));
|
|
Log.LogInfo("Applied patches");
|
|
|
|
ButtplugManager.Init();
|
|
}
|
|
}
|