using System; using Il2CppInterop.Common.Attributes; using Il2CppInterop.Runtime; using Il2CppInterop.Runtime.InteropTypes.Arrays; using Il2CppSystem; namespace MTAssets.UltimateLODSystem.MeshSimplifier { // Token: 0x02000677 RID: 1655 [Serializable] public sealed class BlendShape : ValueType { // Token: 0x0600A8BE RID: 43198 RVA: 0x002B3D58 File Offset: 0x002B1F58 [CallerCount(58)] [CachedScanResults(RefRangeStart = 32177, RefRangeEnd = 32235, XrefRangeStart = 32177, XrefRangeEnd = 32235, 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: 0x0600A8BF RID: 43199 RVA: 0x002B3DD8 File Offset: 0x002B1FD8 // 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, 100676354); } // Token: 0x0600A8C0 RID: 43200 RVA: 0x001295E7 File Offset: 0x001277E7 public BlendShape(IntPtr pointer) : base(pointer) { } // Token: 0x0600A8C1 RID: 43201 RVA: 0x002B3E44 File Offset: 0x002B2044 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: 0x17003908 RID: 14600 // (get) Token: 0x0600A8C2 RID: 43202 RVA: 0x002B3E74 File Offset: 0x002B2074 // (set) Token: 0x0600A8C3 RID: 43203 RVA: 0x002B3E9D File Offset: 0x002B209D 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: 0x17003909 RID: 14601 // (get) Token: 0x0600A8C4 RID: 43204 RVA: 0x002B3EC4 File Offset: 0x002B20C4 // (set) Token: 0x0600A8C5 RID: 43205 RVA: 0x002B3EF8 File Offset: 0x002B20F8 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: 0x04007114 RID: 28948 private static readonly IntPtr NativeFieldInfoPtr_ShapeName; // Token: 0x04007115 RID: 28949 private static readonly IntPtr NativeFieldInfoPtr_Frames; // Token: 0x04007116 RID: 28950 private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_String_Il2CppReferenceArray_1_BlendShapeFrame_0; } }