using System; using Cpp2IlInjected; using UnityEngine; namespace MTAssets.UltimateLODSystem.MeshSimplifier { // Token: 0x02000611 RID: 1553 [Token(Token = "0x2000611")] public struct Vector3d : IEquatable { // Token: 0x17000396 RID: 918 // (get) Token: 0x0600307A RID: 12410 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x17000396")] public double Magnitude { [Token(Token = "0x600307A")] [Address(RVA = "0x96EE60", Offset = "0x96D660", VA = "0x18096EE60")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x17000397 RID: 919 // (get) Token: 0x0600307B RID: 12411 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x17000397")] public double MagnitudeSqr { [Token(Token = "0x600307B")] [Address(RVA = "0x96EE30", Offset = "0x96D630", VA = "0x18096EE30")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x17000398 RID: 920 // (get) Token: 0x0600307C RID: 12412 RVA: 0x000666AC File Offset: 0x000648AC [Token(Token = "0x17000398")] public Vector3d Normalized { [Token(Token = "0x600307C")] [Address(RVA = "0x96EF10", Offset = "0x96D710", VA = "0x18096EF10")] get { int num = 0; int num2 = 0; this.x = (double)num2; this.z = (double)num; return ref this; } } // Token: 0x17000399 RID: 921 [Token(Token = "0x17000399")] public double this[int index] { [Token(Token = "0x600307D")] [Address(RVA = "0x96ED90", Offset = "0x96D590", VA = "0x18096ED90")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } [Token(Token = "0x600307E")] [Address(RVA = "0x96F290", Offset = "0x96DA90", VA = "0x18096F290")] set { /* An exception occurred when decompiling this method (0600307E) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void MTAssets.UltimateLODSystem.MeshSimplifier.Vector3d::set_Item(System.Int32,System.Double) ---> System.Exception: Basic block has to end with unconditional control flow. {; IL_0F:; stloc:ArgumentOutOfRangeException(var_0_1E, newobj:ArgumentOutOfRangeException(ArgumentOutOfRangeException::.ctor, ldstr:string("index"), ldstr:string("Invalid Vector3d index!"))); }; 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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1836 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1836 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1804 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1836 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1836 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1804 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1836 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1836 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1804 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: 0x0600307F RID: 12415 RVA: 0x000666F8 File Offset: 0x000648F8 [Token(Token = "0x600307F")] [Address(RVA = "0x96ED80", Offset = "0x96D580", VA = "0x18096ED80")] public Vector3d(double value) { this.x = value; } // Token: 0x06003080 RID: 12416 RVA: 0x0006670C File Offset: 0x0006490C [Token(Token = "0x6003080")] [Address(RVA = "0x96EB80", Offset = "0x96D380", VA = "0x18096EB80")] public Vector3d(double x, double y, double z) { } // Token: 0x06003081 RID: 12417 RVA: 0x0006671C File Offset: 0x0006491C [Token(Token = "0x6003081")] [Address(RVA = "0x96ED40", Offset = "0x96D540", VA = "0x18096ED40")] public Vector3d(Vector3 vector) { float num = vector.z; } // Token: 0x06003082 RID: 12418 RVA: 0x00066730 File Offset: 0x00064930 [Token(Token = "0x6003082")] [Address(RVA = "0x96EF90", Offset = "0x96D790", VA = "0x18096EF90")] public static Vector3d operator +(Vector3d a, Vector3d b) { return a; } // Token: 0x06003083 RID: 12419 RVA: 0x00066740 File Offset: 0x00064940 [Token(Token = "0x6003083")] [Address(RVA = "0x96F220", Offset = "0x96DA20", VA = "0x18096F220")] public static Vector3d operator -(Vector3d a, Vector3d b) { return a; } // Token: 0x06003084 RID: 12420 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6003084")] [Address(RVA = "0x96F1C0", Offset = "0x96D9C0", VA = "0x18096F1C0")] public static Vector3d operator *(Vector3d a, double d) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06003085 RID: 12421 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6003085")] [Address(RVA = "0x96F1F0", Offset = "0x96D9F0", VA = "0x18096F1F0")] public static Vector3d operator *(double d, Vector3d a) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06003086 RID: 12422 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6003086")] [Address(RVA = "0x96EFD0", Offset = "0x96D7D0", VA = "0x18096EFD0")] public static Vector3d operator /(Vector3d a, double d) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06003087 RID: 12423 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6003087")] [Address(RVA = "0x96F260", Offset = "0x96DA60", VA = "0x18096F260")] public static Vector3d operator -(Vector3d a) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06003088 RID: 12424 RVA: 0x00066750 File Offset: 0x00064950 [Token(Token = "0x6003088")] [Address(RVA = "0x96F000", Offset = "0x96D800", VA = "0x18096F000")] public static bool operator ==(Vector3d lhs, Vector3d rhs) { return typeof(Vector3d).TypeHandle != null; } // Token: 0x06003089 RID: 12425 RVA: 0x00066764 File Offset: 0x00064964 [Token(Token = "0x6003089")] [Address(RVA = "0x96F120", Offset = "0x96D920", VA = "0x18096F120")] public static bool operator !=(Vector3d lhs, Vector3d rhs) { return typeof(Vector3d).TypeHandle != null; } // Token: 0x0600308A RID: 12426 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x600308A")] [Address(RVA = "0x96F0E0", Offset = "0x96D8E0", VA = "0x18096F0E0")] public static implicit operator Vector3d(Vector3 v) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0600308B RID: 12427 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x600308B")] [Address(RVA = "0x96F0A0", Offset = "0x96D8A0", VA = "0x18096F0A0")] public static explicit operator Vector3(Vector3d v) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0600308C RID: 12428 RVA: 0x00066778 File Offset: 0x00064978 [Token(Token = "0x600308C")] [Address(RVA = "0x96EB80", Offset = "0x96D380", VA = "0x18096EB80")] public void Set(double x, double y, double z) { } // Token: 0x0600308D RID: 12429 RVA: 0x00066788 File Offset: 0x00064988 [Token(Token = "0x600308D")] [Address(RVA = "0x96EB20", Offset = "0x96D320", VA = "0x18096EB20")] public void Scale(ref Vector3d scale) { } // Token: 0x0600308E RID: 12430 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x600308E")] [Address(RVA = "0x96EA00", Offset = "0x96D200", VA = "0x18096EA00")] public void Normalize() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0600308F RID: 12431 RVA: 0x00066798 File Offset: 0x00064998 [Token(Token = "0x600308F")] [Address(RVA = "0x96E760", Offset = "0x96CF60", VA = "0x18096E760")] public void Clamp(double min, double max) { } // Token: 0x06003090 RID: 12432 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6003090")] [Address(RVA = "0x96E950", Offset = "0x96D150", VA = "0x18096E950", Slot = "2")] public override int GetHashCode() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06003091 RID: 12433 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6003091")] [Address(RVA = "0x96E8A0", Offset = "0x96D0A0", VA = "0x18096E8A0", Slot = "0")] public override bool Equals(object obj) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06003092 RID: 12434 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6003092")] [Address(RVA = "0x96E860", Offset = "0x96D060", VA = "0x18096E860", Slot = "4")] public bool Equals(Vector3d other) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06003093 RID: 12435 RVA: 0x000667A8 File Offset: 0x000649A8 [Token(Token = "0x6003093")] [Address(RVA = "0x96EC30", Offset = "0x96D430", VA = "0x18096EC30", Slot = "3")] public override string ToString() { return string.Format("({0:F1}, {1:F1}, {2:F1})", "({0:F1}, {1:F1}, {2:F1})", "({0:F1}, {1:F1}, {2:F1})", "({0:F1}, {1:F1}, {2:F1})"); } // Token: 0x06003094 RID: 12436 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6003094")] [Address(RVA = "0x96EB90", Offset = "0x96D390", VA = "0x18096EB90")] public string ToString(string format) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06003095 RID: 12437 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6003095")] [Address(RVA = "0x96E830", Offset = "0x96D030", VA = "0x18096E830")] public static double Dot(ref Vector3d lhs, ref Vector3d rhs) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06003096 RID: 12438 RVA: 0x000667D0 File Offset: 0x000649D0 [Token(Token = "0x6003096")] [Address(RVA = "0x96E7C0", Offset = "0x96CFC0", VA = "0x18096E7C0")] public static void Cross(ref Vector3d lhs, ref Vector3d rhs, out Vector3d result) { } // Token: 0x06003097 RID: 12439 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6003097")] [Address(RVA = "0x96E5C0", Offset = "0x96CDC0", VA = "0x18096E5C0")] public static double Angle(ref Vector3d from, ref Vector3d to) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06003098 RID: 12440 RVA: 0x000667E0 File Offset: 0x000649E0 [Token(Token = "0x6003098")] [Address(RVA = "0x96E9B0", Offset = "0x96D1B0", VA = "0x18096E9B0")] public static void Lerp(ref Vector3d a, ref Vector3d b, double t, out Vector3d result) { } // Token: 0x06003099 RID: 12441 RVA: 0x000667F0 File Offset: 0x000649F0 [Token(Token = "0x6003099")] [Address(RVA = "0x96EB50", Offset = "0x96D350", VA = "0x18096EB50")] public static void Scale(ref Vector3d a, ref Vector3d b, out Vector3d result) { } // Token: 0x0600309A RID: 12442 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x600309A")] [Address(RVA = "0x96EA60", Offset = "0x96D260", VA = "0x18096EA60")] public static void Normalize(ref Vector3d value, out Vector3d result) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x04003ADB RID: 15067 [Token(Token = "0x4003ADB")] public static readonly Vector3d zero = 0; // Token: 0x04003ADC RID: 15068 [Token(Token = "0x4003ADC")] public const double Epsilon = 5E-324; // Token: 0x04003ADD RID: 15069 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4003ADD")] public double x; // Token: 0x04003ADE RID: 15070 [FieldOffset(Offset = "0x8")] [Token(Token = "0x4003ADE")] public double y; // Token: 0x04003ADF RID: 15071 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4003ADF")] public double z; } }