using System; using System.Collections.Generic; using Cpp2IlInjected; using UnityEngine; using UnityEngine.Serialization; namespace RecRoom.Sprites { // Token: 0x02002307 RID: 8967 [Token(Token = "0x2002307")] public class SpriteLookupConfig : ScriptableObject { // Token: 0x170024BA RID: 9402 // (get) Token: 0x0600E629 RID: 58921 RVA: 0x00353DB4 File Offset: 0x00351FB4 [Token(Token = "0x170024BA")] public global::UnityEngine.Object SourceAsset { [Token(Token = "0x600E629")] [Address(RVA = "0xD32230", Offset = "0xD31030", VA = "0x180D32230")] get { Texture texture = this.legacySourceTexture; int num = 0; if (texture != num) { Texture texture2 = this.legacySourceTexture; } return this.sourceAsset; } } // Token: 0x170024BB RID: 9403 // (get) Token: 0x0600E62A RID: 58922 RVA: 0x00353DE4 File Offset: 0x00351FE4 [Token(Token = "0x170024BB")] public IReadOnlyList Sprites { [Token(Token = "0x600E62A")] [Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")] get { /* An exception occurred when decompiling this method (0600E62A) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IReadOnlyList`1 RecRoom.Sprites.SpriteLookupConfig::get_Sprites() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: stloc:class [mscorlib]System.Collections.Generic.List`1(var_0_06, ldfld:class [mscorlib]System.Collections.Generic.List`1(SpriteLookupConfig::sprites, ldloc:SpriteLookupConfig(this))) } at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88 --- End of inner exception stack trace --- at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663 */; } } // Token: 0x0600E62B RID: 58923 RVA: 0x00353DF8 File Offset: 0x00351FF8 [Token(Token = "0x600E62B")] [Address(RVA = "0xD321D0", Offset = "0xD30FD0", VA = "0x180D321D0")] public SpriteLookupConfig() { int num; List list = new List(num); num = 0; this.sprites = list; base..ctor(); } // Token: 0x04009675 RID: 38517 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4009675")] [SerializeField] [INPFBLGGAJF] [FormerlySerializedAs("sourceTexture")] private Texture legacySourceTexture; // Token: 0x04009676 RID: 38518 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4009676")] [INPFBLGGAJF] [SerializeField] private global::UnityEngine.Object sourceAsset; // Token: 0x04009677 RID: 38519 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4009677")] [INPFBLGGAJF] [SerializeField] private List sprites; } }