Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Decompiled source of NoFirstStagePods v2.0.0
NoFirstStagePods.dll
Decompiled 11 months agousing System; using System.Collections; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using BepInEx; using Microsoft.CodeAnalysis; using On.RoR2; using RoR2; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] [assembly: AssemblyCompany("NoFirstStagePods")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("NoFirstStagePods")] [assembly: AssemblyTitle("NoFirstStagePods")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.0.0")] [module: UnverifiableCode] [module: RefSafetyRules(11)] namespace Microsoft.CodeAnalysis { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] internal sealed class EmbeddedAttribute : Attribute { } } namespace System.Runtime.CompilerServices { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] [AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)] internal sealed class RefSafetyRulesAttribute : Attribute { public readonly int Version; public RefSafetyRulesAttribute(int P_0) { Version = P_0; } } } namespace NoFirstStagePods { [BepInPlugin("GiGaGon.NoFirstStagePods", "NoFirstStagePods", "2.0.0")] public class NoFirstStagePods : BaseUnityPlugin { [CompilerGenerated] private static class <>O { public static hook_Start <0>__OnRoR2StageStart; } public const string PluginGUID = "GiGaGon.NoFirstStagePods"; public const string PluginAuthor = "GiGaGon"; public const string PluginName = "NoFirstStagePods"; public const string PluginVersion = "2.0.0"; private void OnEnable() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Expected O, but got Unknown object obj = <>O.<0>__OnRoR2StageStart; if (obj == null) { hook_Start val = OnRoR2StageStart; <>O.<0>__OnRoR2StageStart = val; obj = (object)val; } Stage.Start += (hook_Start)obj; } private void OnDisable() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Expected O, but got Unknown object obj = <>O.<0>__OnRoR2StageStart; if (obj == null) { hook_Start val = OnRoR2StageStart; <>O.<0>__OnRoR2StageStart = val; obj = (object)val; } Stage.Start -= (hook_Start)obj; } private static IEnumerator OnRoR2StageStart(orig_Start orig, Stage self) { self.usePod = false; return orig.Invoke(self); } } }