using System; using System.Collections.Generic; using Cpp2IlInjected; using UnityEngine; namespace Obi { // Token: 0x020004D4 RID: 1236 [Token(Token = "0x20004D4")] public class ObiParticleCache : ScriptableObject { // Token: 0x170002F8 RID: 760 // (get) Token: 0x06002B89 RID: 11145 RVA: 0x0005DE3C File Offset: 0x0005C03C [Token(Token = "0x170002F8")] public float Duration { [Token(Token = "0x6002B89")] [Address(RVA = "0x41E4C0", Offset = "0x41CCC0", VA = "0x18041E4C0")] get { return this.duration; } } // Token: 0x170002F9 RID: 761 // (get) Token: 0x06002B8A RID: 11146 RVA: 0x0005DE50 File Offset: 0x0005C050 [Token(Token = "0x170002F9")] public int FrameCount { [Token(Token = "0x6002B8A")] [Address(RVA = "0xE71BB0", Offset = "0xE703B0", VA = "0x180E71BB0")] get { return this.frames._size; } } // Token: 0x06002B8B RID: 11147 RVA: 0x0005DE70 File Offset: 0x0005C070 [Token(Token = "0x6002B8B")] [Address(RVA = "0xE71950", Offset = "0xE70150", VA = "0x180E71950")] public void OnEnable() { if (this.frames == (ulong)0L) { List list = new List(); this.frames = list; } if (this.references == (ulong)0L) { List list2 = new List(); int num = 0; list2.Add(num); this.references = list2; } } // Token: 0x06002B8C RID: 11148 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6002B8C")] [Address(RVA = "0xE71A50", Offset = "0xE70250", VA = "0x180E71A50")] public int SizeInBytes() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06002B8D RID: 11149 RVA: 0x0005DEBC File Offset: 0x0005C0BC [Token(Token = "0x6002B8D")] [Address(RVA = "0xE71560", Offset = "0xE6FD60", VA = "0x180E71560")] public void Clear() { List list = this.frames; this.duration = 0f; list.Clear(); this.references.Clear(); List list2 = this.references; int num = 0; list2.Add(num); } // Token: 0x06002B8E RID: 11150 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6002B8E")] [Address(RVA = "0xE715F0", Offset = "0xE6FDF0", VA = "0x180E715F0")] private int GetBaseFrame(float time) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06002B8F RID: 11151 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6002B8F")] [Address(RVA = "0xE71340", Offset = "0xE6FB40", VA = "0x180E71340")] public void AddFrame(ObiParticleCache.Frame frame) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06002B90 RID: 11152 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6002B90")] [Address(RVA = "0xE71690", Offset = "0xE6FE90", VA = "0x180E71690")] public void GetFrame(float time, bool interpolate, ref ObiParticleCache.Frame result) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06002B91 RID: 11153 RVA: 0x0005DF04 File Offset: 0x0005C104 [Token(Token = "0x6002B91")] [Address(RVA = "0xE71B90", Offset = "0xE70390", VA = "0x180E71B90")] public ObiParticleCache() { } // Token: 0x04003411 RID: 13329 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4003411")] public float referenceIntervalSeconds = 0.5f; // Token: 0x04003412 RID: 13330 [FieldOffset(Offset = "0x1C")] [Token(Token = "0x4003412")] public bool localSpace = true; // Token: 0x04003413 RID: 13331 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4003413")] [SerializeField] private float duration; // Token: 0x04003414 RID: 13332 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4003414")] [SerializeField] private List frames; // Token: 0x04003415 RID: 13333 [FieldOffset(Offset = "0x30")] [Token(Token = "0x4003415")] [SerializeField] private List references; // Token: 0x020004D5 RID: 1237 [Token(Token = "0x20004D5")] public class UncompressedFrame { // Token: 0x06002B92 RID: 11154 RVA: 0x0005DF2C File Offset: 0x0005C12C [Token(Token = "0x6002B92")] [Address(RVA = "0x6A6120", Offset = "0x6A4920", VA = "0x1806A6120")] public UncompressedFrame() { List list = new List(); this.indices = list; List list2 = new List(); this.positions = list2; base..ctor(); } // Token: 0x04003416 RID: 13334 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4003416")] public List indices; // Token: 0x04003417 RID: 13335 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4003417")] public List positions; } // Token: 0x020004D6 RID: 1238 [Token(Token = "0x20004D6")] [Serializable] public class Frame { // Token: 0x06002B93 RID: 11155 RVA: 0x0005DF5C File Offset: 0x0005C15C [Token(Token = "0x6002B93")] [Address(RVA = "0x697730", Offset = "0x695F30", VA = "0x180697730")] public Frame() { /* An exception occurred when decompiling this method (06002B93) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Obi.ObiParticleCache/Frame::.ctor() ---> System.Exception: Basic block has to end with unconditional control flow. {; Block_0:; call:void(object::.ctor, ldloc:Frame[exp:object](this)); stfld:float32(Frame::time, ldloc:Frame(this), ldc.r4:float32(0.0)); stloc:class [mscorlib]System.Collections.Generic.List`1(var_0_16, newobj:List`1[exp:class [mscorlib]System.Collections.Generic.List`1](List`1::.ctor)); stfld:class [mscorlib]System.Collections.Generic.List`1(Frame::positions, ldloc:Frame(this), ldloc:class [mscorlib]System.Collections.Generic.List`1(var_0_16)); stloc:class [mscorlib]System.Collections.Generic.List`1(var_1_23, newobj:List`1[exp:class [mscorlib]System.Collections.Generic.List`1](List`1::.ctor)); stfld:class [mscorlib]System.Collections.Generic.List`1(Frame::indices, ldloc:Frame(this), ldloc:class [mscorlib]System.Collections.Generic.List`1(var_1_23)); }; at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810 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 344 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 1618 */; } // Token: 0x06002B94 RID: 11156 RVA: 0x0005DF94 File Offset: 0x0005C194 [Token(Token = "0x6002B94")] [Address(RVA = "0x697160", Offset = "0x695960", VA = "0x180697160")] public void Clear() { List list = this.positions; this.time = 0f; list.Clear(); this.indices.Clear(); } // Token: 0x06002B95 RID: 11157 RVA: 0x0005DFCC File Offset: 0x0005C1CC [Token(Token = "0x6002B95")] [Address(RVA = "0x6976D0", Offset = "0x695ED0", VA = "0x1806976D0")] public int SizeInBytes() { List list = this.positions; List list2 = this.indices; return list._size; } // Token: 0x06002B96 RID: 11158 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6002B96")] [Address(RVA = "0x6971D0", Offset = "0x6959D0", VA = "0x1806971D0")] public static void Lerp(ObiParticleCache.Frame a, ObiParticleCache.Frame b, ref ObiParticleCache.Frame result, float mu) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x04003418 RID: 13336 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4003418")] public float time; // Token: 0x04003419 RID: 13337 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4003419")] public List positions; // Token: 0x0400341A RID: 13338 [FieldOffset(Offset = "0x20")] [Token(Token = "0x400341A")] public List indices; } } }