Project cleanup | Makes more sense for the user now.

This commit is contained in:
Michael C | lorexcold
2025-10-23 01:13:01 +02:00
parent 0f1fcf4db9
commit c2856d31e2
5 changed files with 16 additions and 2 deletions

36
BepInEx.cs Normal file
View File

@@ -0,0 +1,36 @@
using HarmonyLib;
using System;
using UnityEngine;
namespace ExamplePatchMod
{
#region BepInEx
[BepInEx.BepInPlugin(pluginGuid, pluginName, pluginVersion)]
public class ExamplePatchMod : BepInEx.BaseUnityPlugin
{
public const string pluginGuid = "com.username.ExamplePatchMod";
public const string pluginName = "ExamplePatchMod";
public const string pluginVersion = "1.0";
public static void Log(string line)
{
Debug.Log("[" + pluginName + "]: " + line);
}
void Awake()
{
try
{
var harmony = new Harmony(pluginGuid);
harmony.PatchAll();
Log("Patch succeeded");
}
catch (Exception e)
{
Log("Patch Failed");
Log(e.ToString());
}
}
}
#endregion
}