Browse Source

Added injector for PluginMetadata

pull/46/head
Anairkoen Schno 5 years ago
parent
commit
0d3ea2c6e3
3 changed files with 37606 additions and 0 deletions
  1. +1
    -0
      IPA.Loader/Loader/PluginInitInjector.cs
  2. BIN
      Refs/BeatSaberCustomUI.dll
  3. +37605
    -0
      Refs/UnityEngine.CoreModule.xml

+ 1
- 0
IPA.Loader/Loader/PluginInitInjector.cs View File

@ -39,6 +39,7 @@ namespace IPA.Loader
#pragma warning disable CS0618 // Type or member is obsolete
new Tuple<Type, InjectParameter>(typeof(IModPrefs), (prev, param, meta) => prev ?? new ModPrefs(meta)),
#pragma warning restore CS0618 // Type or member is obsolete
new Tuple<Type, InjectParameter>(typeof(PluginLoader.PluginMetadata), (prev, param, meta) => prev ?? meta),
new Tuple<Type, InjectParameter>(typeof(IConfigProvider), (prev, param, meta) =>
{
if (prev != null) return prev;


BIN
Refs/BeatSaberCustomUI.dll View File


+ 37605
- 0
Refs/UnityEngine.CoreModule.xml
File diff suppressed because it is too large
View File


Loading…
Cancel
Save