using System; using Il2CppInterop.Common.Attributes; using Il2CppInterop.Runtime; using Il2CppInterop.Runtime.InteropTypes.Arrays; using Il2CppSystem; namespace MTAssets.UltimateLODSystem.MeshSimplifier { // Token: 0x0200061F RID: 1567 [Serializable] public sealed class BlendShape : ValueType { // Token: 0x0600A06B RID: 41067 RVA: 0x0029101C File Offset: 0x0028F21C [CallerCount(58)] [CachedScanResults(RefRangeStart = 32264, RefRangeEnd = 32322, XrefRangeStart = 32264, XrefRangeEnd = 32322, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)] public unsafe BlendShape(string shapeName, Il2CppReferenceArray frames) : this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore.NativeClassPtr)) { IntPtr* ptr; checked { ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)]; *ptr = IL2CPP.ManagedStringToIl2Cpp(shapeName); } ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(frames); IntPtr intPtr2; IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(BlendShape.NativeMethodInfoPtr__ctor_Public_Void_String_Il2CppReferenceArray_1_BlendShapeFrame_0, IL2CPP.il2cpp_object_unbox(IL2CPP.Il2CppObjectBaseToPtrNotNull(this)), (void**)ptr, ref intPtr2); Il2CppException.RaiseExceptionIfNecessary(intPtr2); } // Token: 0x0600A06C RID: 41068 RVA: 0x0029109C File Offset: 0x0028F29C // Note: this type is marked as 'beforefieldinit'. static BlendShape() { Il2CppClassPointerStore.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "MTAssets.UltimateLODSystem.MeshSimplifier", "BlendShape"); IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore.NativeClassPtr); BlendShape.NativeFieldInfoPtr_ShapeName = IL2CPP.GetIl2CppField(Il2CppClassPointerStore.NativeClassPtr, "ShapeName"); BlendShape.NativeFieldInfoPtr_Frames = IL2CPP.GetIl2CppField(Il2CppClassPointerStore.NativeClassPtr, "Frames"); BlendShape.NativeMethodInfoPtr__ctor_Public_Void_String_Il2CppReferenceArray_1_BlendShapeFrame_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore.NativeClassPtr, 100675641); } // Token: 0x0600A06D RID: 41069 RVA: 0x0011646F File Offset: 0x0011466F public BlendShape(IntPtr pointer) : base(pointer) { } // Token: 0x0600A06E RID: 41070 RVA: 0x00291108 File Offset: 0x0028F308 public unsafe BlendShape() { IntPtr intPtr = stackalloc byte[(UIntPtr)IL2CPP.il2cpp_class_value_size(Il2CppClassPointerStore.NativeClassPtr, (UIntPtr)0)]; base..ctor(IL2CPP.il2cpp_value_box(Il2CppClassPointerStore.NativeClassPtr, intPtr)); } // Token: 0x1700366D RID: 13933 // (get) Token: 0x0600A06F RID: 41071 RVA: 0x00291138 File Offset: 0x0028F338 // (set) Token: 0x0600A070 RID: 41072 RVA: 0x00291161 File Offset: 0x0028F361 public unsafe string ShapeName { get { IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BlendShape.NativeFieldInfoPtr_ShapeName); return IL2CPP.Il2CppStringToManaged(*intPtr); } set { IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this); IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(BlendShape.NativeFieldInfoPtr_ShapeName), IL2CPP.ManagedStringToIl2Cpp(value)); } } // Token: 0x1700366E RID: 13934 // (get) Token: 0x0600A071 RID: 41073 RVA: 0x00291188 File Offset: 0x0028F388 // (set) Token: 0x0600A072 RID: 41074 RVA: 0x002911BC File Offset: 0x0028F3BC public unsafe Il2CppReferenceArray Frames { get { IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BlendShape.NativeFieldInfoPtr_Frames); IntPtr intPtr2 = *intPtr; return (intPtr2 != 0) ? new Il2CppReferenceArray(intPtr2) : null; } set { IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this); IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(BlendShape.NativeFieldInfoPtr_Frames), IL2CPP.Il2CppObjectBaseToPtr(value)); } } // Token: 0x04006B6B RID: 27499 private static readonly IntPtr NativeFieldInfoPtr_ShapeName; // Token: 0x04006B6C RID: 27500 private static readonly IntPtr NativeFieldInfoPtr_Frames; // Token: 0x04006B6D RID: 27501 private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_String_Il2CppReferenceArray_1_BlendShapeFrame_0; } }