Browse Source

Deleted SelfPlugin

pull/32/head
Anairkoen Schno 5 years ago
parent
commit
e399810636
2 changed files with 4 additions and 49 deletions
  1. +4
    -5
      IPA.Loader/IPA.Loader.csproj
  2. +0
    -44
      IPA.Loader/Updating/SelfPlugin.cs

+ 4
- 5
IPA.Loader/IPA.Loader.csproj View File

@ -35,11 +35,11 @@
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == 'Net4' "> <PropertyGroup Condition=" '$(Platform)' == 'Net4' ">
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<DefineConstants>$(DefineConstants);NET4</DefineConstants>
<DefineConstants>$(DefineConstants);NET4</DefineConstants>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == 'Net3' "> <PropertyGroup Condition=" '$(Platform)' == 'Net3' ">
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion> <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<DefineConstants>$(DefineConstants);NET3</DefineConstants>
<DefineConstants>$(DefineConstants);NET3</DefineConstants>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<DocumentationFile>$(OutputPath)IPA.Loader.xml</DocumentationFile> <DocumentationFile>$(OutputPath)IPA.Loader.xml</DocumentationFile>
@ -54,7 +54,7 @@
<Reference Include="System.Net.Http" Condition=" '$(Platform)' == 'Net4' " /> <Reference Include="System.Net.Http" Condition=" '$(Platform)' == 'Net4' " />
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
</ItemGroup> </ItemGroup>
<ItemGroup Condition=" '$(Platform)' == 'Net4' " >
<ItemGroup Condition=" '$(Platform)' == 'Net4' ">
<Reference Include="UnityEngine.CoreModule"> <Reference Include="UnityEngine.CoreModule">
<HintPath>..\Refs\UnityEngine.CoreModule.Net4.dll</HintPath> <HintPath>..\Refs\UnityEngine.CoreModule.Net4.dll</HintPath>
<Private>False</Private> <Private>False</Private>
@ -64,7 +64,7 @@
<Private>False</Private> <Private>False</Private>
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup Condition=" '$(Platform)' == 'Net3' " >
<ItemGroup Condition=" '$(Platform)' == 'Net3' ">
<Reference Include="UnityEngine.CoreModule"> <Reference Include="UnityEngine.CoreModule">
<HintPath>..\Refs\UnityEngine.CoreModule.Net3.dll</HintPath> <HintPath>..\Refs\UnityEngine.CoreModule.Net3.dll</HintPath>
<Private>False</Private> <Private>False</Private>
@ -126,7 +126,6 @@
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Updating\BeatMods\ApiEndpoint.cs" /> <Compile Include="Updating\BeatMods\ApiEndpoint.cs" />
<Compile Include="Updating\BeatMods\Updater.cs" /> <Compile Include="Updating\BeatMods\Updater.cs" />
<Compile Include="Updating\SelfPlugin.cs" />
<Compile Include="Utilities\Extensions.cs" /> <Compile Include="Utilities\Extensions.cs" />
<Compile Include="Utilities\Utils.cs" /> <Compile Include="Utilities\Utils.cs" />
</ItemGroup> </ItemGroup>


+ 0
- 44
IPA.Loader/Updating/SelfPlugin.cs View File

@ -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()
{
}
}
}

Loading…
Cancel
Save