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("officerballs.sushitime")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0.0")]
[assembly: AssemblyProduct("officerballs.sushitime")]
[assembly: AssemblyTitle("officerballs.sushitime")]
[assembly: AssemblyVersion("1.0.0.0")]
[module: RefSafetyRules(11)]
namespace Sushi;
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 SaveHook());
modInterface.RegisterScriptMod((IScriptMod)(object)new FloatMod());
modInterface.RegisterScriptMod((IScriptMod)(object)new ShopMod());
modInterface.RegisterScriptMod((IScriptMod)(object)new PropMod());
modInterface.RegisterScriptMod((IScriptMod)(object)new InteractHook());
modInterface.RegisterScriptMod((IScriptMod)(object)new SushiTime());
modInterface.RegisterScriptMod((IScriptMod)(object)new CreditsHook());
modInterface.Logger.Information("[officer balls] it's sushi time!");
}
public void Dispose()
{
}
}
public class SushiTime : 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 SushiTime <>4__this;
private MultiTokenWaiter <addVar>5__1;
private MultiTokenWaiter <onReady>5__2;
private global::System.Collections.Generic.IEnumerator<Token> <>s__3;
private Token <token>5__4;
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) > 33u)
{
return;
}
try
{
}
finally
{
<>m__Finally1();
}
}
private bool MoveNext()
{
//IL_030a: Unknown result type (might be due to invalid IL or missing references)
//IL_0314: Expected O, but got Unknown
//IL_0336: Unknown result type (might be due to invalid IL or missing references)
//IL_0340: Expected O, but got Unknown
//IL_0362: Unknown result type (might be due to invalid IL or missing references)
//IL_036c: Expected O, but got Unknown
//IL_0388: Unknown result type (might be due to invalid IL or missing references)
//IL_0392: Expected O, but got Unknown
//IL_03b4: Unknown result type (might be due to invalid IL or missing references)
//IL_03be: Expected O, but got Unknown
//IL_03e0: Unknown result type (might be due to invalid IL or missing references)
//IL_03ea: Expected O, but got Unknown
//IL_0406: Unknown result type (might be due to invalid IL or missing references)
//IL_0410: Expected O, but got Unknown
//IL_040b: Unknown result type (might be due to invalid IL or missing references)
//IL_0415: Expected O, but got Unknown
//IL_0478: Unknown result type (might be due to invalid IL or missing references)
//IL_0482: Expected O, but got Unknown
//IL_049f: Unknown result type (might be due to invalid IL or missing references)
//IL_04a9: Expected O, but got Unknown
//IL_04cc: Unknown result type (might be due to invalid IL or missing references)
//IL_04d6: Expected O, but got Unknown
//IL_04f3: Unknown result type (might be due to invalid IL or missing references)
//IL_04fd: Expected O, but got Unknown
//IL_0520: Unknown result type (might be due to invalid IL or missing references)
//IL_052a: Expected O, but got Unknown
//IL_054c: Unknown result type (might be due to invalid IL or missing references)
//IL_0556: Expected O, but got Unknown
//IL_0576: Unknown result type (might be due to invalid IL or missing references)
//IL_0580: Expected O, but got Unknown
//IL_059d: Unknown result type (might be due to invalid IL or missing references)
//IL_05a7: Expected O, but got Unknown
//IL_05ca: Unknown result type (might be due to invalid IL or missing references)
//IL_05d4: Expected O, but got Unknown
//IL_05f1: Unknown result type (might be due to invalid IL or missing references)
//IL_05fb: Expected O, but got Unknown
//IL_061e: Unknown result type (might be due to invalid IL or missing references)
//IL_0628: Expected O, but got Unknown
//IL_0641: Unknown result type (might be due to invalid IL or missing references)
//IL_064b: Expected O, but got Unknown
//IL_0646: Unknown result type (might be due to invalid IL or missing references)
//IL_0650: Expected O, but got Unknown
//IL_0670: Unknown result type (might be due to invalid IL or missing references)
//IL_067a: Expected O, but got Unknown
//IL_0697: Unknown result type (might be due to invalid IL or missing references)
//IL_06a1: Expected O, but got Unknown
//IL_06c4: Unknown result type (might be due to invalid IL or missing references)
//IL_06ce: Expected O, but got Unknown
//IL_06eb: Unknown result type (might be due to invalid IL or missing references)
//IL_06f5: 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_073b: Unknown result type (might be due to invalid IL or missing references)
//IL_0745: Expected O, but got Unknown
//IL_0740: Unknown result type (might be due to invalid IL or missing references)
//IL_074a: Expected O, but got Unknown
//IL_076a: Unknown result type (might be due to invalid IL or missing references)
//IL_0774: Expected O, but got Unknown
//IL_0791: Unknown result type (might be due to invalid IL or missing references)
//IL_079b: Expected O, but got Unknown
//IL_07be: Unknown result type (might be due to invalid IL or missing references)
//IL_07c8: Expected O, but got Unknown
//IL_07e5: Unknown result type (might be due to invalid IL or missing references)
//IL_07ef: Expected O, but got Unknown
//IL_0812: Unknown result type (might be due to invalid IL or missing references)
//IL_081c: Expected O, but got Unknown
//IL_0835: Unknown result type (might be due to invalid IL or missing references)
//IL_083f: Expected O, but got Unknown
//IL_083a: Unknown result type (might be due to invalid IL or missing references)
//IL_0844: Expected O, but got Unknown
//IL_01ed: Unknown result type (might be due to invalid IL or missing references)
//IL_01f7: Expected O, but got Unknown
//IL_0288: Unknown result type (might be due to invalid IL or missing references)
//IL_0292: Expected O, but got Unknown
try
{
switch (<>1__state)
{
default:
return false;
case 0:
<>1__state = -1;
<addVar>5__1 = new MultiTokenWaiter(new Func<Token, bool>[4]
{
(Token t) => (int)t.Type == 59,
delegate(Token t)
{
IdentifierToken val4 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val4 != null && val4.Name == "current_tab";
},
(Token t) => (int)t.Type == 23,
delegate(Token t)
{
ConstantToken val2 = (ConstantToken)(object)((t is ConstantToken) ? t : null);
int result;
if (val2 != null)
{
Variant value = val2.Value;
IntVariant val3 = (IntVariant)(object)((value is IntVariant) ? value : null);
if (val3 != null)
{
result = ((val3.Value == 0) ? 1 : 0);
goto IL_0026;
}
}
result = 0;
goto IL_0026;
IL_0026:
return (byte)result != 0;
}
}, false, false);
<onReady>5__2 = new MultiTokenWaiter(new Func<Token, bool>[4]
{
delegate(Token t)
{
IdentifierToken val = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val != null && val.Name == "_ready";
},
(Token t) => (int)t.Type == 80,
(Token t) => (int)t.Type == 81,
(Token t) => (int)t.Type == 86
}, false, false);
<>s__3 = 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)53, (uint?)null);
<>1__state = 3;
return true;
case 3:
<>1__state = -3;
<>2__current = new Token((TokenType)59, (uint?)null);
<>1__state = 4;
return true;
case 4:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("sushitime");
<>1__state = 5;
return true;
case 5:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 6;
return true;
case 6:
<>1__state = -3;
<>2__current = new Token((TokenType)87, (uint?)null);
<>1__state = 7;
return true;
case 7:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new StringVariant("/root/officerballssushitime"));
<>1__state = 8;
return true;
case 8:
<>1__state = -3;
goto IL_087d;
case 9:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 10;
return true;
case 10:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("sushitime");
<>1__state = 11;
return true;
case 11:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 12;
return true;
case 12:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("hudlink");
<>1__state = 13;
return true;
case 13:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 14;
return true;
case 14:
<>1__state = -3;
<>2__current = new Token((TokenType)3, (uint?)null);
<>1__state = 15;
return true;
case 15:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 16;
return true;
case 16:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("sushitime");
<>1__state = 17;
return true;
case 17:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 18;
return true;
case 18:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("ricestationopen");
<>1__state = 19;
return true;
case 19:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 20;
return true;
case 20:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(false));
<>1__state = 21;
return true;
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 = (Token)new IdentifierToken("sushitime");
<>1__state = 23;
return true;
case 23:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 24;
return true;
case 24:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("prepstationopen");
<>1__state = 25;
return true;
case 25:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 26;
return true;
case 26:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(false));
<>1__state = 27;
return true;
case 27:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 28;
return true;
case 28:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("sushitime");
<>1__state = 29;
return true;
case 29:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 30;
return true;
case 30:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("yumstationopen");
<>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 = (Token)new ConstantToken((Variant)new BoolVariant(false));
<>1__state = 33;
return true;
case 33:
<>1__state = -3;
goto IL_087d;
case 34:
{
<>1__state = -3;
goto IL_087d;
}
IL_087d:
<token>5__4 = null;
break;
}
if (((global::System.Collections.IEnumerator)<>s__3).MoveNext())
{
<token>5__4 = <>s__3.Current;
if (<addVar>5__1.Check(<token>5__4))
{
<>2__current = <token>5__4;
<>1__state = 1;
return true;
}
if (<onReady>5__2.Check(<token>5__4))
{
<>2__current = <token>5__4;
<>1__state = 9;
return true;
}
<>2__current = <token>5__4;
<>1__state = 34;
return true;
}
<>m__Finally1();
<>s__3 = 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__3 != null)
{
((global::System.IDisposable)<>s__3).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/HUD/playerhud.gdc";
}
[IteratorStateMachine(typeof(<Modify>d__1))]
public global::System.Collections.Generic.IEnumerable<Token> Modify(string path, global::System.Collections.Generic.IEnumerable<Token> tokens)
{
MultiTokenWaiter addVar = new MultiTokenWaiter(new Func<Token, bool>[4]
{
(Token t) => (int)t.Type == 59,
delegate(Token t)
{
IdentifierToken val4 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val4 != null && val4.Name == "current_tab";
},
(Token t) => (int)t.Type == 23,
delegate(Token t)
{
ConstantToken val2 = (ConstantToken)(object)((t is ConstantToken) ? t : null);
int result;
if (val2 != null)
{
Variant value = val2.Value;
IntVariant val3 = (IntVariant)(object)((value is IntVariant) ? value : null);
if (val3 != null)
{
result = ((val3.Value == 0) ? 1 : 0);
goto IL_0026;
}
}
result = 0;
goto IL_0026;
IL_0026:
return (byte)result != 0;
}
}, false, false);
MultiTokenWaiter onReady = new MultiTokenWaiter(new Func<Token, bool>[4]
{
delegate(Token t)
{
IdentifierToken val = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val != null && val.Name == "_ready";
},
(Token t) => (int)t.Type == 80,
(Token t) => (int)t.Type == 81,
(Token t) => (int)t.Type == 86
}, false, false);
global::System.Collections.Generic.IEnumerator<Token> enumerator = tokens.GetEnumerator();
try
{
while (((global::System.Collections.IEnumerator)enumerator).MoveNext())
{
Token token = enumerator.Current;
if (addVar.Check(token))
{
yield return token;
yield return new Token((TokenType)89, (uint?)null);
yield return new Token((TokenType)53, (uint?)null);
yield return new Token((TokenType)59, (uint?)null);
yield return (Token)new IdentifierToken("sushitime");
yield return new Token((TokenType)23, (uint?)null);
yield return new Token((TokenType)87, (uint?)null);
yield return (Token)new ConstantToken((Variant)new StringVariant("/root/officerballssushitime"));
}
else if (onReady.Check(token))
{
yield return token;
yield return new Token((TokenType)89, (uint?)1u);
yield return (Token)new IdentifierToken("sushitime");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("hudlink");
yield return new Token((TokenType)23, (uint?)null);
yield return new Token((TokenType)3, (uint?)null);
yield return new Token((TokenType)89, (uint?)1u);
yield return (Token)new IdentifierToken("sushitime");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("ricestationopen");
yield return new Token((TokenType)23, (uint?)null);
yield return (Token)new ConstantToken((Variant)new BoolVariant(false));
yield return new Token((TokenType)89, (uint?)1u);
yield return (Token)new IdentifierToken("sushitime");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("prepstationopen");
yield return new Token((TokenType)23, (uint?)null);
yield return (Token)new ConstantToken((Variant)new BoolVariant(false));
yield return new Token((TokenType)89, (uint?)1u);
yield return (Token)new IdentifierToken("sushitime");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("yumstationopen");
yield return new Token((TokenType)23, (uint?)null);
yield return (Token)new ConstantToken((Variant)new BoolVariant(false));
}
else
{
yield return token;
}
}
}
finally
{
((global::System.IDisposable)enumerator)?.Dispose();
}
}
}
public class PropMod : 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 PropMod <>4__this;
private MultiTokenWaiter <waiter>5__1;
private global::System.Collections.Generic.IEnumerator<Token> <>s__2;
private Token <token>5__3;
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) > 118u)
{
return;
}
try
{
}
finally
{
<>m__Finally1();
}
}
private bool MoveNext()
{
//IL_0547: Unknown result type (might be due to invalid IL or missing references)
//IL_0551: Expected O, but got Unknown
//IL_0573: Unknown result type (might be due to invalid IL or missing references)
//IL_057d: Expected O, but got Unknown
//IL_059e: Unknown result type (might be due to invalid IL or missing references)
//IL_05a8: Expected O, but got Unknown
//IL_05ca: Unknown result type (might be due to invalid IL or missing references)
//IL_05d4: Expected O, but got Unknown
//IL_05f0: Unknown result type (might be due to invalid IL or missing references)
//IL_05fa: Expected O, but got Unknown
//IL_061c: Unknown result type (might be due to invalid IL or missing references)
//IL_0626: Expected O, but got Unknown
//IL_0648: Unknown result type (might be due to invalid IL or missing references)
//IL_0652: Expected O, but got Unknown
//IL_0674: Unknown result type (might be due to invalid IL or missing references)
//IL_067e: Expected O, but got Unknown
//IL_069b: Unknown result type (might be due to invalid IL or missing references)
//IL_06a5: Expected O, but got Unknown
//IL_06c8: Unknown result type (might be due to invalid IL or missing references)
//IL_06d2: Expected O, but got Unknown
//IL_06ef: Unknown result type (might be due to invalid IL or missing references)
//IL_06f9: Expected O, but got Unknown
//IL_06f4: Unknown result type (might be due to invalid IL or missing references)
//IL_06fe: Expected O, but got Unknown
//IL_0721: Unknown result type (might be due to invalid IL or missing references)
//IL_072b: 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
//IL_0772: Unknown result type (might be due to invalid IL or missing references)
//IL_077c: Expected O, but got Unknown
//IL_0777: Unknown result type (might be due to invalid IL or missing references)
//IL_0781: Expected O, but got Unknown
//IL_07a4: Unknown result type (might be due to invalid IL or missing references)
//IL_07ae: Expected O, but got Unknown
//IL_07ce: Unknown result type (might be due to invalid IL or missing references)
//IL_07d8: 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_0822: Unknown result type (might be due to invalid IL or missing references)
//IL_082c: Expected O, but got Unknown
//IL_084f: Unknown result type (might be due to invalid IL or missing references)
//IL_0859: Expected O, but got Unknown
//IL_087c: Unknown result type (might be due to invalid IL or missing references)
//IL_0886: Expected O, but got Unknown
//IL_08a3: Unknown result type (might be due to invalid IL or missing references)
//IL_08ad: Expected O, but got Unknown
//IL_08a8: Unknown result type (might be due to invalid IL or missing references)
//IL_08b2: Expected O, but got Unknown
//IL_08d2: Unknown result type (might be due to invalid IL or missing references)
//IL_08dc: Expected O, but got Unknown
//IL_08ff: Unknown result type (might be due to invalid IL or missing references)
//IL_0909: Expected O, but got Unknown
//IL_0926: Unknown result type (might be due to invalid IL or missing references)
//IL_0930: Expected O, but got Unknown
//IL_0953: Unknown result type (might be due to invalid IL or missing references)
//IL_095d: Expected O, but got Unknown
//IL_097a: Unknown result type (might be due to invalid IL or missing references)
//IL_0984: Expected O, but got Unknown
//IL_09a7: Unknown result type (might be due to invalid IL or missing references)
//IL_09b1: Expected O, but got Unknown
//IL_09ce: Unknown result type (might be due to invalid IL or missing references)
//IL_09d8: Expected O, but got Unknown
//IL_09fb: Unknown result type (might be due to invalid IL or missing references)
//IL_0a05: Expected O, but got Unknown
//IL_0a22: Unknown result type (might be due to invalid IL or missing references)
//IL_0a2c: Expected O, but got Unknown
//IL_0a4f: Unknown result type (might be due to invalid IL or missing references)
//IL_0a59: Expected O, but got Unknown
//IL_0a7c: Unknown result type (might be due to invalid IL or missing references)
//IL_0a86: Expected O, but got Unknown
//IL_0aa6: Unknown result type (might be due to invalid IL or missing references)
//IL_0ab0: Expected O, but got Unknown
//IL_0ad2: Unknown result type (might be due to invalid IL or missing references)
//IL_0adc: Expected O, but got Unknown
//IL_0aff: Unknown result type (might be due to invalid IL or missing references)
//IL_0b09: Expected O, but got Unknown
//IL_0b26: Unknown result type (might be due to invalid IL or missing references)
//IL_0b30: Expected O, but got Unknown
//IL_0b53: Unknown result type (might be due to invalid IL or missing references)
//IL_0b5d: Expected O, but got Unknown
//IL_0b7a: Unknown result type (might be due to invalid IL or missing references)
//IL_0b84: Expected O, but got Unknown
//IL_0ba7: Unknown result type (might be due to invalid IL or missing references)
//IL_0bb1: Expected O, but got Unknown
//IL_0bd1: Unknown result type (might be due to invalid IL or missing references)
//IL_0bdb: Expected O, but got Unknown
//IL_0bfe: Unknown result type (might be due to invalid IL or missing references)
//IL_0c08: Expected O, but got Unknown
//IL_0c2a: Unknown result type (might be due to invalid IL or missing references)
//IL_0c34: Expected O, but got Unknown
//IL_0c57: Unknown result type (might be due to invalid IL or missing references)
//IL_0c61: Expected O, but got Unknown
//IL_0c7e: Unknown result type (might be due to invalid IL or missing references)
//IL_0c88: Expected O, but got Unknown
//IL_0cab: Unknown result type (might be due to invalid IL or missing references)
//IL_0cb5: Expected O, but got Unknown
//IL_0cd8: Unknown result type (might be due to invalid IL or missing references)
//IL_0ce2: Expected O, but got Unknown
//IL_0d05: Unknown result type (might be due to invalid IL or missing references)
//IL_0d0f: Expected O, but got Unknown
//IL_0d2c: Unknown result type (might be due to invalid IL or missing references)
//IL_0d36: Expected O, but got Unknown
//IL_0d59: Unknown result type (might be due to invalid IL or missing references)
//IL_0d63: Expected O, but got Unknown
//IL_0d80: Unknown result type (might be due to invalid IL or missing references)
//IL_0d8a: Expected O, but got Unknown
//IL_0d85: Unknown result type (might be due to invalid IL or missing references)
//IL_0d8f: Expected O, but got Unknown
//IL_0db2: Unknown result type (might be due to invalid IL or missing references)
//IL_0dbc: Expected O, but got Unknown
//IL_0dde: Unknown result type (might be due to invalid IL or missing references)
//IL_0de8: Expected O, but got Unknown
//IL_0e03: Unknown result type (might be due to invalid IL or missing references)
//IL_0e0d: Expected O, but got Unknown
//IL_0e08: Unknown result type (might be due to invalid IL or missing references)
//IL_0e12: Expected O, but got Unknown
//IL_0e35: Unknown result type (might be due to invalid IL or missing references)
//IL_0e3f: Expected O, but got Unknown
//IL_0e5f: Unknown result type (might be due to invalid IL or missing references)
//IL_0e69: Expected O, but got Unknown
//IL_0e8c: Unknown result type (might be due to invalid IL or missing references)
//IL_0e96: Expected O, but got Unknown
//IL_0eb3: Unknown result type (might be due to invalid IL or missing references)
//IL_0ebd: Expected O, but got Unknown
//IL_0ee0: Unknown result type (might be due to invalid IL or missing references)
//IL_0eea: Expected O, but got Unknown
//IL_0f0d: Unknown result type (might be due to invalid IL or missing references)
//IL_0f17: Expected O, but got Unknown
//IL_0f34: Unknown result type (might be due to invalid IL or missing references)
//IL_0f3e: Expected O, but got Unknown
//IL_0f39: Unknown result type (might be due to invalid IL or missing references)
//IL_0f43: Expected O, but got Unknown
//IL_0f63: Unknown result type (might be due to invalid IL or missing references)
//IL_0f6d: Expected O, but got Unknown
//IL_0f90: Unknown result type (might be due to invalid IL or missing references)
//IL_0f9a: Expected O, but got Unknown
//IL_0fb7: Unknown result type (might be due to invalid IL or missing references)
//IL_0fc1: Expected O, but got Unknown
//IL_0fe4: Unknown result type (might be due to invalid IL or missing references)
//IL_0fee: Expected O, but got Unknown
//IL_100b: Unknown result type (might be due to invalid IL or missing references)
//IL_1015: Expected O, but got Unknown
//IL_1038: Unknown result type (might be due to invalid IL or missing references)
//IL_1042: Expected O, but got Unknown
//IL_105f: Unknown result type (might be due to invalid IL or missing references)
//IL_1069: Expected O, but got Unknown
//IL_108c: Unknown result type (might be due to invalid IL or missing references)
//IL_1096: Expected O, but got Unknown
//IL_10b3: Unknown result type (might be due to invalid IL or missing references)
//IL_10bd: Expected O, but got Unknown
//IL_10e0: Unknown result type (might be due to invalid IL or missing references)
//IL_10ea: Expected O, but got Unknown
//IL_110d: Unknown result type (might be due to invalid IL or missing references)
//IL_1117: Expected O, but got Unknown
//IL_1137: Unknown result type (might be due to invalid IL or missing references)
//IL_1141: Expected O, but got Unknown
//IL_1163: Unknown result type (might be due to invalid IL or missing references)
//IL_116d: Expected O, but got Unknown
//IL_1190: Unknown result type (might be due to invalid IL or missing references)
//IL_119a: Expected O, but got Unknown
//IL_11b7: Unknown result type (might be due to invalid IL or missing references)
//IL_11c1: Expected O, but got Unknown
//IL_11e4: Unknown result type (might be due to invalid IL or missing references)
//IL_11ee: Expected O, but got Unknown
//IL_120b: Unknown result type (might be due to invalid IL or missing references)
//IL_1215: Expected O, but got Unknown
//IL_1238: Unknown result type (might be due to invalid IL or missing references)
//IL_1242: Expected O, but got Unknown
//IL_1262: Unknown result type (might be due to invalid IL or missing references)
//IL_126c: Expected O, but got Unknown
//IL_128f: Unknown result type (might be due to invalid IL or missing references)
//IL_1299: Expected O, but got Unknown
//IL_12bb: Unknown result type (might be due to invalid IL or missing references)
//IL_12c5: Expected O, but got Unknown
//IL_12e8: Unknown result type (might be due to invalid IL or missing references)
//IL_12f2: Expected O, but got Unknown
//IL_130f: Unknown result type (might be due to invalid IL or missing references)
//IL_1319: Expected O, but got Unknown
//IL_133c: Unknown result type (might be due to invalid IL or missing references)
//IL_1346: Expected O, but got Unknown
//IL_1369: Unknown result type (might be due to invalid IL or missing references)
//IL_1373: Expected O, but got Unknown
//IL_1396: Unknown result type (might be due to invalid IL or missing references)
//IL_13a0: 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_13ea: Unknown result type (might be due to invalid IL or missing references)
//IL_13f4: Expected O, but got Unknown
//IL_1411: Unknown result type (might be due to invalid IL or missing references)
//IL_141b: Expected O, but got Unknown
//IL_1416: Unknown result type (might be due to invalid IL or missing references)
//IL_1420: Expected O, but got Unknown
//IL_1443: Unknown result type (might be due to invalid IL or missing references)
//IL_144d: Expected O, but got Unknown
//IL_146f: Unknown result type (might be due to invalid IL or missing references)
//IL_1479: Expected O, but got Unknown
//IL_1494: Unknown result type (might be due to invalid IL or missing references)
//IL_149e: Expected O, but got Unknown
//IL_1499: Unknown result type (might be due to invalid IL or missing references)
//IL_14a3: Expected O, but got Unknown
//IL_14c6: Unknown result type (might be due to invalid IL or missing references)
//IL_14d0: Expected O, but got Unknown
//IL_14f0: Unknown result type (might be due to invalid IL or missing references)
//IL_14fa: Expected O, but got Unknown
//IL_151d: Unknown result type (might be due to invalid IL or missing references)
//IL_1527: Expected O, but got Unknown
//IL_1544: Unknown result type (might be due to invalid IL or missing references)
//IL_154e: Expected O, but got Unknown
//IL_1571: Unknown result type (might be due to invalid IL or missing references)
//IL_157b: Expected O, but got Unknown
//IL_159e: Unknown result type (might be due to invalid IL or missing references)
//IL_15a8: Expected O, but got Unknown
//IL_15c5: Unknown result type (might be due to invalid IL or missing references)
//IL_15cf: Expected O, but got Unknown
//IL_15ca: Unknown result type (might be due to invalid IL or missing references)
//IL_15d4: Expected O, but got Unknown
//IL_15f4: Unknown result type (might be due to invalid IL or missing references)
//IL_15fe: Expected O, but got Unknown
//IL_1621: Unknown result type (might be due to invalid IL or missing references)
//IL_162b: Expected O, but got Unknown
//IL_1648: Unknown result type (might be due to invalid IL or missing references)
//IL_1652: 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_169c: Unknown result type (might be due to invalid IL or missing references)
//IL_16a6: Expected O, but got Unknown
//IL_16c9: Unknown result type (might be due to invalid IL or missing references)
//IL_16d3: Expected O, but got Unknown
//IL_16f0: Unknown result type (might be due to invalid IL or missing references)
//IL_16fa: Expected O, but got Unknown
//IL_171d: Unknown result type (might be due to invalid IL or missing references)
//IL_1727: Expected O, but got Unknown
//IL_1744: Unknown result type (might be due to invalid IL or missing references)
//IL_174e: Expected O, but got Unknown
//IL_1771: Unknown result type (might be due to invalid IL or missing references)
//IL_177b: Expected O, but got Unknown
//IL_179e: Unknown result type (might be due to invalid IL or missing references)
//IL_17a8: Expected O, but got Unknown
//IL_17c8: Unknown result type (might be due to invalid IL or missing references)
//IL_17d2: Expected O, but got Unknown
//IL_17f4: Unknown result type (might be due to invalid IL or missing references)
//IL_17fe: Expected O, but got Unknown
//IL_1821: Unknown result type (might be due to invalid IL or missing references)
//IL_182b: Expected O, but got Unknown
//IL_1848: Unknown result type (might be due to invalid IL or missing references)
//IL_1852: Expected O, but got Unknown
//IL_1875: Unknown result type (might be due to invalid IL or missing references)
//IL_187f: Expected O, but got Unknown
//IL_189c: Unknown result type (might be due to invalid IL or missing references)
//IL_18a6: Expected O, but got Unknown
//IL_18c9: Unknown result type (might be due to invalid IL or missing references)
//IL_18d3: Expected O, but got Unknown
//IL_04c8: Unknown result type (might be due to invalid IL or missing references)
//IL_04d2: 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>[3]
{
delegate(Token t)
{
IdentifierToken val3 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val3 != null && val3.Name == "packet_send_cooldown";
},
(Token t) => (int)t.Type == 23,
delegate(Token t)
{
ConstantToken val = (ConstantToken)(object)((t is ConstantToken) ? t : null);
int result;
if (val != null)
{
Variant value = val.Value;
IntVariant val2 = (IntVariant)(object)((value is IntVariant) ? value : null);
if (val2 != null)
{
result = ((val2.Value == 32) ? 1 : 0);
goto IL_0027;
}
}
result = 0;
goto IL_0027;
IL_0027:
return (byte)result != 0;
}
}, false, false);
<>s__2 = tokens.GetEnumerator();
<>1__state = -3;
break;
case 1:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 2;
return true;
case 2:
<>1__state = -3;
<>2__current = new Token((TokenType)38, (uint?)null);
<>1__state = 3;
return true;
case 3:
<>1__state = -3;
<>2__current = new Token((TokenType)3, (uint?)null);
<>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("get_name");
<>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)84, (uint?)null);
<>1__state = 9;
return true;
case 9:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("find");
<>1__state = 10;
return true;
case 10:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 11;
return true;
case 11:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new StringVariant("campfire"));
<>1__state = 12;
return true;
case 12:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 13;
return true;
case 13:
<>1__state = -3;
<>2__current = new Token((TokenType)8, (uint?)null);
<>1__state = 14;
return true;
case 14:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(-1L, false));
<>1__state = 15;
return true;
case 15:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 16;
return true;
case 16:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)2u);
<>1__state = 17;
return true;
case 17:
<>1__state = -3;
<>2__current = new Token((TokenType)59, (uint?)null);
<>1__state = 18;
return true;
case 18:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("cookinteract");
<>1__state = 19;
return true;
case 19:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 20;
return true;
case 20:
<>1__state = -3;
<>2__current = new Token((TokenType)87, (uint?)null);
<>1__state = 21;
return true;
case 21:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new StringVariant("/root/officerballssushitime"));
<>1__state = 22;
return true;
case 22:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)2u);
<>1__state = 23;
return true;
case 23:
<>1__state = -3;
<>2__current = new Token((TokenType)59, (uint?)null);
<>1__state = 24;
return true;
case 24:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("ricecookie");
<>1__state = 25;
return true;
case 25:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 26;
return true;
case 26:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("cookinteract");
<>1__state = 27;
return true;
case 27:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 28;
return true;
case 28:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("riceinteract");
<>1__state = 29;
return true;
case 29:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 30;
return true;
case 30:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("instance");
<>1__state = 31;
return true;
case 31:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 32;
return true;
case 32:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 33;
return true;
case 33:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)2u);
<>1__state = 34;
return true;
case 34:
<>1__state = -3;
<>2__current = new Token((TokenType)3, (uint?)null);
<>1__state = 35;
return true;
case 35:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 36;
return true;
case 36:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("add_child");
<>1__state = 37;
return true;
case 37:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 38;
return true;
case 38:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("ricecookie");
<>1__state = 39;
return true;
case 39:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 40;
return true;
case 40:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 41;
return true;
case 41:
<>1__state = -3;
<>2__current = new Token((TokenType)38, (uint?)null);
<>1__state = 42;
return true;
case 42:
<>1__state = -3;
<>2__current = new Token((TokenType)3, (uint?)null);
<>1__state = 43;
return true;
case 43:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 44;
return true;
case 44:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("get_name");
<>1__state = 45;
return true;
case 45:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 46;
return true;
case 46:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>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("find");
<>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 = (Token)new ConstantToken((Variant)new StringVariant("table"));
<>1__state = 51;
return true;
case 51:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 52;
return true;
case 52:
<>1__state = -3;
<>2__current = new Token((TokenType)8, (uint?)null);
<>1__state = 53;
return true;
case 53:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(-1L, false));
<>1__state = 54;
return true;
case 54:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 55;
return true;
case 55:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)2u);
<>1__state = 56;
return true;
case 56:
<>1__state = -3;
<>2__current = new Token((TokenType)59, (uint?)null);
<>1__state = 57;
return true;
case 57:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("rollinteract");
<>1__state = 58;
return true;
case 58:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 59;
return true;
case 59:
<>1__state = -3;
<>2__current = new Token((TokenType)87, (uint?)null);
<>1__state = 60;
return true;
case 60:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new StringVariant("/root/officerballssushitime"));
<>1__state = 61;
return true;
case 61:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)2u);
<>1__state = 62;
return true;
case 62:
<>1__state = -3;
<>2__current = new Token((TokenType)59, (uint?)null);
<>1__state = 63;
return true;
case 63:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("rollstation");
<>1__state = 64;
return true;
case 64:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 65;
return true;
case 65:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("rollinteract");
<>1__state = 66;
return true;
case 66:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 67;
return true;
case 67:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("prepinteract");
<>1__state = 68;
return true;
case 68:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 69;
return true;
case 69:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("instance");
<>1__state = 70;
return true;
case 70:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 71;
return true;
case 71:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 72;
return true;
case 72:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)2u);
<>1__state = 73;
return true;
case 73:
<>1__state = -3;
<>2__current = new Token((TokenType)3, (uint?)null);
<>1__state = 74;
return true;
case 74:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 75;
return true;
case 75:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("add_child");
<>1__state = 76;
return true;
case 76:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 77;
return true;
case 77:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("rollstation");
<>1__state = 78;
return true;
case 78:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 79;
return true;
case 79:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 80;
return true;
case 80:
<>1__state = -3;
<>2__current = new Token((TokenType)38, (uint?)null);
<>1__state = 81;
return true;
case 81:
<>1__state = -3;
<>2__current = new Token((TokenType)3, (uint?)null);
<>1__state = 82;
return true;
case 82:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 83;
return true;
case 83:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("get_name");
<>1__state = 84;
return true;
case 84:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 85;
return true;
case 85:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 86;
return true;
case 86:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 87;
return true;
case 87:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("find");
<>1__state = 88;
return true;
case 88:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 89;
return true;
case 89:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new StringVariant("picnic"));
<>1__state = 90;
return true;
case 90:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 91;
return true;
case 91:
<>1__state = -3;
<>2__current = new Token((TokenType)8, (uint?)null);
<>1__state = 92;
return true;
case 92:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new IntVariant(-1L, false));
<>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)89, (uint?)2u);
<>1__state = 95;
return true;
case 95:
<>1__state = -3;
<>2__current = new Token((TokenType)59, (uint?)null);
<>1__state = 96;
return true;
case 96:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("eatinteract");
<>1__state = 97;
return true;
case 97:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 98;
return true;
case 98:
<>1__state = -3;
<>2__current = new Token((TokenType)87, (uint?)null);
<>1__state = 99;
return true;
case 99:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new StringVariant("/root/officerballssushitime"));
<>1__state = 100;
return true;
case 100:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)2u);
<>1__state = 101;
return true;
case 101:
<>1__state = -3;
<>2__current = new Token((TokenType)59, (uint?)null);
<>1__state = 102;
return true;
case 102:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("yumstation");
<>1__state = 103;
return true;
case 103:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 104;
return true;
case 104:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("eatinteract");
<>1__state = 105;
return true;
case 105:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 106;
return true;
case 106:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("yuminteract");
<>1__state = 107;
return true;
case 107:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 108;
return true;
case 108:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("instance");
<>1__state = 109;
return true;
case 109:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 110;
return true;
case 110:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 111;
return true;
case 111:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)2u);
<>1__state = 112;
return true;
case 112:
<>1__state = -3;
<>2__current = new Token((TokenType)3, (uint?)null);
<>1__state = 113;
return true;
case 113:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 114;
return true;
case 114:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("add_child");
<>1__state = 115;
return true;
case 115:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 116;
return true;
case 116:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("yumstation");
<>1__state = 117;
return true;
case 117:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 118;
return true;
case 118:
<>1__state = -3;
goto IL_190c;
case 119:
{
<>1__state = -3;
goto IL_190c;
}
IL_190c:
<token>5__3 = null;
break;
}
if (((global::System.Collections.IEnumerator)<>s__2).MoveNext())
{
<token>5__3 = <>s__2.Current;
if (<waiter>5__1.Check(<token>5__3))
{
<>2__current = <token>5__3;
<>1__state = 1;
return true;
}
<>2__current = <token>5__3;
<>1__state = 119;
return true;
}
<>m__Finally1();
<>s__2 = 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__2 != null)
{
((global::System.IDisposable)<>s__2).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/Props/prop.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>[3]
{
delegate(Token t)
{
IdentifierToken val3 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val3 != null && val3.Name == "packet_send_cooldown";
},
(Token t) => (int)t.Type == 23,
delegate(Token t)
{
ConstantToken val = (ConstantToken)(object)((t is ConstantToken) ? t : null);
int result;
if (val != null)
{
Variant value = val.Value;
IntVariant val2 = (IntVariant)(object)((value is IntVariant) ? value : null);
if (val2 != null)
{
result = ((val2.Value == 32) ? 1 : 0);
goto IL_0027;
}
}
result = 0;
goto IL_0027;
IL_0027:
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 (waiter.Check(token))
{
yield return token;
yield return new Token((TokenType)89, (uint?)1u);
yield return new Token((TokenType)38, (uint?)null);
yield return new Token((TokenType)3, (uint?)null);
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("get_name");
yield return new Token((TokenType)80, (uint?)null);
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("find");
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new ConstantToken((Variant)new StringVariant("campfire"));
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)8, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(-1L, false));
yield return new Token((TokenType)86, (uint?)null);
yield return new Token((TokenType)89, (uint?)2u);
yield return new Token((TokenType)59, (uint?)null);
yield return (Token)new IdentifierToken("cookinteract");
yield return new Token((TokenType)23, (uint?)null);
yield return new Token((TokenType)87, (uint?)null);
yield return (Token)new ConstantToken((Variant)new StringVariant("/root/officerballssushitime"));
yield return new Token((TokenType)89, (uint?)2u);
yield return new Token((TokenType)59, (uint?)null);
yield return (Token)new IdentifierToken("ricecookie");
yield return new Token((TokenType)23, (uint?)null);
yield return (Token)new IdentifierToken("cookinteract");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("riceinteract");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("instance");
yield return new Token((TokenType)80, (uint?)null);
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)89, (uint?)2u);
yield return new Token((TokenType)3, (uint?)null);
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("add_child");
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new IdentifierToken("ricecookie");
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)89, (uint?)1u);
yield return new Token((TokenType)38, (uint?)null);
yield return new Token((TokenType)3, (uint?)null);
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("get_name");
yield return new Token((TokenType)80, (uint?)null);
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("find");
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new ConstantToken((Variant)new StringVariant("table"));
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)8, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(-1L, false));
yield return new Token((TokenType)86, (uint?)null);
yield return new Token((TokenType)89, (uint?)2u);
yield return new Token((TokenType)59, (uint?)null);
yield return (Token)new IdentifierToken("rollinteract");
yield return new Token((TokenType)23, (uint?)null);
yield return new Token((TokenType)87, (uint?)null);
yield return (Token)new ConstantToken((Variant)new StringVariant("/root/officerballssushitime"));
yield return new Token((TokenType)89, (uint?)2u);
yield return new Token((TokenType)59, (uint?)null);
yield return (Token)new IdentifierToken("rollstation");
yield return new Token((TokenType)23, (uint?)null);
yield return (Token)new IdentifierToken("rollinteract");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("prepinteract");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("instance");
yield return new Token((TokenType)80, (uint?)null);
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)89, (uint?)2u);
yield return new Token((TokenType)3, (uint?)null);
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("add_child");
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new IdentifierToken("rollstation");
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)89, (uint?)1u);
yield return new Token((TokenType)38, (uint?)null);
yield return new Token((TokenType)3, (uint?)null);
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("get_name");
yield return new Token((TokenType)80, (uint?)null);
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("find");
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new ConstantToken((Variant)new StringVariant("picnic"));
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)8, (uint?)null);
yield return (Token)new ConstantToken((Variant)new IntVariant(-1L, false));
yield return new Token((TokenType)86, (uint?)null);
yield return new Token((TokenType)89, (uint?)2u);
yield return new Token((TokenType)59, (uint?)null);
yield return (Token)new IdentifierToken("eatinteract");
yield return new Token((TokenType)23, (uint?)null);
yield return new Token((TokenType)87, (uint?)null);
yield return (Token)new ConstantToken((Variant)new StringVariant("/root/officerballssushitime"));
yield return new Token((TokenType)89, (uint?)2u);
yield return new Token((TokenType)59, (uint?)null);
yield return (Token)new IdentifierToken("yumstation");
yield return new Token((TokenType)23, (uint?)null);
yield return (Token)new IdentifierToken("eatinteract");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("yuminteract");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("instance");
yield return new Token((TokenType)80, (uint?)null);
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)89, (uint?)2u);
yield return new Token((TokenType)3, (uint?)null);
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("add_child");
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new IdentifierToken("yumstation");
yield return new Token((TokenType)81, (uint?)null);
}
else
{
yield return token;
}
}
}
finally
{
((global::System.IDisposable)enumerator)?.Dispose();
}
}
}
public class ShopMod : 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 ShopMod <>4__this;
private MultiTokenWaiter <waiter>5__1;
private MultiTokenWaiter <visiblizer>5__2;
private global::System.Collections.Generic.IEnumerator<Token> <>s__3;
private Token <token>5__4;
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) > 100u)
{
return;
}
try
{
}
finally
{
<>m__Finally1();
}
}
private bool MoveNext()
{
//IL_0584: Unknown result type (might be due to invalid IL or missing references)
//IL_058e: Expected O, but got Unknown
//IL_05b0: Unknown result type (might be due to invalid IL or missing references)
//IL_05ba: Expected O, but got Unknown
//IL_05d6: Unknown result type (might be due to invalid IL or missing references)
//IL_05e0: Expected O, but got Unknown
//IL_0602: Unknown result type (might be due to invalid IL or missing references)
//IL_060c: Expected O, but got Unknown
//IL_062e: Unknown result type (might be due to invalid IL or missing references)
//IL_0638: Expected O, but got Unknown
//IL_0654: Unknown result type (might be due to invalid IL or missing references)
//IL_065e: Expected O, but got Unknown
//IL_0659: Unknown result type (might be due to invalid IL or missing references)
//IL_0663: Expected O, but got Unknown
//IL_0682: Unknown result type (might be due to invalid IL or missing references)
//IL_068c: Expected O, but got Unknown
//IL_06ae: Unknown result type (might be due to invalid IL or missing references)
//IL_06b8: Expected O, but got Unknown
//IL_06d5: Unknown result type (might be due to invalid IL or missing references)
//IL_06df: Expected O, but got Unknown
//IL_0702: Unknown result type (might be due to invalid IL or missing references)
//IL_070c: Expected O, but got Unknown
//IL_0729: Unknown result type (might be due to invalid IL or missing references)
//IL_0733: Expected O, but got Unknown
//IL_0756: Unknown result type (might be due to invalid IL or missing references)
//IL_0760: Expected O, but got Unknown
//IL_077d: Unknown result type (might be due to invalid IL or missing references)
//IL_0787: Expected O, but got Unknown
//IL_07aa: Unknown result type (might be due to invalid IL or missing references)
//IL_07b4: Expected O, but got Unknown
//IL_07d1: Unknown result type (might be due to invalid IL or missing references)
//IL_07db: Expected O, but got Unknown
//IL_07fe: Unknown result type (might be due to invalid IL or missing references)
//IL_0808: Expected O, but got Unknown
//IL_082b: Unknown result type (might be due to invalid IL or missing references)
//IL_0835: Expected O, but got Unknown
//IL_0855: Unknown result type (might be due to invalid IL or missing references)
//IL_085f: Expected O, but got Unknown
//IL_0881: Unknown result type (might be due to invalid IL or missing references)
//IL_088b: Expected O, but got Unknown
//IL_08ae: Unknown result type (might be due to invalid IL or missing references)
//IL_08b8: 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_0902: Unknown result type (might be due to invalid IL or missing references)
//IL_090c: Expected O, but got Unknown
//IL_0929: Unknown result type (might be due to invalid IL or missing references)
//IL_0933: Expected O, but got Unknown
//IL_0956: Unknown result type (might be due to invalid IL or missing references)
//IL_0960: Expected O, but got Unknown
//IL_0980: Unknown result type (might be due to invalid IL or missing references)
//IL_098a: Expected O, but got Unknown
//IL_09ad: Unknown result type (might be due to invalid IL or missing references)
//IL_09b7: Expected O, but got Unknown
//IL_09d4: Unknown result type (might be due to invalid IL or missing references)
//IL_09de: Expected O, but got Unknown
//IL_0a01: Unknown result type (might be due to invalid IL or missing references)
//IL_0a0b: Expected O, but got Unknown
//IL_0a2e: Unknown result type (might be due to invalid IL or missing references)
//IL_0a38: Expected O, but got Unknown
//IL_0a55: Unknown result type (might be due to invalid IL or missing references)
//IL_0a5f: Expected O, but got Unknown
//IL_0a5a: Unknown result type (might be due to invalid IL or missing references)
//IL_0a64: Expected O, but got Unknown
//IL_0a84: Unknown result type (might be due to invalid IL or missing references)
//IL_0a8e: Expected O, but got Unknown
//IL_0ab1: Unknown result type (might be due to invalid IL or missing references)
//IL_0abb: Expected O, but got Unknown
//IL_0ad8: Unknown result type (might be due to invalid IL or missing references)
//IL_0ae2: Expected O, but got Unknown
//IL_0b05: Unknown result type (might be due to invalid IL or missing references)
//IL_0b0f: Expected O, but got Unknown
//IL_0b2c: Unknown result type (might be due to invalid IL or missing references)
//IL_0b36: Expected O, but got Unknown
//IL_0b59: Unknown result type (might be due to invalid IL or missing references)
//IL_0b63: Expected O, but got Unknown
//IL_0b80: Unknown result type (might be due to invalid IL or missing references)
//IL_0b8a: Expected O, but got Unknown
//IL_0bad: Unknown result type (might be due to invalid IL or missing references)
//IL_0bb7: Expected O, but got Unknown
//IL_0bd4: Unknown result type (might be due to invalid IL or missing references)
//IL_0bde: Expected O, but got Unknown
//IL_0c01: Unknown result type (might be due to invalid IL or missing references)
//IL_0c0b: Expected O, but got Unknown
//IL_0c2e: Unknown result type (might be due to invalid IL or missing references)
//IL_0c38: Expected O, but got Unknown
//IL_0c58: Unknown result type (might be due to invalid IL or missing references)
//IL_0c62: Expected O, but got Unknown
//IL_0c84: Unknown result type (might be due to invalid IL or missing references)
//IL_0c8e: Expected O, but got Unknown
//IL_0cb1: Unknown result type (might be due to invalid IL or missing references)
//IL_0cbb: Expected O, but got Unknown
//IL_0cd8: Unknown result type (might be due to invalid IL or missing references)
//IL_0ce2: Expected O, but got Unknown
//IL_0d05: Unknown result type (might be due to invalid IL or missing references)
//IL_0d0f: Expected O, but got Unknown
//IL_0d2c: Unknown result type (might be due to invalid IL or missing references)
//IL_0d36: Expected O, but got Unknown
//IL_0d59: Unknown result type (might be due to invalid IL or missing references)
//IL_0d63: Expected O, but got Unknown
//IL_0dc7: Unknown result type (might be due to invalid IL or missing references)
//IL_0dd1: Expected O, but got Unknown
//IL_0df4: Unknown result type (might be due to invalid IL or missing references)
//IL_0dfe: Expected O, but got Unknown
//IL_0e1b: Unknown result type (might be due to invalid IL or missing references)
//IL_0e25: Expected O, but got Unknown
//IL_0e47: Unknown result type (might be due to invalid IL or missing references)
//IL_0e51: Expected O, but got Unknown
//IL_0e6e: Unknown result type (might be due to invalid IL or missing references)
//IL_0e78: Expected O, but got Unknown
//IL_0e73: Unknown result type (might be due to invalid IL or missing references)
//IL_0e7d: Expected O, but got Unknown
//IL_0ea0: Unknown result type (might be due to invalid IL or missing references)
//IL_0eaa: Expected O, but got Unknown
//IL_0ecd: Unknown result type (might be due to invalid IL or missing references)
//IL_0ed7: Expected O, but got Unknown
//IL_0ef4: Unknown result type (might be due to invalid IL or missing references)
//IL_0efe: Expected O, but got Unknown
//IL_0ef9: Unknown result type (might be due to invalid IL or missing references)
//IL_0f03: Expected O, but got Unknown
//IL_0f26: Unknown result type (might be due to invalid IL or missing references)
//IL_0f30: Expected O, but got Unknown
//IL_0f4d: Unknown result type (might be due to invalid IL or missing references)
//IL_0f57: Expected O, but got Unknown
//IL_0f7a: Unknown result type (might be due to invalid IL or missing references)
//IL_0f84: Expected O, but got Unknown
//IL_0fa1: Unknown result type (might be due to invalid IL or missing references)
//IL_0fab: Expected O, but got Unknown
//IL_0fce: Unknown result type (might be due to invalid IL or missing references)
//IL_0fd8: Expected O, but got Unknown
//IL_0ff1: Unknown result type (might be due to invalid IL or missing references)
//IL_0ffb: Expected O, but got Unknown
//IL_0ff6: Unknown result type (might be due to invalid IL or missing references)
//IL_1000: Expected O, but got Unknown
//IL_1020: Unknown result type (might be due to invalid IL or missing references)
//IL_102a: Expected O, but got Unknown
//IL_104d: Unknown result type (might be due to invalid IL or missing references)
//IL_1057: Expected O, but got Unknown
//IL_107a: Unknown result type (might be due to invalid IL or missing references)
//IL_1084: Expected O, but got Unknown
//IL_10a7: Unknown result type (might be due to invalid IL or missing references)
//IL_10b1: Expected O, but got Unknown
//IL_10ce: Unknown result type (might be due to invalid IL or missing references)
//IL_10d8: Expected O, but got Unknown
//IL_10d3: Unknown result type (might be due to invalid IL or missing references)
//IL_10dd: Expected O, but got Unknown
//IL_1100: Unknown result type (might be due to invalid IL or missing references)
//IL_110a: Expected O, but got Unknown
//IL_1127: Unknown result type (might be due to invalid IL or missing references)
//IL_1131: Expected O, but got Unknown
//IL_1154: Unknown result type (might be due to invalid IL or missing references)
//IL_115e: Expected O, but got Unknown
//IL_117b: Unknown result type (might be due to invalid IL or missing references)
//IL_1185: Expected O, but got Unknown
//IL_11a8: Unknown result type (might be due to invalid IL or missing references)
//IL_11b2: Expected O, but got Unknown
//IL_11cb: Unknown result type (might be due to invalid IL or missing references)
//IL_11d5: Expected O, but got Unknown
//IL_11d0: Unknown result type (might be due to invalid IL or missing references)
//IL_11da: Expected O, but got Unknown
//IL_11fa: Unknown result type (might be due to invalid IL or missing references)
//IL_1204: Expected O, but got Unknown
//IL_1227: Unknown result type (might be due to invalid IL or missing references)
//IL_1231: Expected O, but got Unknown
//IL_124e: Unknown result type (might be due to invalid IL or missing references)
//IL_1258: Expected O, but got Unknown
//IL_127a: Unknown result type (might be due to invalid IL or missing references)
//IL_1284: 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_12a6: Unknown result type (might be due to invalid IL or missing references)
//IL_12b0: Expected O, but got Unknown
//IL_12d3: Unknown result type (might be due to invalid IL or missing references)
//IL_12dd: Expected O, but got Unknown
//IL_1300: Unknown result type (might be due to invalid IL or missing references)
//IL_130a: Expected O, but got Unknown
//IL_1327: Unknown result type (might be due to invalid IL or missing references)
//IL_1331: Expected O, but got Unknown
//IL_132c: Unknown result type (might be due to invalid IL or missing references)
//IL_1336: Expected O, but got Unknown
//IL_1359: Unknown result type (might be due to invalid IL or missing references)
//IL_1363: Expected O, but got Unknown
//IL_1380: Unknown result type (might be due to invalid IL or missing references)
//IL_138a: Expected O, but got Unknown
//IL_13ad: Unknown result type (might be due to invalid IL or missing references)
//IL_13b7: 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_1424: Unknown result type (might be due to invalid IL or missing references)
//IL_142e: Expected O, but got Unknown
//IL_1429: Unknown result type (might be due to invalid IL or missing references)
//IL_1433: Expected O, but got Unknown
//IL_1453: Unknown result type (might be due to invalid IL or missing references)
//IL_145d: Expected O, but got Unknown
//IL_1480: Unknown result type (might be due to invalid IL or missing references)
//IL_148a: Expected O, but got Unknown
//IL_14ad: Unknown result type (might be due to invalid IL or missing references)
//IL_14b7: Expected O, but got Unknown
//IL_14da: Unknown result type (might be due to invalid IL or missing references)
//IL_14e4: Expected O, but got Unknown
//IL_1501: Unknown result type (might be due to invalid IL or missing references)
//IL_150b: Expected O, but got Unknown
//IL_1506: Unknown result type (might be due to invalid IL or missing references)
//IL_1510: Expected O, but got Unknown
//IL_1533: Unknown result type (might be due to invalid IL or missing references)
//IL_153d: Expected O, but got Unknown
//IL_155a: Unknown result type (might be due to invalid IL or missing references)
//IL_1564: Expected O, but got Unknown
//IL_1587: Unknown result type (might be due to invalid IL or missing references)
//IL_1591: Expected O, but got Unknown
//IL_15ae: Unknown result type (might be due to invalid IL or missing references)
//IL_15b8: Expected O, but got Unknown
//IL_15db: Unknown result type (might be due to invalid IL or missing references)
//IL_15e5: Expected O, but got Unknown
//IL_15fe: Unknown result type (might be due to invalid IL or missing references)
//IL_1608: Expected O, but got Unknown
//IL_1603: Unknown result type (might be due to invalid IL or missing references)
//IL_160d: Expected O, but got Unknown
//IL_0448: Unknown result type (might be due to invalid IL or missing references)
//IL_0452: Expected O, but got Unknown
//IL_0505: Unknown result type (might be due to invalid IL or missing references)
//IL_050f: 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>[4]
{
delegate(Token t)
{
IdentifierToken val3 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val3 != null && val3.Name == "_ready";
},
(Token t) => (int)t.Type == 80,
(Token t) => (int)t.Type == 81,
(Token t) => (int)t.Type == 86
}, false, false);
<visiblizer>5__2 = new MultiTokenWaiter(new Func<Token, bool>[5]
{
delegate(Token t)
{
IdentifierToken val2 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val2 != null && val2.Name == "_open";
},
(Token t) => (int)t.Type == 80,
delegate(Token t)
{
IdentifierToken val = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val != null && val.Name == "id";
},
(Token t) => (int)t.Type == 81,
(Token t) => (int)t.Type == 86
}, false, false);
<>s__3 = tokens.GetEnumerator();
<>1__state = -3;
break;
case 1:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>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("ingredientmenu");
<>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 = new Token((TokenType)87, (uint?)null);
<>1__state = 6;
return true;
case 6:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new StringVariant("/root/officerballssushitime"));
<>1__state = 7;
return true;
case 7:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 8;
return true;
case 8:
<>1__state = -3;
<>2__current = new Token((TokenType)59, (uint?)null);
<>1__state = 9;
return true;
case 9:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("ingredientshop");
<>1__state = 10;
return true;
case 10:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 11;
return true;
case 11:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("ingredientmenu");
<>1__state = 12;
return true;
case 12:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 13;
return true;
case 13:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("ingredientstore");
<>1__state = 14;
return true;
case 14:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 15;
return true;
case 15:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("instance");
<>1__state = 16;
return true;
case 16:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 17;
return true;
case 17:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 18;
return true;
case 18:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 19;
return true;
case 19:
<>1__state = -3;
<>2__current = new Token((TokenType)3, (uint?)null);
<>1__state = 20;
return true;
case 20:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 21;
return true;
case 21:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("add_child");
<>1__state = 22;
return true;
case 22:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 23;
return true;
case 23:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("ingredientshop");
<>1__state = 24;
return true;
case 24:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 25;
return true;
case 25:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 26;
return true;
case 26:
<>1__state = -3;
<>2__current = new Token((TokenType)59, (uint?)null);
<>1__state = 27;
return true;
case 27:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("marketmenu");
<>1__state = 28;
return true;
case 28:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 29;
return true;
case 29:
<>1__state = -3;
<>2__current = new Token((TokenType)87, (uint?)null);
<>1__state = 30;
return true;
case 30:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new StringVariant("/root/officerballssushitime"));
<>1__state = 31;
return true;
case 31:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 32;
return true;
case 32:
<>1__state = -3;
<>2__current = new Token((TokenType)59, (uint?)null);
<>1__state = 33;
return true;
case 33:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("sushimarket");
<>1__state = 34;
return true;
case 34:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 35;
return true;
case 35:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("marketmenu");
<>1__state = 36;
return true;
case 36:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 37;
return true;
case 37:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("sushimarket");
<>1__state = 38;
return true;
case 38:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 39;
return true;
case 39:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("instance");
<>1__state = 40;
return true;
case 40:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>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?)1u);
<>1__state = 43;
return true;
case 43:
<>1__state = -3;
<>2__current = new Token((TokenType)3, (uint?)null);
<>1__state = 44;
return true;
case 44:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 45;
return true;
case 45:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("add_child");
<>1__state = 46;
return true;
case 46:
<>1__state = -3;
<>2__current = new Token((TokenType)80, (uint?)null);
<>1__state = 47;
return true;
case 47:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("sushimarket");
<>1__state = 48;
return true;
case 48:
<>1__state = -3;
<>2__current = new Token((TokenType)81, (uint?)null);
<>1__state = 49;
return true;
case 49:
<>1__state = -3;
goto IL_1646;
case 50:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 51;
return true;
case 51:
<>1__state = -3;
<>2__current = new Token((TokenType)38, (uint?)null);
<>1__state = 52;
return true;
case 52:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("id");
<>1__state = 53;
return true;
case 53:
<>1__state = -3;
<>2__current = new Token((TokenType)7, (uint?)null);
<>1__state = 54;
return true;
case 54:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new StringVariant("boat"));
<>1__state = 55;
return true;
case 55:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 56;
return true;
case 56:
<>1__state = -3;
<>2__current = new Token((TokenType)87, (uint?)null);
<>1__state = 57;
return true;
case 57:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new StringVariant("/root/officerballssushitime"));
<>1__state = 58;
return true;
case 58:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 59;
return true;
case 59:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("ingredients");
<>1__state = 60;
return true;
case 60:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 61;
return true;
case 61:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("visible");
<>1__state = 62;
return true;
case 62:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 63;
return true;
case 63:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(true));
<>1__state = 64;
return true;
case 64:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 65;
return true;
case 65:
<>1__state = -3;
<>2__current = new Token((TokenType)40, (uint?)null);
<>1__state = 66;
return true;
case 66:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 67;
return true;
case 67:
<>1__state = -3;
<>2__current = new Token((TokenType)87, (uint?)null);
<>1__state = 68;
return true;
case 68:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new StringVariant("/root/officerballssushitime"));
<>1__state = 69;
return true;
case 69:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 70;
return true;
case 70:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("ingredients");
<>1__state = 71;
return true;
case 71:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 72;
return true;
case 72:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("visible");
<>1__state = 73;
return true;
case 73:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 74;
return true;
case 74:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(false));
<>1__state = 75;
return true;
case 75:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 76;
return true;
case 76:
<>1__state = -3;
<>2__current = new Token((TokenType)38, (uint?)null);
<>1__state = 77;
return true;
case 77:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("id");
<>1__state = 78;
return true;
case 78:
<>1__state = -3;
<>2__current = new Token((TokenType)7, (uint?)null);
<>1__state = 79;
return true;
case 79:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new StringVariant("vending"));
<>1__state = 80;
return true;
case 80:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 81;
return true;
case 81:
<>1__state = -3;
<>2__current = new Token((TokenType)87, (uint?)null);
<>1__state = 82;
return true;
case 82:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new StringVariant("/root/officerballssushitime"));
<>1__state = 83;
return true;
case 83:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 84;
return true;
case 84:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("marketboard");
<>1__state = 85;
return true;
case 85:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 86;
return true;
case 86:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("visible");
<>1__state = 87;
return true;
case 87:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 88;
return true;
case 88:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(true));
<>1__state = 89;
return true;
case 89:
<>1__state = -3;
<>2__current = new Token((TokenType)89, (uint?)1u);
<>1__state = 90;
return true;
case 90:
<>1__state = -3;
<>2__current = new Token((TokenType)40, (uint?)null);
<>1__state = 91;
return true;
case 91:
<>1__state = -3;
<>2__current = new Token((TokenType)86, (uint?)null);
<>1__state = 92;
return true;
case 92:
<>1__state = -3;
<>2__current = new Token((TokenType)87, (uint?)null);
<>1__state = 93;
return true;
case 93:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new StringVariant("/root/officerballssushitime"));
<>1__state = 94;
return true;
case 94:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 95;
return true;
case 95:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("marketboard");
<>1__state = 96;
return true;
case 96:
<>1__state = -3;
<>2__current = new Token((TokenType)84, (uint?)null);
<>1__state = 97;
return true;
case 97:
<>1__state = -3;
<>2__current = (Token)new IdentifierToken("visible");
<>1__state = 98;
return true;
case 98:
<>1__state = -3;
<>2__current = new Token((TokenType)23, (uint?)null);
<>1__state = 99;
return true;
case 99:
<>1__state = -3;
<>2__current = (Token)new ConstantToken((Variant)new BoolVariant(false));
<>1__state = 100;
return true;
case 100:
<>1__state = -3;
goto IL_1646;
case 101:
{
<>1__state = -3;
goto IL_1646;
}
IL_1646:
<token>5__4 = null;
break;
}
if (((global::System.Collections.IEnumerator)<>s__3).MoveNext())
{
<token>5__4 = <>s__3.Current;
if (<waiter>5__1.Check(<token>5__4))
{
<>2__current = <token>5__4;
<>1__state = 1;
return true;
}
if (<visiblizer>5__2.Check(<token>5__4))
{
<>2__current = <token>5__4;
<>1__state = 50;
return true;
}
<>2__current = <token>5__4;
<>1__state = 101;
return true;
}
<>m__Finally1();
<>s__3 = 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__3 != null)
{
((global::System.IDisposable)<>s__3).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/HUD/Shop/shop.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>[4]
{
delegate(Token t)
{
IdentifierToken val3 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val3 != null && val3.Name == "_ready";
},
(Token t) => (int)t.Type == 80,
(Token t) => (int)t.Type == 81,
(Token t) => (int)t.Type == 86
}, false, false);
MultiTokenWaiter visiblizer = new MultiTokenWaiter(new Func<Token, bool>[5]
{
delegate(Token t)
{
IdentifierToken val2 = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val2 != null && val2.Name == "_open";
},
(Token t) => (int)t.Type == 80,
delegate(Token t)
{
IdentifierToken val = (IdentifierToken)(object)((t is IdentifierToken) ? t : null);
return val != null && val.Name == "id";
},
(Token t) => (int)t.Type == 81,
(Token t) => (int)t.Type == 86
}, false, false);
global::System.Collections.Generic.IEnumerator<Token> enumerator = tokens.GetEnumerator();
try
{
while (((global::System.Collections.IEnumerator)enumerator).MoveNext())
{
Token token = enumerator.Current;
if (waiter.Check(token))
{
yield return token;
yield return new Token((TokenType)89, (uint?)1u);
yield return new Token((TokenType)59, (uint?)null);
yield return (Token)new IdentifierToken("ingredientmenu");
yield return new Token((TokenType)23, (uint?)null);
yield return new Token((TokenType)87, (uint?)null);
yield return (Token)new ConstantToken((Variant)new StringVariant("/root/officerballssushitime"));
yield return new Token((TokenType)89, (uint?)1u);
yield return new Token((TokenType)59, (uint?)null);
yield return (Token)new IdentifierToken("ingredientshop");
yield return new Token((TokenType)23, (uint?)null);
yield return (Token)new IdentifierToken("ingredientmenu");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("ingredientstore");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("instance");
yield return new Token((TokenType)80, (uint?)null);
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)89, (uint?)1u);
yield return new Token((TokenType)3, (uint?)null);
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("add_child");
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new IdentifierToken("ingredientshop");
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)89, (uint?)1u);
yield return new Token((TokenType)59, (uint?)null);
yield return (Token)new IdentifierToken("marketmenu");
yield return new Token((TokenType)23, (uint?)null);
yield return new Token((TokenType)87, (uint?)null);
yield return (Token)new ConstantToken((Variant)new StringVariant("/root/officerballssushitime"));
yield return new Token((TokenType)89, (uint?)1u);
yield return new Token((TokenType)59, (uint?)null);
yield return (Token)new IdentifierToken("sushimarket");
yield return new Token((TokenType)23, (uint?)null);
yield return (Token)new IdentifierToken("marketmenu");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("sushimarket");
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("instance");
yield return new Token((TokenType)80, (uint?)null);
yield return new Token((TokenType)81, (uint?)null);
yield return new Token((TokenType)89, (uint?)1u);
yield return new Token((TokenType)3, (uint?)null);
yield return new Token((TokenType)84, (uint?)null);
yield return (Token)new IdentifierToken("add_child");
yield return new Token((TokenType)80, (uint?)null);
yield return (Token)new IdentifierToken("sushimarket");
yield return new Token((TokenType)81, (uint?)null);
}
else if (visiblizer.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("id");
yield return new Token((TokenType)7, (uint?)null);
yield return (Token)new ConstantToken((Variant)new StringVariant("boat"));
yield return new Token((TokenType)86, (uint?)null);
yield return new Token((TokenType)87, (uint?)null);
yield return (Token)new ConstantToken((Variant)new StringVariant("/root/officerballssushitime"))