Decompiled source of NLag v1.0.3
GDWeave/mods/meepso.NLag/Meepso.NLag.dll
Decompiled 9 hours ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using GDWeave; using GDWeave.Godot; using GDWeave.Godot.Variants; using GDWeave.Modding; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(/*Could not decode attribute arguments.*/)] [assembly: TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] [assembly: AssemblyCompany("Meepso.NLag")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0.0+a649c693d09f95785d038ae7c7356bd0cb303735")] [assembly: AssemblyProduct("Meepso.NLag")] [assembly: AssemblyTitle("Meepso.NLag")] [assembly: AssemblyVersion("1.0.0.0")] [module: RefSafetyRules(11)] namespace Meepso.NLag; public class Config { } public class Mod : IMod, global::System.IDisposable { public Config Config; public Mod(IModInterface modInterface) { Config = modInterface.ReadConfig<Config>(); modInterface.Logger.Information("Loading"); } public void Dispose() { } } public class SteamPatch : IScriptMod { [CompilerGenerated] private sealed class <CreatePrintFunction>d__3 : global::System.Collections.Generic.IEnumerable<Token>, global::System.Collections.IEnumerable, global::System.Collections.Generic.IEnumerator<Token>, global::System.Collections.IEnumerator, global::System.IDisposable { private int <>1__state; private Token <>2__current; private int <>l__initialThreadId; private string message; public string <>3__message; private int indent; public int <>3__indent; public SteamPatch <>4__this; Token global::System.Collections.Generic.IEnumerator<Token>.Current { [DebuggerHidden] get { return <>2__current; } } object global::System.Collections.IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } [DebuggerHidden] public <CreatePrintFunction>d__3(int <>1__state) { this.<>1__state = <>1__state; <>l__initialThreadId = Environment.CurrentManagedThreadId; } [DebuggerHidden] void global::System.IDisposable.Dispose() { } private bool MoveNext() { //IL_005d: Unknown result type (might be due to invalid IL or missing references) //IL_0067: Expected O, but got Unknown //IL_0080: Unknown result type (might be due to invalid IL or missing references) //IL_008a: Expected O, but got Unknown //IL_00a6: Unknown result type (might be due to invalid IL or missing references) //IL_00b0: Expected O, but got Unknown //IL_00c7: Unknown result type (might be due to invalid IL or missing references) //IL_00d1: Expected O, but got Unknown //IL_00cc: Unknown result type (might be due to invalid IL or missing references) //IL_00d6: Expected O, but got Unknown //IL_00f2: Unknown result type (might be due to invalid IL or missing references) //IL_00fc: Expected O, but got Unknown //IL_011a: Unknown result type (might be due to invalid IL or missing references) //IL_0124: Expected O, but got Unknown switch (<>1__state) { default: return false; case 0: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)(uint)indent); <>1__state = 1; return true; case 1: <>1__state = -1; <>2__current = new Token((TokenType)5, (uint?)63u); <>1__state = 2; return true; case 2: <>1__state = -1; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 3; return true; case 3: <>1__state = -1; <>2__current = (Token)new ConstantToken((Variant)new StringVariant(message)); <>1__state = 4; return true; case 4: <>1__state = -1; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 5; return true; case 5: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)(uint)indent); <>1__state = 6; return true; case 6: <>1__state = -1; return false; } } bool global::System.Collections.IEnumerator.MoveNext() { //ILSpy generated this explicit interface implementation from .override directive in MoveNext return this.MoveNext(); } [DebuggerHidden] void global::System.Collections.IEnumerator.Reset() { //IL_0000: Unknown result type (might be due to invalid IL or missing references) throw new NotSupportedException(); } [DebuggerHidden] global::System.Collections.Generic.IEnumerator<Token> global::System.Collections.Generic.IEnumerable<Token>.GetEnumerator() { <CreatePrintFunction>d__3 <CreatePrintFunction>d__; if (<>1__state == -2 && <>l__initialThreadId == Environment.CurrentManagedThreadId) { <>1__state = 0; <CreatePrintFunction>d__ = this; } else { <CreatePrintFunction>d__ = new <CreatePrintFunction>d__3(0) { <>4__this = <>4__this }; } <CreatePrintFunction>d__.message = <>3__message; <CreatePrintFunction>d__.indent = <>3__indent; return <CreatePrintFunction>d__; } [DebuggerHidden] global::System.Collections.IEnumerator global::System.Collections.IEnumerable.GetEnumerator() { return (global::System.Collections.IEnumerator)((global::System.Collections.Generic.IEnumerable<Token>)this).GetEnumerator(); } } [CompilerGenerated] private sealed class <Modify>d__5 : global::System.Collections.Generic.IEnumerable<Token>, global::System.Collections.IEnumerable, global::System.Collections.Generic.IEnumerator<Token>, global::System.Collections.IEnumerator, global::System.IDisposable { private int <>1__state; private Token <>2__current; private int <>l__initialThreadId; private string path; public string <>3__path; private global::System.Collections.Generic.IEnumerable<Token> tokens; public global::System.Collections.Generic.IEnumerable<Token> <>3__tokens; public SteamPatch <>4__this; private MultiTokenWaiter <_readyMatch>5__1; private MultiTokenWaiter <_processMatch>5__2; private MultiTokenWaiter <__read_all_P2P_packetsMatch>5__3; private MultiTokenWaiter <_read_P2P_PacketMatch>5__4; private MultiTokenWaiter <PacketSizeMatch>5__5; private int <lineNumber>5__6; private int <i>5__7; private int <skipNextN>5__8; private global::System.Collections.Generic.IEnumerator<Token> <>s__9; private Token <token>5__10; private global::System.Collections.Generic.IEnumerator<Token> <>s__11; private Token <printToken>5__12; private global::System.Collections.Generic.IEnumerator<Token> <>s__13; private Token <printToken>5__14; private global::System.Collections.Generic.IEnumerator<Token> <>s__15; private Token <printToken>5__16; Token global::System.Collections.Generic.IEnumerator<Token>.Current { [DebuggerHidden] get { return <>2__current; } } object global::System.Collections.IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } [DebuggerHidden] public <Modify>d__5(int <>1__state) { this.<>1__state = <>1__state; <>l__initialThreadId = Environment.CurrentManagedThreadId; } [DebuggerHidden] void global::System.IDisposable.Dispose() { int num = <>1__state; switch (num) { case -4: case -3: case 1: case 2: case 3: case 4: case 5: case 6: case 7: case 8: case 9: case 10: case 11: case 12: case 13: case 14: case 15: case 16: case 17: case 18: case 19: case 20: case 21: case 22: case 23: case 24: case 25: case 26: case 27: case 28: case 29: case 30: case 31: case 32: case 33: case 34: case 35: case 36: case 37: case 38: case 39: case 40: case 41: case 42: case 43: case 44: case 45: case 46: case 47: case 48: case 49: case 50: case 51: case 52: case 53: case 54: case 55: case 56: case 57: case 58: case 59: case 60: case 61: case 62: case 63: case 64: case 65: case 66: case 67: case 68: case 69: case 70: case 71: case 72: case 73: case 74: case 75: case 76: case 77: case 78: case 79: case 80: case 81: case 82: case 83: case 84: case 85: case 86: case 87: case 88: case 89: case 90: case 91: case 92: case 93: case 94: case 95: case 96: case 97: case 98: case 99: case 100: case 101: case 102: case 103: case 104: case 105: case 106: case 107: case 108: case 109: case 110: try { if (num != -4 && num != 1) { break; } try { break; } finally { <>m__Finally2(); } } finally { <>m__Finally1(); } case -5: case 134: try { break; } finally { <>m__Finally3(); } case -6: case 193: try { break; } finally { <>m__Finally4(); } case -2: case -1: case 0: case 111: case 112: case 113: case 114: case 115: case 116: case 117: case 118: case 119: case 120: case 121: case 122: case 123: case 124: case 125: case 126: case 127: case 128: case 129: case 130: case 131: case 132: case 133: case 135: case 136: case 137: case 138: case 139: case 140: case 141: case 142: case 143: case 144: case 145: case 146: case 147: case 148: case 149: case 150: case 151: case 152: case 153: case 154: case 155: case 156: case 157: case 158: case 159: case 160: case 161: case 162: case 163: case 164: case 165: case 166: case 167: case 168: case 169: case 170: case 171: case 172: case 173: case 174: case 175: case 176: case 177: case 178: case 179: case 180: case 181: case 182: case 183: case 184: case 185: case 186: case 187: case 188: case 189: case 190: case 191: case 192: break; } } private bool MoveNext() { //IL_106f: Unknown result type (might be due to invalid IL or missing references) //IL_1079: Expected O, but got Unknown //IL_1095: Unknown result type (might be due to invalid IL or missing references) //IL_109f: Expected O, but got Unknown //IL_10c2: Unknown result type (might be due to invalid IL or missing references) //IL_10cc: Expected O, but got Unknown //IL_10e8: Unknown result type (might be due to invalid IL or missing references) //IL_10f2: Expected O, but got Unknown //IL_1115: Unknown result type (might be due to invalid IL or missing references) //IL_111f: Expected O, but got Unknown //IL_1142: Unknown result type (might be due to invalid IL or missing references) //IL_114c: Expected O, but got Unknown //IL_116b: Unknown result type (might be due to invalid IL or missing references) //IL_1175: Expected O, but got Unknown //IL_1192: Unknown result type (might be due to invalid IL or missing references) //IL_119c: Expected O, but got Unknown //IL_11c0: Unknown result type (might be due to invalid IL or missing references) //IL_11ca: Expected O, but got Unknown //IL_11e7: Unknown result type (might be due to invalid IL or missing references) //IL_11f1: Expected O, but got Unknown //IL_1215: Unknown result type (might be due to invalid IL or missing references) //IL_121f: Expected O, but got Unknown //IL_1242: Unknown result type (might be due to invalid IL or missing references) //IL_124c: Expected O, but got Unknown //IL_1270: Unknown result type (might be due to invalid IL or missing references) //IL_127a: Expected O, but got Unknown //IL_1297: Unknown result type (might be due to invalid IL or missing references) //IL_12a1: Expected O, but got Unknown //IL_129c: Unknown result type (might be due to invalid IL or missing references) //IL_12a6: Expected O, but got Unknown //IL_12ca: Unknown result type (might be due to invalid IL or missing references) //IL_12d4: Expected O, but got Unknown //IL_12ec: Unknown result type (might be due to invalid IL or missing references) //IL_12f6: Expected O, but got Unknown //IL_12f1: Unknown result type (might be due to invalid IL or missing references) //IL_12fb: Expected O, but got Unknown //IL_131f: Unknown result type (might be due to invalid IL or missing references) //IL_1329: Expected O, but got Unknown //IL_1349: Unknown result type (might be due to invalid IL or missing references) //IL_1353: Expected O, but got Unknown //IL_13bd: Unknown result type (might be due to invalid IL or missing references) //IL_13c7: Expected O, but got Unknown //IL_13eb: Unknown result type (might be due to invalid IL or missing references) //IL_13f5: Expected O, but got Unknown //IL_1412: Unknown result type (might be due to invalid IL or missing references) //IL_141c: Expected O, but got Unknown //IL_1440: Unknown result type (might be due to invalid IL or missing references) //IL_144a: Expected O, but got Unknown //IL_146e: Unknown result type (might be due to invalid IL or missing references) //IL_1478: Expected O, but got Unknown //IL_1498: Unknown result type (might be due to invalid IL or missing references) //IL_14a2: Expected O, but got Unknown //IL_14bf: Unknown result type (might be due to invalid IL or missing references) //IL_14c9: Expected O, but got Unknown //IL_14ed: Unknown result type (might be due to invalid IL or missing references) //IL_14f7: Expected O, but got Unknown //IL_1514: Unknown result type (might be due to invalid IL or missing references) //IL_151e: Expected O, but got Unknown //IL_1542: Unknown result type (might be due to invalid IL or missing references) //IL_154c: Expected O, but got Unknown //IL_1570: Unknown result type (might be due to invalid IL or missing references) //IL_157a: Expected O, but got Unknown //IL_159a: Unknown result type (might be due to invalid IL or missing references) //IL_15a4: Expected O, but got Unknown //IL_15c1: Unknown result type (might be due to invalid IL or missing references) //IL_15cb: Expected O, but got Unknown //IL_15ef: Unknown result type (might be due to invalid IL or missing references) //IL_15f9: Expected O, but got Unknown //IL_161d: Unknown result type (might be due to invalid IL or missing references) //IL_1627: Expected O, but got Unknown //IL_1647: Unknown result type (might be due to invalid IL or missing references) //IL_1651: Expected O, but got Unknown //IL_1675: Unknown result type (might be due to invalid IL or missing references) //IL_167f: Expected O, but got Unknown //IL_16a3: Unknown result type (might be due to invalid IL or missing references) //IL_16ad: Expected O, but got Unknown //IL_16ca: Unknown result type (might be due to invalid IL or missing references) //IL_16d4: Expected O, but got Unknown //IL_16f8: Unknown result type (might be due to invalid IL or missing references) //IL_1702: Expected O, but got Unknown //IL_171f: Unknown result type (might be due to invalid IL or missing references) //IL_1729: Expected O, but got Unknown //IL_174d: Unknown result type (might be due to invalid IL or missing references) //IL_1757: Expected O, but got Unknown //IL_177b: Unknown result type (might be due to invalid IL or missing references) //IL_1785: Expected O, but got Unknown //IL_17a9: Unknown result type (might be due to invalid IL or missing references) //IL_17b3: Expected O, but got Unknown //IL_17d3: Unknown result type (might be due to invalid IL or missing references) //IL_17dd: Expected O, but got Unknown //IL_17fa: Unknown result type (might be due to invalid IL or missing references) //IL_1804: Expected O, but got Unknown //IL_1828: Unknown result type (might be due to invalid IL or missing references) //IL_1832: Expected O, but got Unknown //IL_184f: Unknown result type (might be due to invalid IL or missing references) //IL_1859: Expected O, but got Unknown //IL_187d: Unknown result type (might be due to invalid IL or missing references) //IL_1887: Expected O, but got Unknown //IL_18ab: Unknown result type (might be due to invalid IL or missing references) //IL_18b5: Expected O, but got Unknown //IL_18d5: Unknown result type (might be due to invalid IL or missing references) //IL_18df: Expected O, but got Unknown //IL_18fc: Unknown result type (might be due to invalid IL or missing references) //IL_1906: Expected O, but got Unknown //IL_192a: Unknown result type (might be due to invalid IL or missing references) //IL_1934: Expected O, but got Unknown //IL_1951: Unknown result type (might be due to invalid IL or missing references) //IL_195b: Expected O, but got Unknown //IL_197f: Unknown result type (might be due to invalid IL or missing references) //IL_1989: Expected O, but got Unknown //IL_19a6: Unknown result type (might be due to invalid IL or missing references) //IL_19b0: Expected O, but got Unknown //IL_19d4: Unknown result type (might be due to invalid IL or missing references) //IL_19de: Expected O, but got Unknown //IL_1a02: Unknown result type (might be due to invalid IL or missing references) //IL_1a0c: Expected O, but got Unknown //IL_1a2c: Unknown result type (might be due to invalid IL or missing references) //IL_1a36: Expected O, but got Unknown //IL_1a53: Unknown result type (might be due to invalid IL or missing references) //IL_1a5d: Expected O, but got Unknown //IL_1a81: Unknown result type (might be due to invalid IL or missing references) //IL_1a8b: Expected O, but got Unknown //IL_1aa8: Unknown result type (might be due to invalid IL or missing references) //IL_1ab2: Expected O, but got Unknown //IL_1ad6: Unknown result type (might be due to invalid IL or missing references) //IL_1ae0: Expected O, but got Unknown //IL_1b03: Unknown result type (might be due to invalid IL or missing references) //IL_1b0d: Expected O, but got Unknown //IL_1b31: Unknown result type (might be due to invalid IL or missing references) //IL_1b3b: Expected O, but got Unknown //IL_1b58: Unknown result type (might be due to invalid IL or missing references) //IL_1b62: Expected O, but got Unknown //IL_1b5d: Unknown result type (might be due to invalid IL or missing references) //IL_1b67: Expected O, but got Unknown //IL_1b8b: Unknown result type (might be due to invalid IL or missing references) //IL_1b95: Expected O, but got Unknown //IL_1bad: Unknown result type (might be due to invalid IL or missing references) //IL_1bb7: Expected O, but got Unknown //IL_1bb2: Unknown result type (might be due to invalid IL or missing references) //IL_1bbc: Expected O, but got Unknown //IL_1be0: Unknown result type (might be due to invalid IL or missing references) //IL_1bea: Expected O, but got Unknown //IL_1c0a: Unknown result type (might be due to invalid IL or missing references) //IL_1c14: Expected O, but got Unknown //IL_1c38: Unknown result type (might be due to invalid IL or missing references) //IL_1c42: Expected O, but got Unknown //IL_1c62: Unknown result type (might be due to invalid IL or missing references) //IL_1c6c: Expected O, but got Unknown //IL_1cd6: Unknown result type (might be due to invalid IL or missing references) //IL_1ce0: Expected O, but got Unknown //IL_1cfd: Unknown result type (might be due to invalid IL or missing references) //IL_1d07: Expected O, but got Unknown //IL_1d2b: Unknown result type (might be due to invalid IL or missing references) //IL_1d35: Expected O, but got Unknown //IL_1d52: Unknown result type (might be due to invalid IL or missing references) //IL_1d5c: Expected O, but got Unknown //IL_1d80: Unknown result type (might be due to invalid IL or missing references) //IL_1d8a: Expected O, but got Unknown //IL_1da7: Unknown result type (might be due to invalid IL or missing references) //IL_1db1: Expected O, but got Unknown //IL_1dd5: Unknown result type (might be due to invalid IL or missing references) //IL_1ddf: Expected O, but got Unknown //IL_1e03: Unknown result type (might be due to invalid IL or missing references) //IL_1e0d: Expected O, but got Unknown //IL_1e28: Unknown result type (might be due to invalid IL or missing references) //IL_1e32: Expected O, but got Unknown //IL_1e2d: Unknown result type (might be due to invalid IL or missing references) //IL_1e37: Expected O, but got Unknown //IL_1e5b: Unknown result type (might be due to invalid IL or missing references) //IL_1e65: Expected O, but got Unknown //IL_1e85: Unknown result type (might be due to invalid IL or missing references) //IL_1e8f: Expected O, but got Unknown //IL_1eac: Unknown result type (might be due to invalid IL or missing references) //IL_1eb6: Expected O, but got Unknown //IL_1eda: Unknown result type (might be due to invalid IL or missing references) //IL_1ee4: Expected O, but got Unknown //IL_1f01: Unknown result type (might be due to invalid IL or missing references) //IL_1f0b: Expected O, but got Unknown //IL_1f2f: Unknown result type (might be due to invalid IL or missing references) //IL_1f39: Expected O, but got Unknown //IL_1f59: Unknown result type (might be due to invalid IL or missing references) //IL_1f63: Expected O, but got Unknown //IL_1f87: Unknown result type (might be due to invalid IL or missing references) //IL_1f91: Expected O, but got Unknown //IL_1fb5: Unknown result type (might be due to invalid IL or missing references) //IL_1fbf: Expected O, but got Unknown //IL_1fdc: Unknown result type (might be due to invalid IL or missing references) //IL_1fe6: Expected O, but got Unknown //IL_200a: Unknown result type (might be due to invalid IL or missing references) //IL_2014: Expected O, but got Unknown //IL_2038: Unknown result type (might be due to invalid IL or missing references) //IL_2042: Expected O, but got Unknown //IL_2062: Unknown result type (might be due to invalid IL or missing references) //IL_206c: Expected O, but got Unknown //IL_2089: Unknown result type (might be due to invalid IL or missing references) //IL_2093: Expected O, but got Unknown //IL_20b7: Unknown result type (might be due to invalid IL or missing references) //IL_20c1: Expected O, but got Unknown //IL_20de: Unknown result type (might be due to invalid IL or missing references) //IL_20e8: Expected O, but got Unknown //IL_210c: Unknown result type (might be due to invalid IL or missing references) //IL_2116: Expected O, but got Unknown //IL_2133: Unknown result type (might be due to invalid IL or missing references) //IL_213d: Expected O, but got Unknown //IL_2161: Unknown result type (might be due to invalid IL or missing references) //IL_216b: Expected O, but got Unknown //IL_2186: Unknown result type (might be due to invalid IL or missing references) //IL_2190: Expected O, but got Unknown //IL_218b: Unknown result type (might be due to invalid IL or missing references) //IL_2195: Expected O, but got Unknown //IL_21b9: Unknown result type (might be due to invalid IL or missing references) //IL_21c3: Expected O, but got Unknown //IL_21e3: Unknown result type (might be due to invalid IL or missing references) //IL_21ed: Expected O, but got Unknown //IL_2211: Unknown result type (might be due to invalid IL or missing references) //IL_221b: Expected O, but got Unknown //IL_223b: Unknown result type (might be due to invalid IL or missing references) //IL_2245: Expected O, but got Unknown //IL_2402: Unknown result type (might be due to invalid IL or missing references) //IL_240c: Expected O, but got Unknown //IL_2428: Unknown result type (might be due to invalid IL or missing references) //IL_2432: Expected O, but got Unknown //IL_2455: Unknown result type (might be due to invalid IL or missing references) //IL_245f: Expected O, but got Unknown //IL_2482: Unknown result type (might be due to invalid IL or missing references) //IL_248c: Expected O, but got Unknown //IL_24af: Unknown result type (might be due to invalid IL or missing references) //IL_24b9: Expected O, but got Unknown //IL_24dc: Unknown result type (might be due to invalid IL or missing references) //IL_24e6: Expected O, but got Unknown //IL_2509: Unknown result type (might be due to invalid IL or missing references) //IL_2513: Expected O, but got Unknown //IL_2536: Unknown result type (might be due to invalid IL or missing references) //IL_2540: Expected O, but got Unknown //IL_255c: Unknown result type (might be due to invalid IL or missing references) //IL_2566: Expected O, but got Unknown //IL_2589: Unknown result type (might be due to invalid IL or missing references) //IL_2593: Expected O, but got Unknown //IL_25ab: Unknown result type (might be due to invalid IL or missing references) //IL_25b5: Expected O, but got Unknown //IL_25b0: Unknown result type (might be due to invalid IL or missing references) //IL_25ba: Expected O, but got Unknown //IL_25dd: Unknown result type (might be due to invalid IL or missing references) //IL_25e7: Expected O, but got Unknown //IL_260a: Unknown result type (might be due to invalid IL or missing references) //IL_2614: Expected O, but got Unknown //IL_2637: Unknown result type (might be due to invalid IL or missing references) //IL_2641: Expected O, but got Unknown //IL_265d: Unknown result type (might be due to invalid IL or missing references) //IL_2667: Expected O, but got Unknown //IL_268a: Unknown result type (might be due to invalid IL or missing references) //IL_2694: Expected O, but got Unknown //IL_26b7: Unknown result type (might be due to invalid IL or missing references) //IL_26c1: Expected O, but got Unknown //IL_26e0: Unknown result type (might be due to invalid IL or missing references) //IL_26ea: Expected O, but got Unknown //IL_2710: Unknown result type (might be due to invalid IL or missing references) //IL_271a: Expected O, but got Unknown //IL_2740: Unknown result type (might be due to invalid IL or missing references) //IL_274a: Expected O, but got Unknown //IL_2770: Unknown result type (might be due to invalid IL or missing references) //IL_277a: Expected O, but got Unknown //IL_279c: Unknown result type (might be due to invalid IL or missing references) //IL_27a6: Expected O, but got Unknown //IL_2875: Unknown result type (might be due to invalid IL or missing references) //IL_287f: Expected O, but got Unknown //IL_28a5: Unknown result type (might be due to invalid IL or missing references) //IL_28af: Expected O, but got Unknown //IL_28ce: Unknown result type (might be due to invalid IL or missing references) //IL_28d8: Expected O, but got Unknown //IL_28fe: Unknown result type (might be due to invalid IL or missing references) //IL_2908: Expected O, but got Unknown //IL_2927: Unknown result type (might be due to invalid IL or missing references) //IL_2931: Expected O, but got Unknown //IL_2957: Unknown result type (might be due to invalid IL or missing references) //IL_2961: Expected O, but got Unknown //IL_2987: Unknown result type (might be due to invalid IL or missing references) //IL_2991: Expected O, but got Unknown //IL_29b3: Unknown result type (might be due to invalid IL or missing references) //IL_29bd: Expected O, but got Unknown //IL_29e3: Unknown result type (might be due to invalid IL or missing references) //IL_29ed: Expected O, but got Unknown //IL_2a0c: Unknown result type (might be due to invalid IL or missing references) //IL_2a16: Expected O, but got Unknown //IL_2a3c: Unknown result type (might be due to invalid IL or missing references) //IL_2a46: Expected O, but got Unknown //IL_2a65: Unknown result type (might be due to invalid IL or missing references) //IL_2a6f: Expected O, but got Unknown //IL_2a95: Unknown result type (might be due to invalid IL or missing references) //IL_2a9f: Expected O, but got Unknown //IL_2abe: Unknown result type (might be due to invalid IL or missing references) //IL_2ac8: Expected O, but got Unknown //IL_2aee: Unknown result type (might be due to invalid IL or missing references) //IL_2af8: Expected O, but got Unknown //IL_2b1e: Unknown result type (might be due to invalid IL or missing references) //IL_2b28: Expected O, but got Unknown //IL_2b4e: Unknown result type (might be due to invalid IL or missing references) //IL_2b58: Expected O, but got Unknown //IL_2b77: Unknown result type (might be due to invalid IL or missing references) //IL_2b81: Expected O, but got Unknown //IL_2ba7: Unknown result type (might be due to invalid IL or missing references) //IL_2bb1: Expected O, but got Unknown //IL_2bd8: Unknown result type (might be due to invalid IL or missing references) //IL_2be2: Expected O, but got Unknown //IL_2bdd: Unknown result type (might be due to invalid IL or missing references) //IL_2be7: Expected O, but got Unknown //IL_2c0d: Unknown result type (might be due to invalid IL or missing references) //IL_2c17: Expected O, but got Unknown //IL_2c39: Unknown result type (might be due to invalid IL or missing references) //IL_2c43: Expected O, but got Unknown //IL_2c69: Unknown result type (might be due to invalid IL or missing references) //IL_2c73: Expected O, but got Unknown //IL_2c92: Unknown result type (might be due to invalid IL or missing references) //IL_2c9c: Expected O, but got Unknown //IL_2cc2: Unknown result type (might be due to invalid IL or missing references) //IL_2ccc: Expected O, but got Unknown //IL_2ce9: Unknown result type (might be due to invalid IL or missing references) //IL_2cf3: Expected O, but got Unknown //IL_2cee: Unknown result type (might be due to invalid IL or missing references) //IL_2cf8: Expected O, but got Unknown //IL_2d1e: Unknown result type (might be due to invalid IL or missing references) //IL_2d28: Expected O, but got Unknown //IL_2d4e: Unknown result type (might be due to invalid IL or missing references) //IL_2d58: Expected O, but got Unknown //IL_2d7a: Unknown result type (might be due to invalid IL or missing references) //IL_2d84: Expected O, but got Unknown //IL_2daa: Unknown result type (might be due to invalid IL or missing references) //IL_2db4: Expected O, but got Unknown //IL_2dd3: Unknown result type (might be due to invalid IL or missing references) //IL_2ddd: Expected O, but got Unknown //IL_2e02: Unknown result type (might be due to invalid IL or missing references) //IL_2e0c: Expected O, but got Unknown //IL_2e2b: Unknown result type (might be due to invalid IL or missing references) //IL_2e35: Expected O, but got Unknown //IL_2e5b: Unknown result type (might be due to invalid IL or missing references) //IL_2e65: Expected O, but got Unknown //IL_2e84: Unknown result type (might be due to invalid IL or missing references) //IL_2e8e: Expected O, but got Unknown //IL_2eb4: Unknown result type (might be due to invalid IL or missing references) //IL_2ebe: Expected O, but got Unknown //IL_2ee4: Unknown result type (might be due to invalid IL or missing references) //IL_2eee: Expected O, but got Unknown //IL_2f14: Unknown result type (might be due to invalid IL or missing references) //IL_2f1e: Expected O, but got Unknown //IL_2f40: Unknown result type (might be due to invalid IL or missing references) //IL_2f4a: Expected O, but got Unknown //IL_2f70: Unknown result type (might be due to invalid IL or missing references) //IL_2f7a: Expected O, but got Unknown //IL_2fa0: Unknown result type (might be due to invalid IL or missing references) //IL_2faa: Expected O, but got Unknown //IL_2fc9: Unknown result type (might be due to invalid IL or missing references) //IL_2fd3: Expected O, but got Unknown //IL_2ff9: Unknown result type (might be due to invalid IL or missing references) //IL_3003: Expected O, but got Unknown //IL_3029: Unknown result type (might be due to invalid IL or missing references) //IL_3033: Expected O, but got Unknown //IL_3055: Unknown result type (might be due to invalid IL or missing references) //IL_305f: Expected O, but got Unknown //IL_307e: Unknown result type (might be due to invalid IL or missing references) //IL_3088: Expected O, but got Unknown //IL_30ae: Unknown result type (might be due to invalid IL or missing references) //IL_30b8: Expected O, but got Unknown //IL_30d7: Unknown result type (might be due to invalid IL or missing references) //IL_30e1: Expected O, but got Unknown //IL_3107: Unknown result type (might be due to invalid IL or missing references) //IL_3111: Expected O, but got Unknown //IL_3133: Unknown result type (might be due to invalid IL or missing references) //IL_313d: Expected O, but got Unknown //IL_315c: Unknown result type (might be due to invalid IL or missing references) //IL_3166: Expected O, but got Unknown //IL_318c: Unknown result type (might be due to invalid IL or missing references) //IL_3196: Expected O, but got Unknown //IL_31b5: Unknown result type (might be due to invalid IL or missing references) //IL_31bf: Expected O, but got Unknown //IL_31e5: Unknown result type (might be due to invalid IL or missing references) //IL_31ef: Expected O, but got Unknown //IL_320d: Unknown result type (might be due to invalid IL or missing references) //IL_3217: Expected O, but got Unknown //IL_3212: Unknown result type (might be due to invalid IL or missing references) //IL_321c: Expected O, but got Unknown //IL_3242: Unknown result type (might be due to invalid IL or missing references) //IL_324c: Expected O, but got Unknown //IL_326e: Unknown result type (might be due to invalid IL or missing references) //IL_3278: Expected O, but got Unknown //IL_334a: Unknown result type (might be due to invalid IL or missing references) //IL_3354: Expected O, but got Unknown //IL_337a: Unknown result type (might be due to invalid IL or missing references) //IL_3384: Expected O, but got Unknown //IL_33a3: Unknown result type (might be due to invalid IL or missing references) //IL_33ad: Expected O, but got Unknown //IL_33d3: Unknown result type (might be due to invalid IL or missing references) //IL_33dd: Expected O, but got Unknown //IL_33fc: Unknown result type (might be due to invalid IL or missing references) //IL_3406: Expected O, but got Unknown //IL_342c: Unknown result type (might be due to invalid IL or missing references) //IL_3436: Expected O, but got Unknown //IL_345c: Unknown result type (might be due to invalid IL or missing references) //IL_3466: Expected O, but got Unknown //IL_3488: Unknown result type (might be due to invalid IL or missing references) //IL_3492: Expected O, but got Unknown //IL_34b8: Unknown result type (might be due to invalid IL or missing references) //IL_34c2: Expected O, but got Unknown //IL_34e1: Unknown result type (might be due to invalid IL or missing references) //IL_34eb: Expected O, but got Unknown //IL_3511: Unknown result type (might be due to invalid IL or missing references) //IL_351b: Expected O, but got Unknown //IL_353a: Unknown result type (might be due to invalid IL or missing references) //IL_3544: Expected O, but got Unknown //IL_356a: Unknown result type (might be due to invalid IL or missing references) //IL_3574: Expected O, but got Unknown //IL_3593: Unknown result type (might be due to invalid IL or missing references) //IL_359d: Expected O, but got Unknown //IL_35c3: Unknown result type (might be due to invalid IL or missing references) //IL_35cd: Expected O, but got Unknown //IL_35ec: Unknown result type (might be due to invalid IL or missing references) //IL_35f6: Expected O, but got Unknown //IL_361c: Unknown result type (might be due to invalid IL or missing references) //IL_3626: Expected O, but got Unknown //IL_3648: Unknown result type (might be due to invalid IL or missing references) //IL_3652: Expected O, but got Unknown //IL_3678: Unknown result type (might be due to invalid IL or missing references) //IL_3682: Expected O, but got Unknown //IL_36a1: Unknown result type (might be due to invalid IL or missing references) //IL_36ab: Expected O, but got Unknown //IL_36d1: Unknown result type (might be due to invalid IL or missing references) //IL_36db: Expected O, but got Unknown //IL_36f8: Unknown result type (might be due to invalid IL or missing references) //IL_3702: Expected O, but got Unknown //IL_36fd: Unknown result type (might be due to invalid IL or missing references) //IL_3707: Expected O, but got Unknown //IL_372d: Unknown result type (might be due to invalid IL or missing references) //IL_3737: Expected O, but got Unknown //IL_3759: Unknown result type (might be due to invalid IL or missing references) //IL_3763: Expected O, but got Unknown //IL_3789: Unknown result type (might be due to invalid IL or missing references) //IL_3793: Expected O, but got Unknown //IL_37b2: Unknown result type (might be due to invalid IL or missing references) //IL_37bc: Expected O, but got Unknown //IL_37e2: Unknown result type (might be due to invalid IL or missing references) //IL_37ec: Expected O, but got Unknown //IL_380b: Unknown result type (might be due to invalid IL or missing references) //IL_3815: Expected O, but got Unknown //IL_383b: Unknown result type (might be due to invalid IL or missing references) //IL_3845: Expected O, but got Unknown //IL_3864: Unknown result type (might be due to invalid IL or missing references) //IL_386e: Expected O, but got Unknown //IL_3894: Unknown result type (might be due to invalid IL or missing references) //IL_389e: Expected O, but got Unknown //IL_38bd: Unknown result type (might be due to invalid IL or missing references) //IL_38c7: Expected O, but got Unknown //IL_38ed: Unknown result type (might be due to invalid IL or missing references) //IL_38f7: Expected O, but got Unknown //IL_3916: Unknown result type (might be due to invalid IL or missing references) //IL_3920: Expected O, but got Unknown //IL_3946: Unknown result type (might be due to invalid IL or missing references) //IL_3950: Expected O, but got Unknown //IL_3972: Unknown result type (might be due to invalid IL or missing references) //IL_397c: Expected O, but got Unknown //IL_399b: Unknown result type (might be due to invalid IL or missing references) //IL_39a5: Expected O, but got Unknown //IL_39cb: Unknown result type (might be due to invalid IL or missing references) //IL_39d5: Expected O, but got Unknown //IL_39f4: Unknown result type (might be due to invalid IL or missing references) //IL_39fe: Expected O, but got Unknown //IL_3a24: Unknown result type (might be due to invalid IL or missing references) //IL_3a2e: Expected O, but got Unknown //IL_3a4d: Unknown result type (might be due to invalid IL or missing references) //IL_3a57: Expected O, but got Unknown //IL_3a7d: Unknown result type (might be due to invalid IL or missing references) //IL_3a87: Expected O, but got Unknown //IL_3aa9: Unknown result type (might be due to invalid IL or missing references) //IL_3ab3: Expected O, but got Unknown //IL_3ad9: Unknown result type (might be due to invalid IL or missing references) //IL_3ae3: Expected O, but got Unknown //IL_3b09: Unknown result type (might be due to invalid IL or missing references) //IL_3b13: Expected O, but got Unknown //IL_3b32: Unknown result type (might be due to invalid IL or missing references) //IL_3b3c: Expected O, but got Unknown //IL_3b62: Unknown result type (might be due to invalid IL or missing references) //IL_3b6c: Expected O, but got Unknown //IL_3b92: Unknown result type (might be due to invalid IL or missing references) //IL_3b9c: Expected O, but got Unknown //IL_3bc2: Unknown result type (might be due to invalid IL or missing references) //IL_3bcc: Expected O, but got Unknown //IL_3bee: Unknown result type (might be due to invalid IL or missing references) //IL_3bf8: Expected O, but got Unknown //IL_3c1e: Unknown result type (might be due to invalid IL or missing references) //IL_3c28: Expected O, but got Unknown //IL_3c4a: Unknown result type (might be due to invalid IL or missing references) //IL_3c54: Expected O, but got Unknown //IL_3c7a: Unknown result type (might be due to invalid IL or missing references) //IL_3c84: Expected O, but got Unknown //IL_3ca3: Unknown result type (might be due to invalid IL or missing references) //IL_3cad: Expected O, but got Unknown //IL_3cd3: Unknown result type (might be due to invalid IL or missing references) //IL_3cdd: Expected O, but got Unknown //IL_3d03: Unknown result type (might be due to invalid IL or missing references) //IL_3d0d: Expected O, but got Unknown //IL_3d2a: Unknown result type (might be due to invalid IL or missing references) //IL_3d34: Expected O, but got Unknown //IL_3d2f: Unknown result type (might be due to invalid IL or missing references) //IL_3d39: Expected O, but got Unknown //IL_3d5f: Unknown result type (might be due to invalid IL or missing references) //IL_3d69: Expected O, but got Unknown //IL_3d8b: Unknown result type (might be due to invalid IL or missing references) //IL_3d95: Expected O, but got Unknown //IL_3dbb: Unknown result type (might be due to invalid IL or missing references) //IL_3dc5: Expected O, but got Unknown //IL_3de4: Unknown result type (might be due to invalid IL or missing references) //IL_3dee: Expected O, but got Unknown //IL_3e13: Unknown result type (might be due to invalid IL or missing references) //IL_3e1d: Expected O, but got Unknown //IL_3e3c: Unknown result type (might be due to invalid IL or missing references) //IL_3e46: Expected O, but got Unknown //IL_3e6c: Unknown result type (might be due to invalid IL or missing references) //IL_3e76: Expected O, but got Unknown //IL_3e98: Unknown result type (might be due to invalid IL or missing references) //IL_3ea2: Expected O, but got Unknown //IL_3ec1: Unknown result type (might be due to invalid IL or missing references) //IL_3ecb: Expected O, but got Unknown //IL_3ef1: Unknown result type (might be due to invalid IL or missing references) //IL_3efb: Expected O, but got Unknown //IL_3f1a: Unknown result type (might be due to invalid IL or missing references) //IL_3f24: Expected O, but got Unknown //IL_3f4a: Unknown result type (might be due to invalid IL or missing references) //IL_3f54: Expected O, but got Unknown //IL_3f76: Unknown result type (might be due to invalid IL or missing references) //IL_3f80: Expected O, but got Unknown //IL_3f9f: Unknown result type (might be due to invalid IL or missing references) //IL_3fa9: Expected O, but got Unknown //IL_3fcf: Unknown result type (might be due to invalid IL or missing references) //IL_3fd9: Expected O, but got Unknown //IL_3ff8: Unknown result type (might be due to invalid IL or missing references) //IL_4002: Expected O, but got Unknown //IL_4028: Unknown result type (might be due to invalid IL or missing references) //IL_4032: Expected O, but got Unknown //IL_4058: Unknown result type (might be due to invalid IL or missing references) //IL_4062: Expected O, but got Unknown //IL_4084: Unknown result type (might be due to invalid IL or missing references) //IL_408e: Expected O, but got Unknown //IL_40b4: Unknown result type (might be due to invalid IL or missing references) //IL_40be: Expected O, but got Unknown //IL_40e4: Unknown result type (might be due to invalid IL or missing references) //IL_40ee: Expected O, but got Unknown //IL_410d: Unknown result type (might be due to invalid IL or missing references) //IL_4117: Expected O, but got Unknown //IL_413d: Unknown result type (might be due to invalid IL or missing references) //IL_4147: Expected O, but got Unknown //IL_416d: Unknown result type (might be due to invalid IL or missing references) //IL_4177: Expected O, but got Unknown //IL_419d: Unknown result type (might be due to invalid IL or missing references) //IL_41a7: Expected O, but got Unknown //IL_41c9: Unknown result type (might be due to invalid IL or missing references) //IL_41d3: Expected O, but got Unknown //IL_41f2: Unknown result type (might be due to invalid IL or missing references) //IL_41fc: Expected O, but got Unknown //IL_4222: Unknown result type (might be due to invalid IL or missing references) //IL_422c: Expected O, but got Unknown //IL_4247: Unknown result type (might be due to invalid IL or missing references) //IL_4251: Expected O, but got Unknown //IL_424c: Unknown result type (might be due to invalid IL or missing references) //IL_4256: Expected O, but got Unknown //IL_4278: Unknown result type (might be due to invalid IL or missing references) //IL_4282: Expected O, but got Unknown //IL_42a1: Unknown result type (might be due to invalid IL or missing references) //IL_42ab: Expected O, but got Unknown //IL_42d1: Unknown result type (might be due to invalid IL or missing references) //IL_42db: Expected O, but got Unknown //IL_42fa: Unknown result type (might be due to invalid IL or missing references) //IL_4304: Expected O, but got Unknown //IL_432a: Unknown result type (might be due to invalid IL or missing references) //IL_4334: Expected O, but got Unknown //IL_435a: Unknown result type (might be due to invalid IL or missing references) //IL_4364: Expected O, but got Unknown //IL_4383: Unknown result type (might be due to invalid IL or missing references) //IL_438d: Expected O, but got Unknown //IL_43b0: Unknown result type (might be due to invalid IL or missing references) //IL_43ba: Expected O, but got Unknown //IL_22f4: Unknown result type (might be due to invalid IL or missing references) //IL_22fb: Invalid comparison between Unknown and I4 //IL_1042: Unknown result type (might be due to invalid IL or missing references) //IL_104c: Expected O, but got Unknown //IL_138f: Unknown result type (might be due to invalid IL or missing references) //IL_1399: Expected O, but got Unknown //IL_1ca8: Unknown result type (might be due to invalid IL or missing references) //IL_1cb2: Expected O, but got Unknown //IL_2282: Unknown result type (might be due to invalid IL or missing references) //IL_228c: Expected O, but got Unknown //IL_22c7: Unknown result type (might be due to invalid IL or missing references) //IL_22d1: Expected O, but got Unknown //IL_22cc: Unknown result type (might be due to invalid IL or missing references) //IL_22d6: Expected O, but got Unknown //IL_284c: Unknown result type (might be due to invalid IL or missing references) //IL_2856: Expected O, but got Unknown //IL_331a: Unknown result type (might be due to invalid IL or missing references) //IL_3324: Expected O, but got Unknown //IL_0f76: Unknown result type (might be due to invalid IL or missing references) //IL_0f7d: Invalid comparison between Unknown and I4 //IL_23d5: Unknown result type (might be due to invalid IL or missing references) //IL_23df: Expected O, but got Unknown //IL_234e: Unknown result type (might be due to invalid IL or missing references) //IL_2355: Invalid comparison between Unknown and I4 //IL_0b18: Unknown result type (might be due to invalid IL or missing references) //IL_0b22: Expected O, but got Unknown //IL_0bf7: Unknown result type (might be due to invalid IL or missing references) //IL_0c01: Expected O, but got Unknown //IL_0da6: Unknown result type (might be due to invalid IL or missing references) //IL_0db0: Expected O, but got Unknown //IL_0e41: Unknown result type (might be due to invalid IL or missing references) //IL_0e4b: Expected O, but got Unknown //IL_0f20: Unknown result type (might be due to invalid IL or missing references) //IL_0f2a: Expected O, but got Unknown try { switch (<>1__state) { default: return false; case 0: <>1__state = -1; <>4__this.modInterface.Logger.Information("Patching SteamNetwork.gd..."); <_readyMatch>5__1 = new MultiTokenWaiter(new Func<Token, bool>[5] { delegate(Token t) { IdentifierToken val12 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val12 != null && val12.Name == "_ready"; }, (Token t) => (int)t.Type == 80, (Token t) => (int)t.Type == 81, (Token t) => (int)t.Type == 86, delegate(Token t) { //IL_0004: Unknown result type (might be due to invalid IL or missing references) //IL_000b: Invalid comparison between Unknown and I4 int result3; if (t != null && (int)t.Type == 89) { uint? associatedData3 = t.AssociatedData; if (associatedData3.HasValue) { result3 = ((associatedData3.GetValueOrDefault() == 1) ? 1 : 0); goto IL_002a; } } result3 = 0; goto IL_002a; IL_002a: return (byte)result3 != 0; } }, false, false); <_processMatch>5__2 = new MultiTokenWaiter(new Func<Token, bool>[6] { delegate(Token t) { IdentifierToken val11 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val11 != null && val11.Name == "_process"; }, (Token t) => (int)t.Type == 80, delegate(Token t) { IdentifierToken val10 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val10 != null && val10.Name == "delta"; }, (Token t) => (int)t.Type == 81, (Token t) => (int)t.Type == 86, delegate(Token t) { //IL_0004: Unknown result type (might be due to invalid IL or missing references) //IL_000b: Invalid comparison between Unknown and I4 int result2; if (t != null && (int)t.Type == 89) { uint? associatedData2 = t.AssociatedData; if (associatedData2.HasValue) { result2 = ((associatedData2.GetValueOrDefault() == 1) ? 1 : 0); goto IL_002a; } } result2 = 0; goto IL_002a; IL_002a: return (byte)result2 != 0; } }, false, false); <__read_all_P2P_packetsMatch>5__3 = new MultiTokenWaiter(new Func<Token, bool>[12] { delegate(Token t) { IdentifierToken val9 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val9 != null && val9.Name == "_read_all_P2P_packets"; }, (Token t) => (int)t.Type == 80, delegate(Token t) { IdentifierToken val8 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val8 != null && val8.Name == "channel"; }, (Token t) => (int)t.Type == 23, (Token t) => t is ConstantToken, (Token t) => (int)t.Type == 82, delegate(Token t) { IdentifierToken val7 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val7 != null && val7.Name == "read_count"; }, (Token t) => (int)t.Type == 23, (Token t) => t is ConstantToken, (Token t) => (int)t.Type == 81, (Token t) => (int)t.Type == 86, delegate(Token t) { //IL_0004: Unknown result type (might be due to invalid IL or missing references) //IL_000b: Invalid comparison between Unknown and I4 int result; if (t != null && (int)t.Type == 89) { uint? associatedData = t.AssociatedData; if (associatedData.HasValue) { result = ((associatedData.GetValueOrDefault() == 1) ? 1 : 0); goto IL_002a; } } result = 0; goto IL_002a; IL_002a: return (byte)result != 0; } }, false, false); <_read_P2P_PacketMatch>5__4 = new MultiTokenWaiter(new Func<Token, bool>[4] { (Token t) => (int)t.Type == 48, delegate(Token t) { IdentifierToken val6 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val6 != null && val6.Name == "_read_P2P_Packet"; }, (Token t) => (int)t.Type == 80, delegate(Token t) { IdentifierToken val5 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val5 != null && val5.Name == "channel"; } }, false, false); <PacketSizeMatch>5__5 = new MultiTokenWaiter(new Func<Token, bool>[6] { (Token t) => (int)t.Type == 59, delegate(Token t) { IdentifierToken val4 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val4 != null && val4.Name == "PACKET_SIZE"; }, (Token t) => (int)t.Type == 86, (Token t) => (int)t.Type == 4, (Token t) => (int)t.Type == 23, delegate(Token t) { IdentifierToken val3 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val3 != null && val3.Name == "Steam"; } }, false, false); <lineNumber>5__6 = 0; <i>5__7 = 0; <skipNextN>5__8 = 0; <>s__9 = tokens.GetEnumerator(); <>1__state = -3; goto IL_23aa; case 1: <>1__state = -4; <printToken>5__12 = null; goto IL_1021; case 2: <>1__state = -3; <>2__current = new Token((TokenType)23, (uint?)null); <>1__state = 3; return true; case 3: <>1__state = -3; <>2__current = (Token)new IdentifierToken("Thread"); <>1__state = 4; return true; case 4: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 5; return true; case 5: <>1__state = -3; <>2__current = (Token)new IdentifierToken("new"); <>1__state = 6; return true; case 6: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 7; return true; case 7: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 8; return true; case 8: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)1u); <>1__state = 9; return true; case 9: <>1__state = -3; <>2__current = (Token)new IdentifierToken("steamPacketThread"); <>1__state = 10; return true; case 10: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 11; return true; case 11: <>1__state = -3; <>2__current = (Token)new IdentifierToken("start"); <>1__state = 12; return true; case 12: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 13; return true; case 13: <>1__state = -3; <>2__current = new Token((TokenType)3, (uint?)null); <>1__state = 14; return true; case 14: <>1__state = -3; <>2__current = new Token((TokenType)82, (uint?)null); <>1__state = 15; return true; case 15: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new StringVariant("_steam_packet_thread")); <>1__state = 16; return true; case 16: <>1__state = -3; <>2__current = new Token((TokenType)82, (uint?)null); <>1__state = 17; return true; case 17: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new NilVariant()); <>1__state = 18; return true; case 18: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 19; return true; case 19: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)1u); <>1__state = 20; return true; case 20: <>1__state = -3; goto IL_136b; case 21: <>1__state = -3; <>2__current = new Token((TokenType)38, (uint?)null); <>1__state = 22; return true; case 22: <>1__state = -3; <>2__current = new Token((TokenType)15, (uint?)null); <>1__state = 23; return true; case 23: <>1__state = -3; <>2__current = (Token)new IdentifierToken("STEAM_ENABLED"); <>1__state = 24; return true; case 24: <>1__state = -3; <>2__current = new Token((TokenType)86, (uint?)null); <>1__state = 25; return true; case 25: <>1__state = -3; <>2__current = new Token((TokenType)46, (uint?)null); <>1__state = 26; return true; case 26: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)1u); <>1__state = 27; return true; case 27: <>1__state = -3; <>2__current = (Token)new IdentifierToken("Steam"); <>1__state = 28; return true; case 28: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 29; return true; case 29: <>1__state = -3; <>2__current = (Token)new IdentifierToken("run_callbacks"); <>1__state = 30; return true; case 30: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 31; return true; case 31: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 32; return true; case 32: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)1u); <>1__state = 33; return true; case 33: <>1__state = -3; <>2__current = (Token)new IdentifierToken("_run_all_buffered_packets"); <>1__state = 34; return true; case 34: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 35; return true; case 35: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 36; return true; case 36: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)1u); <>1__state = 37; return true; case 37: <>1__state = -3; <>2__current = new Token((TokenType)38, (uint?)null); <>1__state = 38; return true; case 38: <>1__state = -3; <>2__current = new Token((TokenType)15, (uint?)null); <>1__state = 39; return true; case 39: <>1__state = -3; <>2__current = (Token)new IdentifierToken("steamPacketThread"); <>1__state = 40; return true; case 40: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 41; return true; case 41: <>1__state = -3; <>2__current = (Token)new IdentifierToken("is_alive"); <>1__state = 42; return true; case 42: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 43; return true; case 43: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 44; return true; case 44: <>1__state = -3; <>2__current = new Token((TokenType)86, (uint?)null); <>1__state = 45; return true; case 45: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)2u); <>1__state = 46; return true; case 46: <>1__state = -3; <>2__current = (Token)new IdentifierToken("steamPacketThread"); <>1__state = 47; return true; case 47: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 48; return true; case 48: <>1__state = -3; <>2__current = (Token)new IdentifierToken("wait_to_finish"); <>1__state = 49; return true; case 49: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 50; return true; case 50: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 51; return true; case 51: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)2u); <>1__state = 52; return true; case 52: <>1__state = -3; <>2__current = (Token)new IdentifierToken("steamPacketThread"); <>1__state = 53; return true; case 53: <>1__state = -3; <>2__current = new Token((TokenType)23, (uint?)null); <>1__state = 54; return true; case 54: <>1__state = -3; <>2__current = (Token)new IdentifierToken("Thread"); <>1__state = 55; return true; case 55: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 56; return true; case 56: <>1__state = -3; <>2__current = (Token)new IdentifierToken("new"); <>1__state = 57; return true; case 57: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 58; return true; case 58: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 59; return true; case 59: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)2u); <>1__state = 60; return true; case 60: <>1__state = -3; <>2__current = (Token)new IdentifierToken("steamPacketThread"); <>1__state = 61; return true; case 61: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 62; return true; case 62: <>1__state = -3; <>2__current = (Token)new IdentifierToken("start"); <>1__state = 63; return true; case 63: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 64; return true; case 64: <>1__state = -3; <>2__current = new Token((TokenType)3, (uint?)null); <>1__state = 65; return true; case 65: <>1__state = -3; <>2__current = new Token((TokenType)82, (uint?)null); <>1__state = 66; return true; case 66: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new StringVariant("_steam_packet_thread")); <>1__state = 67; return true; case 67: <>1__state = -3; <>2__current = new Token((TokenType)82, (uint?)null); <>1__state = 68; return true; case 68: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new NilVariant()); <>1__state = 69; return true; case 69: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 70; return true; case 70: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)1u); <>1__state = 71; return true; case 71: <>1__state = -3; <>2__current = new Token((TokenType)46, (uint?)null); <>1__state = 72; return true; case 72: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)0u); <>1__state = 73; return true; case 73: <>1__state = -3; goto IL_1c84; case 74: <>1__state = -3; <>2__current = new Token((TokenType)38, (uint?)null); <>1__state = 75; return true; case 75: <>1__state = -3; <>2__current = (Token)new IdentifierToken("Steam"); <>1__state = 76; return true; case 76: <>1__state = -3; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 77; return true; case 77: <>1__state = -3; <>2__current = (Token)new IdentifierToken("getAvailableP2PPacketSize"); <>1__state = 78; return true; case 78: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 79; return true; case 79: <>1__state = -3; <>2__current = (Token)new IdentifierToken("channel"); <>1__state = 80; return true; case 80: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 81; return true; case 81: <>1__state = -3; <>2__current = new Token((TokenType)11, (uint?)null); <>1__state = 82; return true; case 82: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new IntVariant(0L, false)); <>1__state = 83; return true; case 83: <>1__state = -3; <>2__current = new Token((TokenType)86, (uint?)null); <>1__state = 84; return true; case 84: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)2u); <>1__state = 85; return true; case 85: <>1__state = -3; <>2__current = (Token)new IdentifierToken("_read_steam_packet"); <>1__state = 86; return true; case 86: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 87; return true; case 87: <>1__state = -3; <>2__current = (Token)new IdentifierToken("channel"); <>1__state = 88; return true; case 88: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 89; return true; case 89: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)2u); <>1__state = 90; return true; case 90: <>1__state = -3; <>2__current = new Token((TokenType)38, (uint?)null); <>1__state = 91; return true; case 91: <>1__state = -3; <>2__current = new Token((TokenType)15, (uint?)null); <>1__state = 92; return true; case 92: <>1__state = -3; <>2__current = (Token)new IdentifierToken("steamThreadRunning"); <>1__state = 93; return true; case 93: <>1__state = -3; <>2__current = new Token((TokenType)86, (uint?)null); <>1__state = 94; return true; case 94: <>1__state = -3; <>2__current = new Token((TokenType)46, (uint?)null); <>1__state = 95; return true; case 95: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)2u); <>1__state = 96; return true; case 96: <>1__state = -3; <>2__current = (Token)new IdentifierToken("_read_all_P2P_packets"); <>1__state = 97; return true; case 97: <>1__state = -3; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 98; return true; case 98: <>1__state = -3; <>2__current = (Token)new IdentifierToken("channel"); <>1__state = 99; return true; case 99: <>1__state = -3; <>2__current = new Token((TokenType)82, (uint?)null); <>1__state = 100; return true; case 100: <>1__state = -3; <>2__current = (Token)new IdentifierToken("read_count"); <>1__state = 101; return true; case 101: <>1__state = -3; <>2__current = new Token((TokenType)16, (uint?)null); <>1__state = 102; return true; case 102: <>1__state = -3; <>2__current = (Token)new ConstantToken((Variant)new IntVariant(1L, false)); <>1__state = 103; return true; case 103: <>1__state = -3; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 104; return true; case 104: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)1u); <>1__state = 105; return true; case 105: <>1__state = -3; <>2__current = new Token((TokenType)46, (uint?)null); <>1__state = 106; return true; case 106: <>1__state = -3; <>2__current = new Token((TokenType)89, (uint?)0u); <>1__state = 107; return true; case 107: <>1__state = -3; goto IL_225d; case 108: <>1__state = -3; goto IL_22a4; case 109: <>1__state = -3; goto IL_22ee; case 110: <>1__state = -3; goto IL_23a2; case 111: <>1__state = -1; <>2__current = new Token((TokenType)59, (uint?)null); <>1__state = 112; return true; case 112: <>1__state = -1; <>2__current = (Token)new IdentifierToken("bufferedPackets"); <>1__state = 113; return true; case 113: <>1__state = -1; <>2__current = new Token((TokenType)23, (uint?)null); <>1__state = 114; return true; case 114: <>1__state = -1; <>2__current = new Token((TokenType)76, (uint?)null); <>1__state = 115; return true; case 115: <>1__state = -1; <>2__current = new Token((TokenType)77, (uint?)null); <>1__state = 116; return true; case 116: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)null); <>1__state = 117; return true; case 117: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)null); <>1__state = 118; return true; case 118: <>1__state = -1; <>2__current = new Token((TokenType)59, (uint?)null); <>1__state = 119; return true; case 119: <>1__state = -1; <>2__current = (Token)new IdentifierToken("steamThreadRunning"); <>1__state = 120; return true; case 120: <>1__state = -1; <>2__current = new Token((TokenType)23, (uint?)null); <>1__state = 121; return true; case 121: <>1__state = -1; <>2__current = (Token)new ConstantToken((Variant)new BoolVariant(true)); <>1__state = 122; return true; case 122: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)null); <>1__state = 123; return true; case 123: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)null); <>1__state = 124; return true; case 124: <>1__state = -1; <>2__current = new Token((TokenType)59, (uint?)null); <>1__state = 125; return true; case 125: <>1__state = -1; <>2__current = (Token)new IdentifierToken("steamPacketThread"); <>1__state = 126; return true; case 126: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)null); <>1__state = 127; return true; case 127: <>1__state = -1; <>2__current = new Token((TokenType)48, (uint?)null); <>1__state = 128; return true; case 128: <>1__state = -1; <>2__current = (Token)new IdentifierToken("_steam_packet_thread"); <>1__state = 129; return true; case 129: <>1__state = -1; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 130; return true; case 130: <>1__state = -1; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 131; return true; case 131: <>1__state = -1; <>2__current = new Token((TokenType)86, (uint?)null); <>1__state = 132; return true; case 132: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)1u); <>1__state = 133; return true; case 133: <>1__state = -1; <>s__13 = <>4__this.CreatePrintFunction("Steam thead online!", 1).GetEnumerator(); <>1__state = -5; goto IL_2824; case 134: <>1__state = -5; <printToken>5__14 = null; goto IL_2824; case 135: <>1__state = -1; <>2__current = (Token)new IdentifierToken("threadStart"); <>1__state = 136; return true; case 136: <>1__state = -1; <>2__current = new Token((TokenType)23, (uint?)null); <>1__state = 137; return true; case 137: <>1__state = -1; <>2__current = (Token)new IdentifierToken("Time"); <>1__state = 138; return true; case 138: <>1__state = -1; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 139; return true; case 139: <>1__state = -1; <>2__current = (Token)new IdentifierToken("get_ticks_msec"); <>1__state = 140; return true; case 140: <>1__state = -1; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 141; return true; case 141: <>1__state = -1; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 142; return true; case 142: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)1u); <>1__state = 143; return true; case 143: <>1__state = -1; <>2__current = new Token((TokenType)42, (uint?)null); <>1__state = 144; return true; case 144: <>1__state = -1; <>2__current = (Token)new IdentifierToken("steamThreadRunning"); <>1__state = 145; return true; case 145: <>1__state = -1; <>2__current = new Token((TokenType)13, (uint?)null); <>1__state = 146; return true; case 146: <>1__state = -1; <>2__current = (Token)new IdentifierToken("Time"); <>1__state = 147; return true; case 147: <>1__state = -1; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 148; return true; case 148: <>1__state = -1; <>2__current = (Token)new IdentifierToken("get_ticks_msec"); <>1__state = 149; return true; case 149: <>1__state = -1; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 150; return true; case 150: <>1__state = -1; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 151; return true; case 151: <>1__state = -1; <>2__current = new Token((TokenType)17, (uint?)null); <>1__state = 152; return true; case 152: <>1__state = -1; <>2__current = (Token)new IdentifierToken("threadStart"); <>1__state = 153; return true; case 153: <>1__state = -1; <>2__current = new Token((TokenType)9, (uint?)null); <>1__state = 154; return true; case 154: <>1__state = -1; <>2__current = (Token)new ConstantToken((Variant)new IntVariant((long)<>4__this.threadLifetime, false)); <>1__state = 155; return true; case 155: <>1__state = -1; <>2__current = new Token((TokenType)86, (uint?)null); <>1__state = 156; return true; case 156: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)2u); <>1__state = 157; return true; case 157: <>1__state = -1; <>2__current = new Token((TokenType)38, (uint?)null); <>1__state = 158; return true; case 158: <>1__state = -1; <>2__current = (Token)new IdentifierToken("STEAM_LOBBY_ID"); <>1__state = 159; return true; case 159: <>1__state = -1; <>2__current = new Token((TokenType)10, (uint?)null); <>1__state = 160; return true; case 160: <>1__state = -1; <>2__current = (Token)new ConstantToken((Variant)new IntVariant(0L, false)); <>1__state = 161; return true; case 161: <>1__state = -1; <>2__current = new Token((TokenType)86, (uint?)null); <>1__state = 162; return true; case 162: <>1__state = -1; <>2__current = new Token((TokenType)44, (uint?)null); <>1__state = 163; return true; case 163: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)2u); <>1__state = 164; return true; case 164: <>1__state = -1; <>2__current = new Token((TokenType)41, (uint?)null); <>1__state = 165; return true; case 165: <>1__state = -1; <>2__current = (Token)new IdentifierToken("channel"); <>1__state = 166; return true; case 166: <>1__state = -1; <>2__current = new Token((TokenType)6, (uint?)null); <>1__state = 167; return true; case 167: <>1__state = -1; <>2__current = (Token)new IdentifierToken("CHANNELS"); <>1__state = 168; return true; case 168: <>1__state = -1; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 169; return true; case 169: <>1__state = -1; <>2__current = (Token)new IdentifierToken("size"); <>1__state = 170; return true; case 170: <>1__state = -1; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 171; return true; case 171: <>1__state = -1; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 172; return true; case 172: <>1__state = -1; <>2__current = new Token((TokenType)86, (uint?)null); <>1__state = 173; return true; case 173: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)3u); <>1__state = 174; return true; case 174: <>1__state = -1; <>2__current = new Token((TokenType)38, (uint?)null); <>1__state = 175; return true; case 175: <>1__state = -1; <>2__current = new Token((TokenType)15, (uint?)null); <>1__state = 176; return true; case 176: <>1__state = -1; <>2__current = (Token)new IdentifierToken("steamThreadRunning"); <>1__state = 177; return true; case 177: <>1__state = -1; <>2__current = new Token((TokenType)86, (uint?)null); <>1__state = 178; return true; case 178: <>1__state = -1; <>2__current = new Token((TokenType)43, (uint?)null); <>1__state = 179; return true; case 179: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)3u); <>1__state = 180; return true; case 180: <>1__state = -1; <>2__current = (Token)new IdentifierToken("_read_all_P2P_packets"); <>1__state = 181; return true; case 181: <>1__state = -1; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 182; return true; case 182: <>1__state = -1; <>2__current = (Token)new IdentifierToken("channel"); <>1__state = 183; return true; case 183: <>1__state = -1; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 184; return true; case 184: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)2u); <>1__state = 185; return true; case 185: <>1__state = -1; <>2__current = (Token)new IdentifierToken("OS"); <>1__state = 186; return true; case 186: <>1__state = -1; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 187; return true; case 187: <>1__state = -1; <>2__current = (Token)new IdentifierToken("delay_msec"); <>1__state = 188; return true; case 188: <>1__state = -1; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 189; return true; case 189: <>1__state = -1; <>2__current = (Token)new ConstantToken((Variant)new IntVariant(16L, false)); <>1__state = 190; return true; case 190: <>1__state = -1; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 191; return true; case 191: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)1u); <>1__state = 192; return true; case 192: <>1__state = -1; <>s__15 = <>4__this.CreatePrintFunction("Steam thead offline!", 1).GetEnumerator(); <>1__state = -6; goto IL_32f6; case 193: <>1__state = -6; <printToken>5__16 = null; goto IL_32f6; case 194: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)null); <>1__state = 195; return true; case 195: <>1__state = -1; <>2__current = new Token((TokenType)48, (uint?)null); <>1__state = 196; return true; case 196: <>1__state = -1; <>2__current = (Token)new IdentifierToken("_read_steam_packet"); <>1__state = 197; return true; case 197: <>1__state = -1; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 198; return true; case 198: <>1__state = -1; <>2__current = (Token)new IdentifierToken("channel"); <>1__state = 199; return true; case 199: <>1__state = -1; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 200; return true; case 200: <>1__state = -1; <>2__current = new Token((TokenType)86, (uint?)null); <>1__state = 201; return true; case 201: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)1u); <>1__state = 202; return true; case 202: <>1__state = -1; <>2__current = new Token((TokenType)59, (uint?)null); <>1__state = 203; return true; case 203: <>1__state = -1; <>2__current = (Token)new IdentifierToken("PACKET_SIZE"); <>1__state = 204; return true; case 204: <>1__state = -1; <>2__current = new Token((TokenType)23, (uint?)null); <>1__state = 205; return true; case 205: <>1__state = -1; <>2__current = (Token)new IdentifierToken("Steam"); <>1__state = 206; return true; case 206: <>1__state = -1; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 207; return true; case 207: <>1__state = -1; <>2__current = (Token)new IdentifierToken("getAvailableP2PPacketSize"); <>1__state = 208; return true; case 208: <>1__state = -1; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 209; return true; case 209: <>1__state = -1; <>2__current = (Token)new IdentifierToken("channel"); <>1__state = 210; return true; case 210: <>1__state = -1; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 211; return true; case 211: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)1u); <>1__state = 212; return true; case 212: <>1__state = -1; <>2__current = new Token((TokenType)38, (uint?)null); <>1__state = 213; return true; case 213: <>1__state = -1; <>2__current = (Token)new IdentifierToken("PACKET_SIZE"); <>1__state = 214; return true; case 214: <>1__state = -1; <>2__current = new Token((TokenType)11, (uint?)null); <>1__state = 215; return true; case 215: <>1__state = -1; <>2__current = (Token)new ConstantToken((Variant)new IntVariant(0L, false)); <>1__state = 216; return true; case 216: <>1__state = -1; <>2__current = new Token((TokenType)86, (uint?)null); <>1__state = 217; return true; case 217: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)2u); <>1__state = 218; return true; case 218: <>1__state = -1; <>2__current = new Token((TokenType)59, (uint?)null); <>1__state = 219; return true; case 219: <>1__state = -1; <>2__current = (Token)new IdentifierToken("PACKET"); <>1__state = 220; return true; case 220: <>1__state = -1; <>2__current = new Token((TokenType)23, (uint?)null); <>1__state = 221; return true; case 221: <>1__state = -1; <>2__current = (Token)new IdentifierToken("Steam"); <>1__state = 222; return true; case 222: <>1__state = -1; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 223; return true; case 223: <>1__state = -1; <>2__current = (Token)new IdentifierToken("readP2PPacket"); <>1__state = 224; return true; case 224: <>1__state = -1; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 225; return true; case 225: <>1__state = -1; <>2__current = (Token)new IdentifierToken("PACKET_SIZE"); <>1__state = 226; return true; case 226: <>1__state = -1; <>2__current = new Token((TokenType)82, (uint?)null); <>1__state = 227; return true; case 227: <>1__state = -1; <>2__current = (Token)new IdentifierToken("channel"); <>1__state = 228; return true; case 228: <>1__state = -1; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 229; return true; case 229: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)2u); <>1__state = 230; return true; case 230: <>1__state = -1; <>2__current = (Token)new IdentifierToken("bufferedPackets"); <>1__state = 231; return true; case 231: <>1__state = -1; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 232; return true; case 232: <>1__state = -1; <>2__current = (Token)new IdentifierToken("append"); <>1__state = 233; return true; case 233: <>1__state = -1; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 234; return true; case 234: <>1__state = -1; <>2__current = (Token)new IdentifierToken("PACKET"); <>1__state = 235; return true; case 235: <>1__state = -1; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 236; return true; case 236: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)0u); <>1__state = 237; return true; case 237: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)null); <>1__state = 238; return true; case 238: <>1__state = -1; <>2__current = new Token((TokenType)48, (uint?)null); <>1__state = 239; return true; case 239: <>1__state = -1; <>2__current = (Token)new IdentifierToken("_run_all_buffered_packets"); <>1__state = 240; return true; case 240: <>1__state = -1; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 241; return true; case 241: <>1__state = -1; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 242; return true; case 242: <>1__state = -1; <>2__current = new Token((TokenType)86, (uint?)null); <>1__state = 243; return true; case 243: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)1u); <>1__state = 244; return true; case 244: <>1__state = -1; <>2__current = new Token((TokenType)38, (uint?)null); <>1__state = 245; return true; case 245: <>1__state = -1; <>2__current = new Token((TokenType)5, (uint?)88u); <>1__state = 246; return true; case 246: <>1__state = -1; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 247; return true; case 247: <>1__state = -1; <>2__current = (Token)new IdentifierToken("bufferedPackets"); <>1__state = 248; return true; case 248: <>1__state = -1; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 249; return true; case 249: <>1__state = -1; <>2__current = new Token((TokenType)11, (uint?)null); <>1__state = 250; return true; case 250: <>1__state = -1; <>2__current = (Token)new ConstantToken((Variant)new IntVariant(0L, false)); <>1__state = 251; return true; case 251: <>1__state = -1; <>2__current = new Token((TokenType)86, (uint?)null); <>1__state = 252; return true; case 252: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)2u); <>1__state = 253; return true; case 253: <>1__state = -1; <>2__current = new Token((TokenType)41, (uint?)null); <>1__state = 254; return true; case 254: <>1__state = -1; <>2__current = (Token)new IdentifierToken("packet"); <>1__state = 255; return true; case 255: <>1__state = -1; <>2__current = new Token((TokenType)6, (uint?)null); <>1__state = 256; return true; case 256: <>1__state = -1; <>2__current = (Token)new IdentifierToken("bufferedPackets"); <>1__state = 257; return true; case 257: <>1__state = -1; <>2__current = new Token((TokenType)86, (uint?)null); <>1__state = 258; return true; case 258: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)3u); <>1__state = 259; return true; case 259: <>1__state = -1; <>2__current = (Token)new IdentifierToken("_read_P2P_Packet"); <>1__state = 260; return true; case 260: <>1__state = -1; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 261; return true; case 261: <>1__state = -1; <>2__current = (Token)new IdentifierToken("packet"); <>1__state = 262; return true; case 262: <>1__state = -1; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 263; return true; case 263: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)2u); <>1__state = 264; return true; case 264: <>1__state = -1; <>2__current = (Token)new IdentifierToken("bufferedPackets"); <>1__state = 265; return true; case 265: <>1__state = -1; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 266; return true; case 266: <>1__state = -1; <>2__current = (Token)new IdentifierToken("clear"); <>1__state = 267; return true; case 267: <>1__state = -1; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 268; return true; case 268: <>1__state = -1; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 269; return true; case 269: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)0u); <>1__state = 270; return true; case 270: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)null); <>1__state = 271; return true; case 271: <>1__state = -1; <>2__current = new Token((TokenType)48, (uint?)null); <>1__state = 272; return true; case 272: <>1__state = -1; <>2__current = (Token)new IdentifierToken("_exit_tree"); <>1__state = 273; return true; case 273: <>1__state = -1; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 274; return true; case 274: <>1__state = -1; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 275; return true; case 275: <>1__state = -1; <>2__current = new Token((TokenType)86, (uint?)null); <>1__state = 276; return true; case 276: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)1u); <>1__state = 277; return true; case 277: <>1__state = -1; <>2__current = (Token)new IdentifierToken("steamThreadRunning"); <>1__state = 278; return true; case 278: <>1__state = -1; <>2__current = new Token((TokenType)23, (uint?)null); <>1__state = 279; return true; case 279: <>1__state = -1; <>2__current = (Token)new ConstantToken((Variant)new BoolVariant(false)); <>1__state = 280; return true; case 280: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)1u); <>1__state = 281; return true; case 281: <>1__state = -1; <>2__current = (Token)new IdentifierToken("steamPacketThread"); <>1__state = 282; return true; case 282: <>1__state = -1; <>2__current = new Token((TokenType)84, (uint?)null); <>1__state = 283; return true; case 283: <>1__state = -1; <>2__current = (Token)new IdentifierToken("wait_to_finish"); <>1__state = 284; return true; case 284: <>1__state = -1; <>2__current = new Token((TokenType)80, (uint?)null); <>1__state = 285; return true; case 285: <>1__state = -1; <>2__current = new Token((TokenType)81, (uint?)null); <>1__state = 286; return true; case 286: <>1__state = -1; <>2__current = new Token((TokenType)89, (uint?)0u); <>1__state = 287; return true; case 287: <>1__state = -1; <>2__current = new Token((TokenType)96, (uint?)null); <>1__state = 288; return true; case 288: { <>1__state = -1; return false; } IL_32f6: if (((global::System.Collections.IEnumerator)<>s__15).MoveNext()) { <printToken>5__16 = <>s__15.Current; <>2__current = <printToken>5__16; <>1__state = 193; return true; } <>m__Finally4(); <>s__15 = null; <>2__current = new Token((TokenType)89, (uint?)0u); <>1__state = 194; return true; IL_22ee: if ((int)<token>5__10.Type == 59) { Token val = Enumerable.ElementAtOrDefault<Token>(tokens, <i>5__7); IdentifierToken val2 = (IdentifierToken)(object)((val is IdentifierToken) ? val : null); if (val2 != null) { string name = val2.Name; if (name == "PACKET") { <skipNextN>5__8 = 13; } } } if ((int)<token>5__10.Type == 96 || <skipNextN>5__8 > 0) { <skipNextN>5__8--; goto IL_23a2; } <>2__current = <token>5__10; <>1__state = 110; return true; IL_23aa: if (((global::System.Collections.IEnumerator)<>s__9).MoveNext()) { <token>5__10 = <>s__9.Current; if ((int)<token>5__10.Type == 89) { <lineNumber>5__6++; } <i>5__7++; if (<_readyMatch>5__1.Check(<token>5__10)) { <>s__11 = <>4__this.CreatePrintFunction("SteamNetwork ready!", 1).GetEnumerator(); <>1__state = -4; goto IL_1021; } goto IL_136b; } <>m__Finally1(); <>s__9 = null; <>2__current = new Token((TokenType)89, (uint?)null); <>1__state = 111; return true; IL_2824: if (((global::System.Collections.IEnumerator)<>s__13).MoveNext()) { <printToken>5__14 = <>s__13.Current; <>2__current = <printToken>5__14; <>1__state = 134; return true; } <>m__Finally3(); <>s__13 = null; <>2__current = new Token((TokenType)59, (uint?)null); <>1__state = 135; return true; IL_225d: if (<_read_P2P_PacketMatch>5__4.Check(<token>5__10)) { <skipNextN>5__8 = 3; <>2__current = (Token)new IdentifierToken("PACKET"); <>1__state = 108; return true; } goto IL_22a4; IL_23a2: <token>5__10 = null; goto IL_23aa; IL_1c84: if (<__read_all_P2P_packetsMatch>5__3.Check(<token>5__10)) { <>2__current = new Token((TokenType)89, (uint?)1u); <>1__state = 74; return true; } goto IL_225d; IL_1021: if (((global::System.Collections.IEnumerator)<>s__11).MoveNext()) { <printToken>5__12 = <>s__11.Current; <>2__current = <printToken>5__12; <>1__state = 1; return true; } <>m__Finally2(); <>s__11 = null; <>2__current = (Token)new IdentifierToken("steamPacketThread"); <>1__state = 2; return true; IL_136b: if (<_processMatch>5__2.Check(<token>5__10)) { <>2__current = new Token((TokenType)89, (uint?)1u); <>1__state = 21; return true; } goto IL_1c84; IL_22a4: if (<PacketSizeMatch>5__5.Check(<token>5__10)) { <skipNextN>5__8 = 6; <>2__current = (Token)new ConstantToken((Variant)new IntVariant(1L, false)); <>1__state = 109; return true; } goto IL_22ee; } } catch { //try-fault ((global::System.IDisposable)this).Dispose(); throw; } } bool global::System.Collections.IEnumerator.MoveNext() { //ILSpy generated this explicit interface implementation from .override directive in MoveNext return this.MoveNext(); } private void <>m__Finally1() { <>1__state = -1; if (<>s__9 != null) { ((global::System.IDisposable)<>s__9).Dispose(); } } private void <>m__Finally2() { <>1__state = -3; if (<>s__11 != null) { ((global::System.IDisposable)<>s__11).Dispose(); } } private void <>m__Finally3() { <>1__state = -1; if (<>s__13 != null) { ((global::System.IDisposable)<>s__13).Dispose(); } } private void <>m__Finally4() { <>1__state = -1; if (<>s__15 != null) { ((global::System.IDisposable)<>s__15).Dispose(); } } [DebuggerHidden] void global::System.Collections.IEnumerator.Reset() { //IL_0000: Unknown result type (might be due to invalid IL or missing references) throw new NotSupportedException(); } [DebuggerHidden] global::System.Collections.Generic.IEnumerator<Token> global::System.Collections.Generic.IEnumerable<Token>.GetEnumerator() { <Modify>d__5 <Modify>d__; if (<>1__state == -2 && <>l__initialThreadId == Environment.CurrentManagedThreadId) { <>1__state = 0; <Modify>d__ = this; } else { <Modify>d__ = new <Modify>d__5(0) { <>4__this = <>4__this }; } <Modify>d__.path = <>3__path; <Modify>d__.tokens = <>3__tokens; return <Modify>d__; } [DebuggerHidden] global::System.Collections.IEnumerator global::System.Collections.IEnumerable.GetEnumerator() { return (global::System.Collections.IEnumerator)((global::System.Collections.Generic.IEnumerable<Token>)this).GetEnumerator(); } } public uint threadLifetime = 10000u; public IModInterface modInterface; public SteamPatch(IModInterface modInterface) { this.modInterface = modInterface; } [IteratorStateMachine(typeof(<CreatePrintFunction>d__3))] public global::System.Collections.Generic.IEnumerable<Token> CreatePrintFunction(string message, int indent) { yield return new Token((TokenType)89, (uint?)(uint)indent); yield return new Token((TokenType)5, (uint?)63u); yield return new Token((TokenType)80, (uint?)null); yield return (Token)new ConstantToken((Variant)new StringVariant(message)); yield return new Token((TokenType)81, (uint?)null); yield return new Token((TokenType)89, (uint?)(uint)indent); } public bool ShouldRun(string path) { return path == "res://Scenes/Singletons/SteamNetwork.gdc"; } [IteratorStateMachine(typeof(<Modify>d__5))] public global::System.Collections.Generic.IEnumerable<Token> Modify(string path, global::System.Collections.Generic.IEnumerable<Token> tokens) { modInterface.Logger.Information("Patching SteamNetwork.gd..."); MultiTokenWaiter _readyMatch = new MultiTokenWaiter(new Func<Token, bool>[5] { delegate(Token t) { IdentifierToken val12 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val12 != null && val12.Name == "_ready"; }, (Token t) => (int)t.Type == 80, (Token t) => (int)t.Type == 81, (Token t) => (int)t.Type == 86, delegate(Token t) { //IL_0004: Unknown result type (might be due to invalid IL or missing references) //IL_000b: Invalid comparison between Unknown and I4 int result3; if (t != null && (int)t.Type == 89) { uint? associatedData3 = t.AssociatedData; if (associatedData3.HasValue) { result3 = ((associatedData3.GetValueOrDefault() == 1) ? 1 : 0); goto IL_002a; } } result3 = 0; goto IL_002a; IL_002a: return (byte)result3 != 0; } }, false, false); MultiTokenWaiter _processMatch = new MultiTokenWaiter(new Func<Token, bool>[6] { delegate(Token t) { IdentifierToken val11 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val11 != null && val11.Name == "_process"; }, (Token t) => (int)t.Type == 80, delegate(Token t) { IdentifierToken val10 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val10 != null && val10.Name == "delta"; }, (Token t) => (int)t.Type == 81, (Token t) => (int)t.Type == 86, delegate(Token t) { //IL_0004: Unknown result type (might be due to invalid IL or missing references) //IL_000b: Invalid comparison between Unknown and I4 int result2; if (t != null && (int)t.Type == 89) { uint? associatedData2 = t.AssociatedData; if (associatedData2.HasValue) { result2 = ((associatedData2.GetValueOrDefault() == 1) ? 1 : 0); goto IL_002a; } } result2 = 0; goto IL_002a; IL_002a: return (byte)result2 != 0; } }, false, false); MultiTokenWaiter __read_all_P2P_packetsMatch = new MultiTokenWaiter(new Func<Token, bool>[12] { delegate(Token t) { IdentifierToken val9 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val9 != null && val9.Name == "_read_all_P2P_packets"; }, (Token t) => (int)t.Type == 80, delegate(Token t) { IdentifierToken val8 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val8 != null && val8.Name == "channel"; }, (Token t) => (int)t.Type == 23, (Token t) => t is ConstantToken, (Token t) => (int)t.Type == 82, delegate(Token t) { IdentifierToken val7 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null); return val7 != null && val7.Name == "read_count"; }, (Token t) => (int)t.Type == 23, (Token t) => t is ConstantToken, (Token t) => (int)t.Type == 81, (Token t) => (int)t.Type == 86, delegate(Token t) { //IL_0004: U