From 9f2b2e9b2acb130b1698e7963fc3836f217d740b Mon Sep 17 00:00:00 2001 From: Anairkoen Schno Date: Thu, 18 Jul 2019 20:27:00 -0500 Subject: [PATCH] Deleted SelfPlugin --- IPA.Loader/IPA.Loader.csproj | 9 +++---- IPA.Loader/Updating/SelfPlugin.cs | 44 ------------------------------- 2 files changed, 4 insertions(+), 49 deletions(-) delete mode 100644 IPA.Loader/Updating/SelfPlugin.cs diff --git a/IPA.Loader/IPA.Loader.csproj b/IPA.Loader/IPA.Loader.csproj index df90a11a..57a31cd7 100644 --- a/IPA.Loader/IPA.Loader.csproj +++ b/IPA.Loader/IPA.Loader.csproj @@ -35,11 +35,11 @@ v4.6.1 - $(DefineConstants);NET4 + $(DefineConstants);NET4 v3.5 - $(DefineConstants);NET3 + $(DefineConstants);NET3 $(OutputPath)IPA.Loader.xml @@ -54,7 +54,7 @@ - + ..\Refs\UnityEngine.CoreModule.Net4.dll False @@ -64,7 +64,7 @@ False - + ..\Refs\UnityEngine.CoreModule.Net3.dll False @@ -126,7 +126,6 @@ - diff --git a/IPA.Loader/Updating/SelfPlugin.cs b/IPA.Loader/Updating/SelfPlugin.cs deleted file mode 100644 index ef9fb20c..00000000 --- a/IPA.Loader/Updating/SelfPlugin.cs +++ /dev/null @@ -1,44 +0,0 @@ -using IPA.Config; -using System; -using UnityEngine.SceneManagement; - -namespace IPA.Updating -{ - [Obsolete("Only used for old updating system, replaced with a PluginMeta for the embedded manifest")] - internal class SelfPlugin : IBeatSaberPlugin - { - public static SelfPlugin Instance { get; set; } = new SelfPlugin(); - - public string Name => SelfConfig.IPAName; - - public string Version => SelfConfig.IPAVersion; - - public void OnActiveSceneChanged(Scene prevScene, Scene nextScene) - { - } - - public void OnApplicationQuit() - { - } - - public void OnApplicationStart() - { - } - - public void OnFixedUpdate() - { - } - - public void OnSceneLoaded(Scene scene, LoadSceneMode sceneMode) - { - } - - public void OnSceneUnloaded(Scene scene) - { - } - - public void OnUpdate() - { - } - } -} \ No newline at end of file