MetalButtplug/Plugin.cs
2024-05-20 23:55:16 +02:00

24 lines
650 B
C#

using System.Reflection;
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 {
internal static new ManualLogSource Log;
public override void Load() {
Plugin.Log = base.Log;
Log.LogInfo($"Plugin {MyPluginInfo.PLUGIN_GUID} is loaded!");
Harmony.CreateAndPatchAll(Assembly.GetExecutingAssembly());
Log.LogInfo("Applied patches");
ButtplugManager.Init();
}
}