diff --git a/IPA.Loader/IPA.Loader.csproj b/IPA.Loader/IPA.Loader.csproj index db2f9b50..b2647f11 100644 --- a/IPA.Loader/IPA.Loader.csproj +++ b/IPA.Loader/IPA.Loader.csproj @@ -83,7 +83,6 @@ - diff --git a/IPA.Loader/PluginInterfaces/BeatSaber/ModsaberModInfo.cs b/IPA.Loader/PluginInterfaces/BeatSaber/ModsaberModInfo.cs deleted file mode 100644 index e0a7de05..00000000 --- a/IPA.Loader/PluginInterfaces/BeatSaber/ModsaberModInfo.cs +++ /dev/null @@ -1,59 +0,0 @@ -using System; -using Version = SemVer.Version; - -// ReSharper disable CheckNamespace - -namespace IPA -{ - /// - /// A class to provide information about a mod on ModSaber.ML - /// - // ReSharper disable once IdentifierTypo - [Obsolete("This is unused, and has been since the manifest was introduced. All functionality is provided by the manifest.")] - public class ModsaberModInfo - { - /// - /// The name the mod uses on ModSaber as an identifier. - /// - public string InternalName - { - get => _internalName; - set - { - if (_internalName == null) - { - _internalName = value; - } - else - { - throw new Exception("Cannot change name one it has been set!"); - } - } - } - private string _internalName; - - /// - /// The version of the currently installed mod. Used to compare to the version on ModSaber. Should be a valid SemVer version. - /// - public string CurrentVersion - { - get => _currentVersion; - set - { - if (_currentVersion == null) - { - var version = new Version(value); // check for valid version - _currentVersion = value; - SemverVersion = version; - } - else - { - throw new Exception("Cannot change version one it has been set!"); - } - } - } - private string _currentVersion; - - internal Version SemverVersion; - } -}