From fbf4b7eeab9a43b46e7bcb5cf9c13fc1a37629da Mon Sep 17 00:00:00 2001 From: Frityet Date: Tue, 15 Jun 2021 10:45:06 -0700 Subject: [PATCH] Fixed names and added PluginInfo.cs --- src/Plugin/src/Plugin.cs | 8 ++++---- src/Plugin/src/PluginInfo.cs | 9 +++++++++ 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 src/Plugin/src/PluginInfo.cs diff --git a/src/Plugin/src/Plugin.cs b/src/Plugin/src/Plugin.cs index 9a46eee..adcd253 100644 --- a/src/Plugin/src/Plugin.cs +++ b/src/Plugin/src/Plugin.cs @@ -1,12 +1,12 @@ using BepInEx; -namespace InfiniteCasings +namespace H3VRMod { - [BepInPlugin("maiq.Plugin", "Plugin", "0.1.0")] + [BepInPlugin(PluginInfo.PLUGIN_GUID, PluginInfo.PLUGIN_NAME, PluginInfo.PLUGIN_VERSION)] [BepInProcess("h3vr.exe")] - public class InfiniteCasings : BaseUnityPlugin + public class Plugin : BaseUnityPlugin { - public InfiniteCasings() + public Plugin() { Hook(); } diff --git a/src/Plugin/src/PluginInfo.cs b/src/Plugin/src/PluginInfo.cs new file mode 100644 index 0000000..48b7c35 --- /dev/null +++ b/src/Plugin/src/PluginInfo.cs @@ -0,0 +1,9 @@ +namespace H3VRMod +{ + internal static class PluginInfo + { + internal const string PLUGIN_NAME = "Example H3VR Mod"; + internal const string PLUGIN_GUID = "com.yourname.h3vrmod"; + internal const string PLUGIN_VERSION = "1.0.0"; + } +} \ No newline at end of file