Decompiled source of MW 2022 MainMenu Soundtrack v1.0.0

bootstrap.dll

Decompiled a year ago
using System.Collections;
using System.Linq;
using System.Reflection;
using BepInEx;
using Stratum;
using Stratum.Jobs;

[assembly: AssemblyVersion("1.0.0.0")]
[BepInPlugin("Potatoes-New_Music_Track", "New_Music_Track", "1.0.0")]
[BepInDependency("dll.potatoes.ptnhbgml", "3.0.0")]
[BepInDependency("stratum", "1.0.0")]
public sealed class Plugin : StratumPlugin
{
	public override void OnSetup(IStageContext<Empty> ctx)
	{
		//IL_0035: Unknown result type (might be due to invalid IL or missing references)
		ExtPipeline.Build<AssetPipeline<Empty>>(((AssetPipeline<Empty, AssetPipeline<Empty>>)(object)new AssetPipeline<Empty>(((StratumPlugin)this).Directories.Resources)).AddAsset("dll.potatoes.ptnhbgml", "tnhbgml_soundtrack", "soundtrack_manifest.yaml")).Invoke(((IReadOnlyStageContext<Empty>)(object)ctx).Stage, ((BaseUnityPlugin)this).Logger);
	}

	public override IEnumerator OnRuntime(IStageContext<IEnumerator> ctx)
	{
		return ((IEnumerable)Enumerable.Empty<object>()).GetEnumerator();
	}
}