using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("InfinityJetpack")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("InfinityJetpack")] [assembly: AssemblyCopyright("Copyright © 2026")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("6d52dd22-1cfd-4a9c-bf31-468367bf32cf")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] [assembly: AssemblyVersion("1.0.0.0")] [BepInPlugin("com.peak.infinityjetpack", "InfinityJetpack", "1.0.0")] public sealed class InfinityJetpackPlugin : BaseUnityPlugin { private const float MaxFuel = 100f; private void LateUpdate() { //IL_0062: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Invalid comparison between Unknown and I4 if (!Character.localCharacterExists) { return; } Character localCharacter = Character.localCharacter; if ((Object)(object)localCharacter == (Object)null) { return; } Player player = localCharacter.player; if ((Object)(object)player == (Object)null) { return; } BackpackSlot backpackSlot = player.GetBackpackSlot(); if (backpackSlot != null && !((ItemSlot)backpackSlot).IsEmpty() && (int)backpackSlot.backpackType == 3) { FloatItemData val = default(FloatItemData); if (((ItemSlot)backpackSlot).data.TryGetDataEntry((DataEntryKey)10, ref val)) { val.Value = 100f; } FloatItemData val2 = default(FloatItemData); if (((ItemSlot)backpackSlot).data.TryGetDataEntry((DataEntryKey)11, ref val2)) { val2.Value = 1f; } } } }