Decompiled source of TREK 50 AMR v1.0.7

plugins/bootstrap.dll

Decompiled 9 months ago
using System.Collections;
using System.Reflection;
using BepInEx;
using Stratum;
using Stratum.Jobs;
using UnityEngine;

[assembly: AssemblyVersion("1.1.0.0")]
[BepInPlugin("Meat_banono-Meats_CutoutMags", "Meats_CutoutMags", "1.1.0")]
[BepInDependency("h3vr.otherloader", "1.0.0")]
[BepInDependency("stratum", "1.0.0")]
public sealed class Plugin : StratumPlugin
{
	private readonly CoroutineStarter _startCoroutine;

	public Plugin()
	{
		//IL_000e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0018: Expected O, but got Unknown
		_startCoroutine = new CoroutineStarter(((MonoBehaviour)this).StartCoroutine);
	}

	public override void OnSetup(IStageContext<Empty> ctx)
	{
	}

	public override IEnumerator OnRuntime(IStageContext<IEnumerator> ctx)
	{
		return ExtPipeline.BuildParallel<AssetPipeline<IEnumerator>>(((AssetPipeline<IEnumerator, AssetPipeline<IEnumerator>>)(object)new AssetPipeline<IEnumerator>(((StratumPlugin)this).Directories.Resources)).AddAsset("h3vr.otherloader", "item_unordered", "roadsidemags"), _startCoroutine).Invoke(((IReadOnlyStageContext<IEnumerator>)(object)ctx).Stage, ((BaseUnityPlugin)this).Logger);
	}
}