using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Text.Json.Serialization;
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("swayandswerve")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0.0")]
[assembly: AssemblyProduct("swayandswerve")]
[assembly: AssemblyTitle("swayandswerve")]
[assembly: AssemblyVersion("1.0.0.0")]
[module: RefSafetyRules(11)]
namespace Swerve;
public class Config
{
[JsonInclude]
public bool SomeSetting = true;
}
public class Mod : IMod, global::System.IDisposable
{
public Config Config;
public Mod(IModInterface modInterface)
{
Config = modInterface.ReadConfig<Config>();
modInterface.RegisterScriptMod((IScriptMod)(object)new SwerveMod());
modInterface.Logger.Information("Hello, world!");
}
public void Dispose()
{
}
}
public class SwerveMod : IScriptMod
{
[CompilerGenerated]
private sealed class <Modify>d__1 : 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 SwerveMod <>4__this;
private MultiTokenWaiter <waiter>5__1;
private MultiTokenWaiter <waiter2>5__2;
private MultiTokenWaiter <declares>5__3;
private global::System.Collections.Generic.IEnumerator<Token> <>s__4;
private Token <token>5__5;
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__1(int <>1__state)
{
this.<>1__state = <>1__state;
<>l__initialThreadId = Environment.CurrentManagedThreadId;
}
[DebuggerHidden]
void global::System.IDisposable.Dispose()
{
int num = <>1__state;
if (num != -3 && (uint)(num - 1) > 159u)
{
return;
}
try
{
}
finally
{
<>m__Finally1();
}
}
private bool MoveNext()
{
//IL_07cf: Unknown result type (might be due to invalid IL or missing references)
//IL_07d9: Expected O, but got Unknown
//IL_07fb: Unknown result type (might be due to invalid IL or missing references)
//IL_0805: Expected O, but got Unknown
//IL_0821: Unknown result type (might be due to invalid IL or missing references)
//IL_082b: Expected O, but got Unknown
//IL_084d: Unknown result type (might be due to invalid IL or missing references)
//IL_0857: Expected O, but got Unknown
//IL_0878: Unknown result type (might be due to invalid IL or missing references)
//IL_0882: Expected O, but got Unknown
//IL_087d: Unknown result type (might be due to invalid IL or missing references)
//IL_0887: Expected O, but got Unknown
//IL_08a9: Unknown result type (might be due to invalid IL or missing references)
//IL_08b3: Expected O, but got Unknown
//IL_08d5: Unknown result type (might be due to invalid IL or missing references)
//IL_08df: Expected O, but got Unknown
//IL_08fb: Unknown result type (might be due to invalid IL or missing references)
//IL_0905: Expected O, but got Unknown
//IL_0928: Unknown result type (might be due to invalid IL or missing references)
//IL_0932: Expected O, but got Unknown
//IL_094b: Unknown result type (might be due to invalid IL or missing references)
//IL_0955: Expected O, but got Unknown
//IL_0950: Unknown result type (might be due to invalid IL or missing references)
//IL_095a: Expected O, but got Unknown
//IL_097d: Unknown result type (might be due to invalid IL or missing references)
//IL_0987: Expected O, but got Unknown
//IL_09aa: Unknown result type (might be due to invalid IL or missing references)
//IL_09b4: Expected O, but got Unknown
//IL_09d1: Unknown result type (might be due to invalid IL or missing references)
//IL_09db: Expected O, but got Unknown
//IL_09fe: Unknown result type (might be due to invalid IL or missing references)
//IL_0a08: Expected O, but got Unknown
//IL_0a21: Unknown result type (might be due to invalid IL or missing references)
//IL_0a2b: Expected O, but got Unknown
//IL_0a26: Unknown result type (might be due to invalid IL or missing references)
//IL_0a30: Expected O, but got Unknown
//IL_0a9e: Unknown result type (might be due to invalid IL or missing references)
//IL_0aa8: Expected O, but got Unknown
//IL_0ac5: Unknown result type (might be due to invalid IL or missing references)
//IL_0acf: Expected O, but got Unknown
//IL_0aca: Unknown result type (might be due to invalid IL or missing references)
//IL_0ad4: Expected O, but got Unknown
//IL_0af7: Unknown result type (might be due to invalid IL or missing references)
//IL_0b01: Expected O, but got Unknown
//IL_0b65: Unknown result type (might be due to invalid IL or missing references)
//IL_0b6f: Expected O, but got Unknown
//IL_0b92: Unknown result type (might be due to invalid IL or missing references)
//IL_0b9c: Expected O, but got Unknown
//IL_0bb9: Unknown result type (might be due to invalid IL or missing references)
//IL_0bc3: Expected O, but got Unknown
//IL_0be6: Unknown result type (might be due to invalid IL or missing references)
//IL_0bf0: Expected O, but got Unknown
//IL_0c10: Unknown result type (might be due to invalid IL or missing references)
//IL_0c1a: Expected O, but got Unknown
//IL_0c3d: Unknown result type (might be due to invalid IL or missing references)
//IL_0c47: Expected O, but got Unknown
//IL_0c64: Unknown result type (might be due to invalid IL or missing references)
//IL_0c6e: Expected O, but got Unknown
//IL_0c91: Unknown result type (might be due to invalid IL or missing references)
//IL_0c9b: Expected O, but got Unknown
//IL_0cbb: Unknown result type (might be due to invalid IL or missing references)
//IL_0cc5: Expected O, but got Unknown
//IL_0ce2: Unknown result type (might be due to invalid IL or missing references)
//IL_0cec: Expected O, but got Unknown
//IL_0d0f: Unknown result type (might be due to invalid IL or missing references)
//IL_0d19: Expected O, but got Unknown
//IL_0d39: Unknown result type (might be due to invalid IL or missing references)
//IL_0d43: Expected O, but got Unknown
//IL_0d66: Unknown result type (might be due to invalid IL or missing references)
//IL_0d70: Expected O, but got Unknown
//IL_0d8d: Unknown result type (might be due to invalid IL or missing references)
//IL_0d97: Expected O, but got Unknown
//IL_0dba: Unknown result type (might be due to invalid IL or missing references)
//IL_0dc4: Expected O, but got Unknown
//IL_0de0: Unknown result type (might be due to invalid IL or missing references)
//IL_0dea: Expected O, but got Unknown
//IL_0de5: Unknown result type (might be due to invalid IL or missing references)
//IL_0def: Expected O, but got Unknown
//IL_0e12: Unknown result type (might be due to invalid IL or missing references)
//IL_0e1c: Expected O, but got Unknown
//IL_0e39: Unknown result type (might be due to invalid IL or missing references)
//IL_0e43: Expected O, but got Unknown
//IL_0e66: Unknown result type (might be due to invalid IL or missing references)
//IL_0e70: Expected O, but got Unknown
//IL_0e8b: Unknown result type (might be due to invalid IL or missing references)
//IL_0e95: Expected O, but got Unknown
//IL_0e90: Unknown result type (might be due to invalid IL or missing references)
//IL_0e9a: Expected O, but got Unknown
//IL_0ebd: Unknown result type (might be due to invalid IL or missing references)
//IL_0ec7: Expected O, but got Unknown
//IL_0ee7: Unknown result type (might be due to invalid IL or missing references)
//IL_0ef1: Expected O, but got Unknown
//IL_0f14: Unknown result type (might be due to invalid IL or missing references)
//IL_0f1e: Expected O, but got Unknown
//IL_0f3b: Unknown result type (might be due to invalid IL or missing references)
//IL_0f45: Expected O, but got Unknown
//IL_0f68: Unknown result type (might be due to invalid IL or missing references)
//IL_0f72: Expected O, but got Unknown
//IL_0f94: Unknown result type (might be due to invalid IL or missing references)
//IL_0f9e: Expected O, but got Unknown
//IL_0f99: Unknown result type (might be due to invalid IL or missing references)
//IL_0fa3: Expected O, but got Unknown
//IL_0fc6: Unknown result type (might be due to invalid IL or missing references)
//IL_0fd0: Expected O, but got Unknown
//IL_0fed: Unknown result type (might be due to invalid IL or missing references)
//IL_0ff7: Expected O, but got Unknown
//IL_101a: Unknown result type (might be due to invalid IL or missing references)
//IL_1024: Expected O, but got Unknown
//IL_103d: Unknown result type (might be due to invalid IL or missing references)
//IL_1047: Expected O, but got Unknown
//IL_1042: Unknown result type (might be due to invalid IL or missing references)
//IL_104c: Expected O, but got Unknown
//IL_106c: Unknown result type (might be due to invalid IL or missing references)
//IL_1076: Expected O, but got Unknown
//IL_1099: Unknown result type (might be due to invalid IL or missing references)
//IL_10a3: Expected O, but got Unknown
//IL_10c6: Unknown result type (might be due to invalid IL or missing references)
//IL_10d0: Expected O, but got Unknown
//IL_10f0: Unknown result type (might be due to invalid IL or missing references)
//IL_10fa: Expected O, but got Unknown
//IL_1117: Unknown result type (might be due to invalid IL or missing references)
//IL_1121: Expected O, but got Unknown
//IL_1144: Unknown result type (might be due to invalid IL or missing references)
//IL_114e: Expected O, but got Unknown
//IL_116e: Unknown result type (might be due to invalid IL or missing references)
//IL_1178: Expected O, but got Unknown
//IL_119b: Unknown result type (might be due to invalid IL or missing references)
//IL_11a5: Expected O, but got Unknown
//IL_11c2: Unknown result type (might be due to invalid IL or missing references)
//IL_11cc: Expected O, but got Unknown
//IL_11ef: Unknown result type (might be due to invalid IL or missing references)
//IL_11f9: Expected O, but got Unknown
//IL_121b: Unknown result type (might be due to invalid IL or missing references)
//IL_1225: Expected O, but got Unknown
//IL_1220: Unknown result type (might be due to invalid IL or missing references)
//IL_122a: Expected O, but got Unknown
//IL_124d: Unknown result type (might be due to invalid IL or missing references)
//IL_1257: Expected O, but got Unknown
//IL_1274: Unknown result type (might be due to invalid IL or missing references)
//IL_127e: Expected O, but got Unknown
//IL_12a1: Unknown result type (might be due to invalid IL or missing references)
//IL_12ab: Expected O, but got Unknown
//IL_12c6: Unknown result type (might be due to invalid IL or missing references)
//IL_12d0: Expected O, but got Unknown
//IL_12cb: Unknown result type (might be due to invalid IL or missing references)
//IL_12d5: Expected O, but got Unknown
//IL_12f8: Unknown result type (might be due to invalid IL or missing references)
//IL_1302: Expected O, but got Unknown
//IL_1322: Unknown result type (might be due to invalid IL or missing references)
//IL_132c: Expected O, but got Unknown
//IL_134f: Unknown result type (might be due to invalid IL or missing references)
//IL_1359: Expected O, but got Unknown
//IL_1376: Unknown result type (might be due to invalid IL or missing references)
//IL_1380: Expected O, but got Unknown
//IL_13a3: Unknown result type (might be due to invalid IL or missing references)
//IL_13ad: Expected O, but got Unknown
//IL_13cf: Unknown result type (might be due to invalid IL or missing references)
//IL_13d9: Expected O, but got Unknown
//IL_13d4: Unknown result type (might be due to invalid IL or missing references)
//IL_13de: Expected O, but got Unknown
//IL_1401: Unknown result type (might be due to invalid IL or missing references)
//IL_140b: Expected O, but got Unknown
//IL_1428: Unknown result type (might be due to invalid IL or missing references)
//IL_1432: Expected O, but got Unknown
//IL_1455: Unknown result type (might be due to invalid IL or missing references)
//IL_145f: Expected O, but got Unknown
//IL_1478: Unknown result type (might be due to invalid IL or missing references)
//IL_1482: Expected O, but got Unknown
//IL_147d: Unknown result type (might be due to invalid IL or missing references)
//IL_1487: Expected O, but got Unknown
//IL_14a7: Unknown result type (might be due to invalid IL or missing references)
//IL_14b1: Expected O, but got Unknown
//IL_14d4: Unknown result type (might be due to invalid IL or missing references)
//IL_14de: Expected O, but got Unknown
//IL_14fe: Unknown result type (might be due to invalid IL or missing references)
//IL_1508: Expected O, but got Unknown
//IL_152b: Unknown result type (might be due to invalid IL or missing references)
//IL_1535: Expected O, but got Unknown
//IL_1552: Unknown result type (might be due to invalid IL or missing references)
//IL_155c: Expected O, but got Unknown
//IL_157f: Unknown result type (might be due to invalid IL or missing references)
//IL_1589: Expected O, but got Unknown
//IL_15ab: Unknown result type (might be due to invalid IL or missing references)
//IL_15b5: Expected O, but got Unknown
//IL_15d0: Unknown result type (might be due to invalid IL or missing references)
//IL_15da: Expected O, but got Unknown
//IL_15d5: Unknown result type (might be due to invalid IL or missing references)
//IL_15df: Expected O, but got Unknown
//IL_1602: Unknown result type (might be due to invalid IL or missing references)
//IL_160c: Expected O, but got Unknown
//IL_162c: Unknown result type (might be due to invalid IL or missing references)
//IL_1636: Expected O, but got Unknown
//IL_1659: Unknown result type (might be due to invalid IL or missing references)
//IL_1663: Expected O, but got Unknown
//IL_1680: Unknown result type (might be due to invalid IL or missing references)
//IL_168a: Expected O, but got Unknown
//IL_16ad: Unknown result type (might be due to invalid IL or missing references)
//IL_16b7: Expected O, but got Unknown
//IL_16d2: Unknown result type (might be due to invalid IL or missing references)
//IL_16dc: Expected O, but got Unknown
//IL_16d7: Unknown result type (might be due to invalid IL or missing references)
//IL_16e1: Expected O, but got Unknown
//IL_1704: Unknown result type (might be due to invalid IL or missing references)
//IL_170e: Expected O, but got Unknown
//IL_172b: Unknown result type (might be due to invalid IL or missing references)
//IL_1735: Expected O, but got Unknown
//IL_1758: Unknown result type (might be due to invalid IL or missing references)
//IL_1762: Expected O, but got Unknown
//IL_177d: Unknown result type (might be due to invalid IL or missing references)
//IL_1787: Expected O, but got Unknown
//IL_1782: Unknown result type (might be due to invalid IL or missing references)
//IL_178c: Expected O, but got Unknown
//IL_17af: Unknown result type (might be due to invalid IL or missing references)
//IL_17b9: Expected O, but got Unknown
//IL_17d9: Unknown result type (might be due to invalid IL or missing references)
//IL_17e3: Expected O, but got Unknown
//IL_1800: Unknown result type (might be due to invalid IL or missing references)
//IL_180a: Expected O, but got Unknown
//IL_182d: Unknown result type (might be due to invalid IL or missing references)
//IL_1837: Expected O, but got Unknown
//IL_1854: Unknown result type (might be due to invalid IL or missing references)
//IL_185e: Expected O, but got Unknown
//IL_1881: Unknown result type (might be due to invalid IL or missing references)
//IL_188b: 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_18d8: Unknown result type (might be due to invalid IL or missing references)
//IL_18e2: Expected O, but got Unknown
//IL_18ff: Unknown result type (might be due to invalid IL or missing references)
//IL_1909: Expected O, but got Unknown
//IL_192c: Unknown result type (might be due to invalid IL or missing references)
//IL_1936: Expected O, but got Unknown
//IL_1953: Unknown result type (might be due to invalid IL or missing references)
//IL_195d: Expected O, but got Unknown
//IL_1980: Unknown result type (might be due to invalid IL or missing references)
//IL_198a: Expected O, but got Unknown
//IL_19aa: Unknown result type (might be due to invalid IL or missing references)
//IL_19b4: Expected O, but got Unknown
//IL_19d7: Unknown result type (might be due to invalid IL or missing references)
//IL_19e1: Expected O, but got Unknown
//IL_19fe: Unknown result type (might be due to invalid IL or missing references)
//IL_1a08: Expected O, but got Unknown
//IL_1a2b: Unknown result type (might be due to invalid IL or missing references)
//IL_1a35: Expected O, but got Unknown
//IL_1a58: Unknown result type (might be due to invalid IL or missing references)
//IL_1a62: Expected O, but got Unknown
//IL_1a7f: Unknown result type (might be due to invalid IL or missing references)
//IL_1a89: Expected O, but got Unknown
//IL_1aac: Unknown result type (might be due to invalid IL or missing references)
//IL_1ab6: Expected O, but got Unknown
//IL_1ad1: Unknown result type (might be due to invalid IL or missing references)
//IL_1adb: 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_1b2d: Unknown result type (might be due to invalid IL or missing references)
//IL_1b37: Expected O, but got Unknown
//IL_1b5a: Unknown result type (might be due to invalid IL or missing references)
//IL_1b64: Expected O, but got Unknown
//IL_1b87: Unknown result type (might be due to invalid IL or missing references)
//IL_1b91: Expected O, but got Unknown
//IL_1bb1: Unknown result type (might be due to invalid IL or missing references)
//IL_1bbb: Expected O, but got Unknown
//IL_1bd8: Unknown result type (might be due to invalid IL or missing references)
//IL_1be2: Expected O, but got Unknown
//IL_1c05: Unknown result type (might be due to invalid IL or missing references)
//IL_1c0f: Expected O, but got Unknown
//IL_1c2c: Unknown result type (might be due to invalid IL or missing references)
//IL_1c36: Expected O, but got Unknown
//IL_1c59: Unknown result type (might be due to invalid IL or missing references)
//IL_1c63: Expected O, but got Unknown
//IL_1c83: Unknown result type (might be due to invalid IL or missing references)
//IL_1c8d: Expected O, but got Unknown
//IL_1cb0: Unknown result type (might be due to invalid IL or missing references)
//IL_1cba: Expected O, but got Unknown
//IL_1cd7: Unknown result type (might be due to invalid IL or missing references)
//IL_1ce1: Expected O, but got Unknown
//IL_1d04: Unknown result type (might be due to invalid IL or missing references)
//IL_1d0e: 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_1d5b: Unknown result type (might be due to invalid IL or missing references)
//IL_1d65: Expected O, but got Unknown
//IL_1d88: Unknown result type (might be due to invalid IL or missing references)
//IL_1d92: Expected O, but got Unknown
//IL_1db8: Unknown result type (might be due to invalid IL or missing references)
//IL_1dc2: Expected O, but got Unknown
//IL_1de0: Unknown result type (might be due to invalid IL or missing references)
//IL_1dea: Expected O, but got Unknown
//IL_1de5: Unknown result type (might be due to invalid IL or missing references)
//IL_1def: Expected O, but got Unknown
//IL_1e15: Unknown result type (might be due to invalid IL or missing references)
//IL_1e1f: Expected O, but got Unknown
//IL_1e45: Unknown result type (might be due to invalid IL or missing references)
//IL_1e4f: Expected O, but got Unknown
//IL_1e6f: Unknown result type (might be due to invalid IL or missing references)
//IL_1e79: Expected O, but got Unknown
//IL_1e9f: Unknown result type (might be due to invalid IL or missing references)
//IL_1ea9: Expected O, but got Unknown
//IL_1ec7: Unknown result type (might be due to invalid IL or missing references)
//IL_1ed1: Expected O, but got Unknown
//IL_1ecc: Unknown result type (might be due to invalid IL or missing references)
//IL_1ed6: Expected O, but got Unknown
//IL_1efc: Unknown result type (might be due to invalid IL or missing references)
//IL_1f06: Expected O, but got Unknown
//IL_1f29: Unknown result type (might be due to invalid IL or missing references)
//IL_1f33: 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_1f89: Unknown result type (might be due to invalid IL or missing references)
//IL_1f93: Expected O, but got Unknown
//IL_1fb3: Unknown result type (might be due to invalid IL or missing references)
//IL_1fbd: Expected O, but got Unknown
//IL_1fe3: Unknown result type (might be due to invalid IL or missing references)
//IL_1fed: Expected O, but got Unknown
//IL_2010: Unknown result type (might be due to invalid IL or missing references)
//IL_201a: Expected O, but got Unknown
//IL_203a: Unknown result type (might be due to invalid IL or missing references)
//IL_2044: Expected O, but got Unknown
//IL_206a: Unknown result type (might be due to invalid IL or missing references)
//IL_2074: Expected O, but got Unknown
//IL_2097: Unknown result type (might be due to invalid IL or missing references)
//IL_20a1: Expected O, but got Unknown
//IL_20c7: Unknown result type (might be due to invalid IL or missing references)
//IL_20d1: Expected O, but got Unknown
//IL_20f1: Unknown result type (might be due to invalid IL or missing references)
//IL_20fb: Expected O, but got Unknown
//IL_2121: Unknown result type (might be due to invalid IL or missing references)
//IL_212b: Expected O, but got Unknown
//IL_214e: Unknown result type (might be due to invalid IL or missing references)
//IL_2158: Expected O, but got Unknown
//IL_217e: Unknown result type (might be due to invalid IL or missing references)
//IL_2188: Expected O, but got Unknown
//IL_21a6: Unknown result type (might be due to invalid IL or missing references)
//IL_21b0: Expected O, but got Unknown
//IL_21ab: Unknown result type (might be due to invalid IL or missing references)
//IL_21b5: Expected O, but got Unknown
//IL_21db: Unknown result type (might be due to invalid IL or missing references)
//IL_21e5: Expected O, but got Unknown
//IL_220b: Unknown result type (might be due to invalid IL or missing references)
//IL_2215: Expected O, but got Unknown
//IL_2235: Unknown result type (might be due to invalid IL or missing references)
//IL_223f: Expected O, but got Unknown
//IL_2265: Unknown result type (might be due to invalid IL or missing references)
//IL_226f: Expected O, but got Unknown
//IL_228d: Unknown result type (might be due to invalid IL or missing references)
//IL_2297: Expected O, but got Unknown
//IL_2292: Unknown result type (might be due to invalid IL or missing references)
//IL_229c: Expected O, but got Unknown
//IL_22c2: Unknown result type (might be due to invalid IL or missing references)
//IL_22cc: Expected O, but got Unknown
//IL_0a71: Unknown result type (might be due to invalid IL or missing references)
//IL_0a7b: Expected O, but got Unknown
//IL_069f: Unknown result type (might be due to invalid IL or missing references)
//IL_06a9: Expected O, but got Unknown
//IL_0718: Unknown result type (might be due to invalid IL or missing references)
//IL_0722: Expected O, but got Unknown
//IL_074d: Unknown result type (might be due to invalid IL or missing references)
//IL_0757: Expected O, but got Unknown
try
{
switch (<>1__state)
{
default:
return false;
case 0:
<>1__state = -1;
<waiter>5__1 = new MultiTokenWaiter(new Func<Token, bool>[6]
{
(Token t) => (int)t.Type == 38,
delegate(Token t)
{
IdentifierToken val9 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val9 != null && val9.Name == "diving";
},
(Token t) => (int)t.Type == 86,
delegate(Token t)
{
IdentifierToken val8 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val8 != null && val8.Name == "speed_mult";
},
(Token t) => (int)t.Type == 23,
delegate(Token t)
{
ConstantToken val6 = (ConstantToken)(object)((t is ConstantToken) ? t : null);
int result3;
if (val6 != null)
{
Variant value3 = val6.Value;
RealVariant val7 = (RealVariant)(object)((value3 is RealVariant) ? value3 : null);
if (val7 != null)
{
result3 = ((val7.Value == 0.0) ? 1 : 0);
goto IL_002d;
}
}
result3 = 0;
goto IL_002d;
IL_002d:
return (byte)result3 != 0;
}
}, false, false);
<waiter2>5__2 = new MultiTokenWaiter(new Func<Token, bool>[3]
{
delegate(Token t)
{
IdentifierToken val5 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val5 != null && val5.Name == "in_air";
},
(Token t) => (int)t.Type == 23,
delegate(Token t)
{
ConstantToken val3 = (ConstantToken)(object)((t is ConstantToken) ? t : null);
int result2;
if (val3 != null)
{
Variant value2 = val3.Value;
BoolVariant val4 = (BoolVariant)(object)((value2 is BoolVariant) ? value2 : null);
if (val4 != null)
{
result2 = (val4.Value ? 1 : 0);
goto IL_0022;
}
}
result2 = 0;
goto IL_0022;
IL_0022:
return (byte)result2 != 0;
}
}, false, false);
<declares>5__3 = new MultiTokenWaiter(new Func<Token, bool>[1]
{
delegate(Token t)
{
ConstantToken val = (ConstantToken)(object)((t is ConstantToken) ? t : null);
int result;
if (val != null)
{
Variant value = val.Value;
StringVariant val2 = (StringVariant)(object)((value is StringVariant) ? value : null);
if (val2 != null)
{
result = ((val2.Value == "npc title here") ? 1 : 0);
goto IL_002c;
}
}
result = 0;
goto IL_002c;
IL_002c:
return (byte)result != 0;
}
}, false, false);
<>s__4 = tokens.GetEnumerator();
<>1__state = -3;
break;
case 1:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)null);
<>1__state = 2;
return true;
case 2:
<>1__state = -3;
<>2__current = new Token((TokenType)59, (uint?)null);
<>1__state = 3;
return true;
case 3:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("sway");
<>1__state = 4;
return true;
case 4:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 5;
return true;
case 5:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new RealVariant(0.0, false));
<>1__state = 6;
return true;
case 6:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)null);
<>1__state = 7;
return true;
case 7:
<>1__state = -3;
<>2__current = new Token((TokenType)59, (uint?)null);
<>1__state = 8;
return true;
case 8:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("swaying");
<>1__state = 9;
return true;
case 9:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 10;
return true;
case 10:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(false));
<>1__state = 11;
return true;
case 11:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)null);
<>1__state = 12;
return true;
case 12:
<>1__state = -3;
<>2__current = new Token((TokenType)59, (uint?)null);
<>1__state = 13;
return true;
case 13:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("swayflipflop");
<>1__state = 14;
return true;
case 14:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 15;
return true;
case 15:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(false));
<>1__state = 16;
return true;
case 16:
<>1__state = -3;
goto IL_230b;
case 17:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 18;
return true;
case 18:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new StringVariant("Hello from the SwerveMod patch!"));
<>1__state = 19;
return true;
case 19:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 20;
return true;
case 20:
<>1__state = -3;
goto IL_230b;
case 21:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 22;
return true;
case 22:
<>1__state = -3;
<>2__current = new Token((TokenType)38, (uint?)null);
<>1__state = 23;
return true;
case 23:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("swaying");
<>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)89, (uint?)2u);
<>1__state = 26;
return true;
case 26:
<>1__state = -3;
<>2__current = new Token((TokenType)38, (uint?)null);
<>1__state = 27;
return true;
case 27:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("swayflipflop");
<>1__state = 28;
return true;
case 28:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 29;
return true;
case 29:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)3u);
<>1__state = 30;
return true;
case 30:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("sway");
<>1__state = 31;
return true;
case 31:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 32;
return true;
case 32:
<>1__state = -3;
<>2__current = new Token((TokenType)5, (uint?)30u);
<>1__state = 33;
return true;
case 33:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 34;
return true;
case 34:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("sway");
<>1__state = 35;
return true;
case 35:
<>1__state = -3;
<>2__current = new Token((TokenType)82, (uint?)null);
<>1__state = 36;
return true;
case 36:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(-15L, false));
<>1__state = 37;
return true;
case 37:
<>1__state = -3;
<>2__current = new Token((TokenType)82, (uint?)null);
<>1__state = 38;
return true;
case 38:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("delta");
<>1__state = 39;
return true;
case 39:
<>1__state = -3;
<>2__current = new Token((TokenType)18, (uint?)null);
<>1__state = 40;
return true;
case 40:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(6L, false));
<>1__state = 41;
return true;
case 41:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 42;
return true;
case 42:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)3u);
<>1__state = 43;
return true;
case 43:
<>1__state = -3;
<>2__current = new Token((TokenType)38, (uint?)null);
<>1__state = 44;
return true;
case 44:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("sway");
<>1__state = 45;
return true;
case 45:
<>1__state = -3;
<>2__current = new Token((TokenType)10, (uint?)null);
<>1__state = 46;
return true;
case 46:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new RealVariant(-14.8, false));
<>1__state = 47;
return true;
case 47:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 48;
return true;
case 48:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("swayflipflop");
<>1__state = 49;
return true;
case 49:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 50;
return true;
case 50:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(false));
<>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 = new Token((TokenType)40, (uint?)null);
<>1__state = 53;
return true;
case 53:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 54;
return true;
case 54:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)3u);
<>1__state = 55;
return true;
case 55:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("sway");
<>1__state = 56;
return true;
case 56:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 57;
return true;
case 57:
<>1__state = -3;
<>2__current = new Token((TokenType)5, (uint?)30u);
<>1__state = 58;
return true;
case 58:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 59;
return true;
case 59:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("sway");
<>1__state = 60;
return true;
case 60:
<>1__state = -3;
<>2__current = new Token((TokenType)82, (uint?)null);
<>1__state = 61;
return true;
case 61:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new RealVariant(17.5, false));
<>1__state = 62;
return true;
case 62:
<>1__state = -3;
<>2__current = new Token((TokenType)82, (uint?)null);
<>1__state = 63;
return true;
case 63:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("delta");
<>1__state = 64;
return true;
case 64:
<>1__state = -3;
<>2__current = new Token((TokenType)18, (uint?)null);
<>1__state = 65;
return true;
case 65:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(6L, false));
<>1__state = 66;
return true;
case 66:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 67;
return true;
case 67:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)3u);
<>1__state = 68;
return true;
case 68:
<>1__state = -3;
<>2__current = new Token((TokenType)38, (uint?)null);
<>1__state = 69;
return true;
case 69:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("sway");
<>1__state = 70;
return true;
case 70:
<>1__state = -3;
<>2__current = new Token((TokenType)12, (uint?)null);
<>1__state = 71;
return true;
case 71:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new RealVariant(17.3, false));
<>1__state = 72;
return true;
case 72:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 73;
return true;
case 73:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("swayflipflop");
<>1__state = 74;
return true;
case 74:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 75;
return true;
case 75:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(true));
<>1__state = 76;
return true;
case 76:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 77;
return true;
case 77:
<>1__state = -3;
<>2__current = new Token((TokenType)38, (uint?)null);
<>1__state = 78;
return true;
case 78:
<>1__state = -3;
<>2__current = new Token((TokenType)5, (uint?)17u);
<>1__state = 79;
return true;
case 79:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 80;
return true;
case 80:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("spinang");
<>1__state = 81;
return true;
case 81:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 82;
return true;
case 82:
<>1__state = -3;
<>2__current = new Token((TokenType)7, (uint?)null);
<>1__state = 83;
return true;
case 83:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(0L, false));
<>1__state = 84;
return true;
case 84:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 85;
return true;
case 85:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)2u);
<>1__state = 86;
return true;
case 86:
<>1__state = -3;
<>2__current = new Token((TokenType)38, (uint?)null);
<>1__state = 87;
return true;
case 87:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("sway");
<>1__state = 88;
return true;
case 88:
<>1__state = -3;
<>2__current = new Token((TokenType)9, (uint?)null);
<>1__state = 89;
return true;
case 89:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(0L, false));
<>1__state = 90;
return true;
case 90:
<>1__state = -3;
<>2__current = new Token((TokenType)14, (uint?)null);
<>1__state = 91;
return true;
case 91:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("sway");
<>1__state = 92;
return true;
case 92:
<>1__state = -3;
<>2__current = new Token((TokenType)11, (uint?)null);
<>1__state = 93;
return true;
case 93:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(0L, false));
<>1__state = 94;
return true;
case 94:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 95;
return true;
case 95:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)3u);
<>1__state = 96;
return true;
case 96:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("rotation");
<>1__state = 97;
return true;
case 97:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 98;
return true;
case 98:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("z");
<>1__state = 99;
return true;
case 99:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 100;
return true;
case 100:
<>1__state = -3;
<>2__current = new Token((TokenType)5, (uint?)31u);
<>1__state = 101;
return true;
case 101:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 102;
return true;
case 102:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("rotation");
<>1__state = 103;
return true;
case 103:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 104;
return true;
case 104:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("z");
<>1__state = 105;
return true;
case 105:
<>1__state = -3;
<>2__current = new Token((TokenType)82, (uint?)null);
<>1__state = 106;
return true;
case 106:
<>1__state = -3;
<>2__current = new Token((TokenType)5, (uint?)43u);
<>1__state = 107;
return true;
case 107:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 108;
return true;
case 108:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("sway");
<>1__state = 109;
return true;
case 109:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 110;
return true;
case 110:
<>1__state = -3;
<>2__current = new Token((TokenType)82, (uint?)null);
<>1__state = 111;
return true;
case 111:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("delta");
<>1__state = 112;
return true;
case 112:
<>1__state = -3;
<>2__current = new Token((TokenType)18, (uint?)null);
<>1__state = 113;
return true;
case 113:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(8L, false));
<>1__state = 114;
return true;
case 114:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 115;
return true;
case 115:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)2u);
<>1__state = 116;
return true;
case 116:
<>1__state = -3;
<>2__current = new Token((TokenType)40, (uint?)null);
<>1__state = 117;
return true;
case 117:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 118;
return true;
case 118:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)3u);
<>1__state = 119;
return true;
case 119:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("rotation");
<>1__state = 120;
return true;
case 120:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 121;
return true;
case 121:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("z");
<>1__state = 122;
return true;
case 122:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 123;
return true;
case 123:
<>1__state = -3;
<>2__current = new Token((TokenType)5, (uint?)31u);
<>1__state = 124;
return true;
case 124:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 125;
return true;
case 125:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("rotation");
<>1__state = 126;
return true;
case 126:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 127;
return true;
case 127:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("z");
<>1__state = 128;
return true;
case 128:
<>1__state = -3;
<>2__current = new Token((TokenType)82, (uint?)null);
<>1__state = 129;
return true;
case 129:
<>1__state = -3;
<>2__current = new Token((TokenType)5, (uint?)43u);
<>1__state = 130;
return true;
case 130:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 131;
return true;
case 131:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(0L, false));
<>1__state = 132;
return true;
case 132:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 133;
return true;
case 133:
<>1__state = -3;
<>2__current = new Token((TokenType)82, (uint?)null);
<>1__state = 134;
return true;
case 134:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("delta");
<>1__state = 135;
return true;
case 135:
<>1__state = -3;
<>2__current = new Token((TokenType)18, (uint?)null);
<>1__state = 136;
return true;
case 136:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(2L, false));
<>1__state = 137;
return true;
case 137:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 138;
return true;
case 138:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)2u);
<>1__state = 139;
return true;
case 139:
<>1__state = -3;
<>2__current = new Token((TokenType)38, (uint?)null);
<>1__state = 140;
return true;
case 140:
<>1__state = -3;
<>2__current = new Token((TokenType)15, (uint?)null);
<>1__state = 141;
return true;
case 141:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("swaying");
<>1__state = 142;
return true;
case 142:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 143;
return true;
case 143:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)3u);
<>1__state = 144;
return true;
case 144:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("sway");
<>1__state = 145;
return true;
case 145:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 146;
return true;
case 146:
<>1__state = -3;
<>2__current = new Token((TokenType)5, (uint?)30u);
<>1__state = 147;
return true;
case 147:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 148;
return true;
case 148:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("sway");
<>1__state = 149;
return true;
case 149:
<>1__state = -3;
<>2__current = new Token((TokenType)82, (uint?)null);
<>1__state = 150;
return true;
case 150:
<>1__state = -3;
<>2__current = new Token((TokenType)5, (uint?)43u);
<>1__state = 151;
return true;
case 151:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 152;
return true;
case 152:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(0L, false));
<>1__state = 153;
return true;
case 153:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 154;
return true;
case 154:
<>1__state = -3;
<>2__current = new Token((TokenType)82, (uint?)null);
<>1__state = 155;
return true;
case 155:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("delta");
<>1__state = 156;
return true;
case 156:
<>1__state = -3;
<>2__current = new Token((TokenType)18, (uint?)null);
<>1__state = 157;
return true;
case 157:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(8L, false));
<>1__state = 158;
return true;
case 158:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 159;
return true;
case 159:
<>1__state = -3;
goto IL_230b;
case 160:
{
<>1__state = -3;
goto IL_230b;
}
IL_230b:
<token>5__5 = null;
break;
}
if (((global::System.Collections.IEnumerator)<>s__4).MoveNext())
{
<token>5__5 = <>s__4.Current;
if (<declares>5__3.Check(<token>5__5))
{
<>2__current = <token>5__5;
<>1__state = 1;
return true;
}
if (<waiter>5__1.Check(<token>5__5))
{
<>2__current = new Token((TokenType)5, (uint?)63u);
<>1__state = 17;
return true;
}
if (<waiter2>5__2.Check(<token>5__5))
{
<>2__current = <token>5__5;
<>1__state = 21;
return true;
}
<>2__current = <token>5__5;
<>1__state = 160;
return true;
}
<>m__Finally1();
<>s__4 = null;
return false;
}
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__4 != null)
{
((global::System.IDisposable)<>s__4).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__1 <Modify>d__;
if (<>1__state == -2 && <>l__initialThreadId == Environment.CurrentManagedThreadId)
{
<>1__state = 0;
<Modify>d__ = this;
}
else
{
<Modify>d__ = new <Modify>d__1(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 bool ShouldRun(string path)
{
return path == "res://Scenes/Entities/Player/player.gdc";
}
[IteratorStateMachine(typeof(<Modify>d__1))]
public global::System.Collections.Generic.IEnumerable<Token> Modify(string path, global::System.Collections.Generic.IEnumerable<Token> tokens)
{
MultiTokenWaiter waiter = new MultiTokenWaiter(new Func<Token, bool>[6]
{
(Token t) => (int)t.Type == 38,
delegate(Token t)
{
IdentifierToken val9 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val9 != null && val9.Name == "diving";
},
(Token t) => (int)t.Type == 86,
delegate(Token t)
{
IdentifierToken val8 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val8 != null && val8.Name == "speed_mult";
},
(Token t) => (int)t.Type == 23,
delegate(Token t)
{
ConstantToken val6 = (ConstantToken)(object)((t is ConstantToken) ? t : null);
int result3;
if (val6 != null)
{
Variant value3 = val6.Value;
RealVariant val7 = (RealVariant)(object)((value3 is RealVariant) ? value3 : null);
if (val7 != null)
{
result3 = ((val7.Value == 0.0) ? 1 : 0);
goto IL_002d;
}
}
result3 = 0;
goto IL_002d;
IL_002d:
return (byte)result3 != 0;
}
}, false, false);
MultiTokenWaiter waiter2 = new MultiTokenWaiter(new Func<Token, bool>[3]
{
delegate(Token t)
{
IdentifierToken val5 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val5 != null && val5.Name == "in_air";
},
(Token t) => (int)t.Type == 23,
delegate(Token t)
{
ConstantToken val3 = (ConstantToken)(object)((t is ConstantToken) ? t : null);
int result2;
if (val3 != null)
{
Variant value2 = val3.Value;
BoolVariant val4 = (BoolVariant)(object)((value2 is BoolVariant) ? value2 : null);
if (val4 != null)
{
result2 = (val4.Value ? 1 : 0);
goto IL_0022;
}
}
result2 = 0;
goto IL_0022;
IL_0022:
return (byte)result2 != 0;
}
}, false, false);
MultiTokenWaiter declares = new MultiTokenWaiter(new Func<Token, bool>[1]
{
delegate(Token t)
{
ConstantToken val = (ConstantToken)(object)((t is ConstantToken) ? t : null);
int result;
if (val != null)
{
Variant value = val.Value;
StringVariant val2 = (StringVariant)(object)((value is StringVariant) ? value : null);
if (val2 != null)
{
result = ((val2.Value == "npc title here") ? 1 : 0);
goto IL_002c;
}
}
result = 0;
goto IL_002c;
IL_002c:
return (byte)result != 0;
}
}, false, false);
global::System.Collections.Generic.IEnumerator<Token> enumerator = tokens.GetEnumerator();
try
{
while (((global::System.Collections.IEnumerator)enumerator).MoveNext())
{
Token token = enumerator.Current;
if (declares.Check(token))
{
yield return token;
yield return new Token((TokenType)89, (uint?)null);
yield return new Token((TokenType)59, (uint?)null);
yield return (Token)new IdentifierToken("sway");
yield return new Token((TokenType)23, (uint?)null);
yield return (Token)new ConstantToken((Variant)new RealVariant(0.0, false));
yield return new Token((TokenType)89, (uint?)null);
yield return new Token((TokenType)59, (uint?)null);
yield return (Token)new IdentifierToken("swaying");
yield return new Token((TokenType)23, (uint?)null);
yield return (Token)new ConstantToken((Variant)new BoolVariant(false));
yield return new Token((TokenType)89, (uint?)null);
yield return new Token((TokenType)59, (uint?)null);
yield return (Token)new IdentifierToken("swayflipflop");
yield return new Token((TokenType)23, (uint?)null);
yield return (Token)new ConstantToken((Variant)new BoolVariant(false));
}
else if (waiter.Check(token))
{
yield return new Token((TokenType)5, (uint?)63u);
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new ConstantToken((Variant)new StringVariant("Hello from the SwerveMod patch!"));
yield return new Token((TokenType)81, (uint?)null);
}
else if (waiter2.Check(token))
{
yield return token;
yield return new Token((TokenType)89, (uint?)1u);
yield return new Token((TokenType)38, (uint?)null);
yield return (Token)new IdentifierToken("swaying");
yield return new Token((TokenType)86, (uint?)null);
yield return new Token((TokenType)89, (uint?)2u);
yield return new Token((TokenType)38, (uint?)null);
yield return (Token)new IdentifierToken("swayflipflop");
yield return new Token((TokenType)86, (uint?)null);
yield return new Token((TokenType)89, (uint?)3u);
yield return (Token)new IdentifierToken("sway");
yield return new Token((TokenType)23, (uint?)null);
yield return new Token((TokenType)5, (uint?)30u);
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new IdentifierToken("sway");
yield return new Token((TokenType)82, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(-15L, false));
yield return new Token((TokenType)82, (uint?)null);
yield return (Token)new IdentifierToken("delta");
yield return new Token((TokenType)18, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(6L, false));
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)89, (uint?)3u);
yield return new Token((TokenType)38, (uint?)null);
yield return (Token)new IdentifierToken("sway");
yield return new Token((TokenType)10, (uint?)null);
yield return (Token)new ConstantToken((Variant)new RealVariant(-14.8, false));
yield return new Token((TokenType)86, (uint?)null);
yield return (Token)new IdentifierToken("swayflipflop");
yield return new Token((TokenType)23, (uint?)null);
yield return (Token)new ConstantToken((Variant)new BoolVariant(false));
yield return new Token((TokenType)89, (uint?)2u);
yield return new Token((TokenType)40, (uint?)null);
yield return new Token((TokenType)86, (uint?)null);
yield return new Token((TokenType)89, (uint?)3u);
yield return (Token)new IdentifierToken("sway");
yield return new Token((TokenType)23, (uint?)null);
yield return new Token((TokenType)5, (uint?)30u);
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new IdentifierToken("sway");
yield return new Token((TokenType)82, (uint?)null);
yield return (Token)new ConstantToken((Variant)new RealVariant(17.5, false));
yield return new Token((TokenType)82, (uint?)null);
yield return (Token)new IdentifierToken("delta");
yield return new Token((TokenType)18, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(6L, false));
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)89, (uint?)3u);
yield return new Token((TokenType)38, (uint?)null);
yield return (Token)new IdentifierToken("sway");
yield return new Token((TokenType)12, (uint?)null);
yield return (Token)new ConstantToken((Variant)new RealVariant(17.3, false));
yield return new Token((TokenType)86, (uint?)null);
yield return (Token)new IdentifierToken("swayflipflop");
yield return new Token((TokenType)23, (uint?)null);
yield return (Token)new ConstantToken((Variant)new BoolVariant(true));
yield return new Token((TokenType)89, (uint?)1u);
yield return new Token((TokenType)38, (uint?)null);
yield return new Token((TokenType)5, (uint?)17u);
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new IdentifierToken("spinang");
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)7, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(0L, false));
yield return new Token((TokenType)86, (uint?)null);
yield return new Token((TokenType)89, (uint?)2u);
yield return new Token((TokenType)38, (uint?)null);
yield return (Token)new IdentifierToken("sway");
yield return new Token((TokenType)9, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(0L, false));
yield return new Token((TokenType)14, (uint?)null);
yield return (Token)new IdentifierToken("sway");
yield return new Token((TokenType)11, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(0L, false));
yield return new Token((TokenType)86, (uint?)null);
yield return new Token((TokenType)89, (uint?)3u);
yield return (Token)new IdentifierToken("rotation");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("z");
yield return new Token((TokenType)23, (uint?)null);
yield return new Token((TokenType)5, (uint?)31u);
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new IdentifierToken("rotation");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("z");
yield return new Token((TokenType)82, (uint?)null);
yield return new Token((TokenType)5, (uint?)43u);
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new IdentifierToken("sway");
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)82, (uint?)null);
yield return (Token)new IdentifierToken("delta");
yield return new Token((TokenType)18, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(8L, false));
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)89, (uint?)2u);
yield return new Token((TokenType)40, (uint?)null);
yield return new Token((TokenType)86, (uint?)null);
yield return new Token((TokenType)89, (uint?)3u);
yield return (Token)new IdentifierToken("rotation");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("z");
yield return new Token((TokenType)23, (uint?)null);
yield return new Token((TokenType)5, (uint?)31u);
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new IdentifierToken("rotation");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("z");
yield return new Token((TokenType)82, (uint?)null);
yield return new Token((TokenType)5, (uint?)43u);
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(0L, false));
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)82, (uint?)null);
yield return (Token)new IdentifierToken("delta");
yield return new Token((TokenType)18, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(2L, false));
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)89, (uint?)2u);
yield return new Token((TokenType)38, (uint?)null);
yield return new Token((TokenType)15, (uint?)null);
yield return (Token)new IdentifierToken("swaying");
yield return new Token((TokenType)86, (uint?)null);
yield return new Token((TokenType)89, (uint?)3u);
yield return (Token)new IdentifierToken("sway");
yield return new Token((TokenType)23, (uint?)null);
yield return new Token((TokenType)5, (uint?)30u);
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new IdentifierToken("sway");
yield return new Token((TokenType)82, (uint?)null);
yield return new Token((TokenType)5, (uint?)43u);
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(0L, false));
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)82, (uint?)null);
yield return (Token)new IdentifierToken("delta");
yield return new Token((TokenType)18, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(8L, false));
yield return new Token((TokenType)81, (uint?)null);
}
else
{
yield return token;
}
}
}
finally
{
((global::System.IDisposable)enumerator)?.Dispose();
}
}
}