using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using EntityStates.Missions.Arena.NullWard;
using On.EntityStates.Missions.Arena.NullWard;
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.0", FrameworkDisplayName = ".NET Standard 2.0")]
[assembly: AssemblyCompany("VoidFieldsTimeFix")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("VoidFieldsTimeFix")]
[assembly: AssemblyTitle("VoidFieldsTimeFix")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
namespace VoidFieldsTimeFix;
[BepInPlugin("YukiNeedsSleep.VoidFieldsTimerFix", "VoidFieldsTimerFix", "0.0.1")]
public class Main : BaseUnityPlugin
{
public const string ModGUID = "YukiNeedsSleep.VoidFieldsTimerFix";
public const string ModName = "VoidFieldsTimerFix";
public const string ModVersion = "0.0.1";
public void Awake()
{
Hooks();
}
public void Hooks()
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_0012: Expected O, but got Unknown
NullWardBaseState.OnEnter += new hook_OnEnter(FixTime);
}
private void FixTime(orig_OnEnter orig, NullWardBaseState self)
{
//IL_000f: Unknown result type (might be due to invalid IL or missing references)
orig.Invoke(self);
SceneCatalog.mostRecentSceneDef.sceneType = (SceneType)4;
}
}