From ae461e46df4d08ff094c07a2c1615bd71707cc8a Mon Sep 17 00:00:00 2001 From: Sakimori Date: Thu, 17 Apr 2025 19:32:02 -0400 Subject: [PATCH] initial copy of template --- GlitchRestore/GlitchRestore.csproj | 28 ++++++++++++++++++++++++++++ GlitchRestore/Plugin.cs | 17 +++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 GlitchRestore/GlitchRestore.csproj create mode 100644 GlitchRestore/Plugin.cs diff --git a/GlitchRestore/GlitchRestore.csproj b/GlitchRestore/GlitchRestore.csproj new file mode 100644 index 0000000..04a5417 --- /dev/null +++ b/GlitchRestore/GlitchRestore.csproj @@ -0,0 +1,28 @@ + + + + netstandard2.0 + GlitchRestore + My first plugin + 1.0.0 + true + latest + + https://api.nuget.org/v3/index.json; + https://nuget.bepinex.dev/v3/index.json; + https://nuget.samboy.dev/v3/index.json + + GlitchRestore + + + + + + + + + + + + + diff --git a/GlitchRestore/Plugin.cs b/GlitchRestore/Plugin.cs new file mode 100644 index 0000000..648dbb6 --- /dev/null +++ b/GlitchRestore/Plugin.cs @@ -0,0 +1,17 @@ +using BepInEx; +using BepInEx.Logging; + +namespace GlitchRestore; + +[BepInPlugin(MyPluginInfo.PLUGIN_GUID, MyPluginInfo.PLUGIN_NAME, MyPluginInfo.PLUGIN_VERSION)] +public class Plugin : BaseUnityPlugin +{ + internal static new ManualLogSource Logger; + + private void Awake() + { + // Plugin startup logic + Logger = base.Logger; + Logger.LogInfo($"Plugin {MyPluginInfo.PLUGIN_GUID} is loaded!"); + } +}