Add v1.0.3.1
This commit is contained in:
@@ -0,0 +1,399 @@
|
||||
using System;
|
||||
using Il2CppInterop.Common.Attributes;
|
||||
using Il2CppInterop.Runtime;
|
||||
using Il2CppInterop.Runtime.InteropTypes;
|
||||
using Il2CppInterop.Runtime.InteropTypes.Arrays;
|
||||
using Il2CppSystem;
|
||||
|
||||
namespace MTAssets.UltimateLODSystem.MeshSimplifier
|
||||
{
|
||||
// Token: 0x0200062C RID: 1580
|
||||
public sealed class ResizableArray<T> : Object
|
||||
{
|
||||
// Token: 0x170036B8 RID: 14008
|
||||
// (get) Token: 0x0600A180 RID: 41344 RVA: 0x002977AC File Offset: 0x002959AC
|
||||
public unsafe int Length
|
||||
{
|
||||
[CallerCount(0)]
|
||||
get
|
||||
{
|
||||
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
||||
IntPtr* ptr = null;
|
||||
IntPtr intPtr2;
|
||||
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ResizableArray<T>.NativeMethodInfoPtr_get_Length_Public_get_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
||||
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
||||
return *IL2CPP.il2cpp_object_unbox(intPtr);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170036B9 RID: 14009
|
||||
// (get) Token: 0x0600A181 RID: 41345 RVA: 0x002977FC File Offset: 0x002959FC
|
||||
public unsafe Il2CppArrayBase<T> Data
|
||||
{
|
||||
[CallerCount(9)]
|
||||
[CachedScanResults(RefRangeStart = 7244, RefRangeEnd = 7253, XrefRangeStart = 7244, XrefRangeEnd = 7253, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
||||
get
|
||||
{
|
||||
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
||||
IntPtr* ptr = null;
|
||||
IntPtr intPtr2;
|
||||
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ResizableArray<T>.NativeMethodInfoPtr_get_Data_Public_get_Il2CppArrayBase_1_T_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
||||
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
||||
return Il2CppArrayBase<T>.WrapNativeGenericArrayPointer(intPtr);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170036BA RID: 14010
|
||||
public unsafe T this[int index]
|
||||
{
|
||||
[CallerCount(4)]
|
||||
[CachedScanResults(RefRangeStart = 48577, RefRangeEnd = 48581, XrefRangeStart = 48577, XrefRangeEnd = 48581, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
||||
get
|
||||
{
|
||||
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
||||
checked
|
||||
{
|
||||
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
||||
*ptr = ref index;
|
||||
IntPtr intPtr2;
|
||||
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ResizableArray<T>.NativeMethodInfoPtr_get_Item_Public_get_T_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
||||
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
||||
return IL2CPP.PointerToValueGeneric<T>(intPtr, false, true);
|
||||
}
|
||||
}
|
||||
[CallerCount(0)]
|
||||
set
|
||||
{
|
||||
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
||||
IntPtr* ptr;
|
||||
checked
|
||||
{
|
||||
ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
|
||||
*ptr = ref index;
|
||||
}
|
||||
IntPtr* ptr2 = ptr + checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr);
|
||||
T ptr4;
|
||||
if (!typeof(T).IsValueType)
|
||||
{
|
||||
T t = value;
|
||||
if (!(t is string))
|
||||
{
|
||||
ref T ptr3 = (ptr4 = IL2CPP.Il2CppObjectBaseToPtr(t as Il2CppObjectBase));
|
||||
if ((ref ptr3) != null)
|
||||
{
|
||||
ptr4 = ref ptr3;
|
||||
if (IL2CPP.il2cpp_class_is_valuetype(IL2CPP.il2cpp_object_get_class(ref ptr3)))
|
||||
{
|
||||
ptr4 = IL2CPP.il2cpp_object_unbox(ref ptr3);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ptr4 = IL2CPP.ManagedStringToIl2Cpp(t as string);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ptr4 = ref value;
|
||||
}
|
||||
*ptr2 = ref ptr4;
|
||||
IntPtr intPtr2;
|
||||
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ResizableArray<T>.NativeMethodInfoPtr_set_Item_Public_set_Void_Int32_T_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
||||
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A184 RID: 41348 RVA: 0x00297968 File Offset: 0x00295B68
|
||||
[CallerCount(21)]
|
||||
[CachedScanResults(RefRangeStart = 626170, RefRangeEnd = 626191, XrefRangeStart = 626169, XrefRangeEnd = 626170, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
||||
public unsafe ResizableArray(int capacity)
|
||||
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ResizableArray<T>>.NativeClassPtr))
|
||||
{
|
||||
checked
|
||||
{
|
||||
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
||||
*ptr = ref capacity;
|
||||
IntPtr intPtr2;
|
||||
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ResizableArray<T>.NativeMethodInfoPtr__ctor_Public_Void_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
||||
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A185 RID: 41349 RVA: 0x002979C8 File Offset: 0x00295BC8
|
||||
[CallerCount(2)]
|
||||
[CachedScanResults(RefRangeStart = 626201, RefRangeEnd = 626203, XrefRangeStart = 626191, XrefRangeEnd = 626201, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
||||
public unsafe ResizableArray(int capacity, int length)
|
||||
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ResizableArray<T>>.NativeClassPtr))
|
||||
{
|
||||
IntPtr* ptr;
|
||||
checked
|
||||
{
|
||||
ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
|
||||
*ptr = ref capacity;
|
||||
}
|
||||
ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref length;
|
||||
IntPtr intPtr2;
|
||||
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ResizableArray<T>.NativeMethodInfoPtr__ctor_Public_Void_Int32_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
||||
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
||||
}
|
||||
|
||||
// Token: 0x0600A186 RID: 41350 RVA: 0x00297A38 File Offset: 0x00295C38
|
||||
[CallerCount(0)]
|
||||
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626203, XrefRangeEnd = 626210, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
||||
public unsafe ResizableArray(Il2CppArrayBase<T> initialArray)
|
||||
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ResizableArray<T>>.NativeClassPtr))
|
||||
{
|
||||
checked
|
||||
{
|
||||
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
||||
*ptr = IL2CPP.Il2CppObjectBaseToPtr(initialArray);
|
||||
IntPtr intPtr2;
|
||||
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ResizableArray<T>.NativeMethodInfoPtr__ctor_Public_Void_Il2CppArrayBase_1_T_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
||||
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A187 RID: 41351 RVA: 0x00297A9C File Offset: 0x00295C9C
|
||||
[CallerCount(0)]
|
||||
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626210, XrefRangeEnd = 626252, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
||||
public unsafe void IncreaseCapacity(int capacity)
|
||||
{
|
||||
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
||||
checked
|
||||
{
|
||||
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
||||
*ptr = ref capacity;
|
||||
IntPtr intPtr2;
|
||||
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ResizableArray<T>.NativeMethodInfoPtr_IncreaseCapacity_Private_Void_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
||||
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A188 RID: 41352 RVA: 0x00297AF0 File Offset: 0x00295CF0
|
||||
[CallerCount(2)]
|
||||
[CachedScanResults(RefRangeStart = 626253, RefRangeEnd = 626255, XrefRangeStart = 626252, XrefRangeEnd = 626253, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
||||
public unsafe void Clear()
|
||||
{
|
||||
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
||||
IntPtr* ptr = null;
|
||||
IntPtr intPtr2;
|
||||
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ResizableArray<T>.NativeMethodInfoPtr_Clear_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
||||
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
||||
}
|
||||
|
||||
// Token: 0x0600A189 RID: 41353 RVA: 0x00297B34 File Offset: 0x00295D34
|
||||
[CallerCount(1)]
|
||||
[CachedScanResults(RefRangeStart = 626257, RefRangeEnd = 626258, XrefRangeStart = 626255, XrefRangeEnd = 626257, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
||||
public unsafe void Resize(int length, bool trimExess = false, bool clearMemory = false)
|
||||
{
|
||||
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
||||
IntPtr* ptr;
|
||||
checked
|
||||
{
|
||||
ptr = stackalloc IntPtr[unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)];
|
||||
*ptr = ref length;
|
||||
}
|
||||
ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref trimExess;
|
||||
ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref clearMemory;
|
||||
IntPtr intPtr2;
|
||||
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ResizableArray<T>.NativeMethodInfoPtr_Resize_Public_Void_Int32_Boolean_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
||||
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
||||
}
|
||||
|
||||
// Token: 0x0600A18A RID: 41354 RVA: 0x00297BB0 File Offset: 0x00295DB0
|
||||
[CallerCount(0)]
|
||||
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 626258, XrefRangeEnd = 626262, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
||||
public unsafe void TrimExcess()
|
||||
{
|
||||
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
||||
IntPtr* ptr = null;
|
||||
IntPtr intPtr2;
|
||||
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ResizableArray<T>.NativeMethodInfoPtr_TrimExcess_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
||||
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
||||
}
|
||||
|
||||
// Token: 0x0600A18B RID: 41355 RVA: 0x00297BF4 File Offset: 0x00295DF4
|
||||
[CallerCount(2)]
|
||||
[CachedScanResults(RefRangeStart = 626266, RefRangeEnd = 626268, XrefRangeStart = 626262, XrefRangeEnd = 626266, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
||||
public unsafe void Add(T item)
|
||||
{
|
||||
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
||||
checked
|
||||
{
|
||||
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
||||
IntPtr* ptr2 = ptr;
|
||||
T ptr4;
|
||||
if (!typeof(T).IsValueType)
|
||||
{
|
||||
T t = item;
|
||||
if (!(t is string))
|
||||
{
|
||||
ref T ptr3 = (ptr4 = IL2CPP.Il2CppObjectBaseToPtr(t as Il2CppObjectBase));
|
||||
if ((ref ptr3) != null)
|
||||
{
|
||||
ptr4 = ref ptr3;
|
||||
if (IL2CPP.il2cpp_class_is_valuetype(IL2CPP.il2cpp_object_get_class(ref ptr3)))
|
||||
{
|
||||
ptr4 = IL2CPP.il2cpp_object_unbox(ref ptr3);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ptr4 = IL2CPP.ManagedStringToIl2Cpp(t as string);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ptr4 = ref item;
|
||||
}
|
||||
*ptr2 = ref ptr4;
|
||||
IntPtr intPtr2;
|
||||
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ResizableArray<T>.NativeMethodInfoPtr_Add_Public_Void_T_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
||||
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A18C RID: 41356 RVA: 0x00297CA0 File Offset: 0x00295EA0
|
||||
[CallerCount(160)]
|
||||
[CachedScanResults(RefRangeStart = 146944, RefRangeEnd = 147104, XrefRangeStart = 146944, XrefRangeEnd = 147104, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
||||
public unsafe Il2CppArrayBase<T> ToArray()
|
||||
{
|
||||
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
||||
IntPtr* ptr = null;
|
||||
IntPtr intPtr2;
|
||||
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ResizableArray<T>.NativeMethodInfoPtr_ToArray_Public_Il2CppArrayBase_1_T_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
||||
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
||||
return Il2CppArrayBase<T>.WrapNativeGenericArrayPointer(intPtr);
|
||||
}
|
||||
|
||||
// Token: 0x0600A18D RID: 41357 RVA: 0x00297CEC File Offset: 0x00295EEC
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
static ResizableArray()
|
||||
{
|
||||
Il2CppClassPointerStore<ResizableArray<T>>.NativeClassPtr = IL2CPP.il2cpp_class_from_type(Type.internal_from_handle(IL2CPP.il2cpp_class_get_type(IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "MTAssets.UltimateLODSystem.MeshSimplifier", "ResizableArray`1"))).MakeGenericType(new Il2CppReferenceArray<Type>(new Type[] { Type.internal_from_handle(IL2CPP.il2cpp_class_get_type(Il2CppClassPointerStore<T>.NativeClassPtr)) })).TypeHandle.value);
|
||||
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ResizableArray<T>>.NativeClassPtr);
|
||||
ResizableArray<T>.NativeFieldInfoPtr_items = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ResizableArray<T>>.NativeClassPtr, "items");
|
||||
ResizableArray<T>.NativeFieldInfoPtr_length = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ResizableArray<T>>.NativeClassPtr, "length");
|
||||
ResizableArray<T>.NativeFieldInfoPtr_emptyArr = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ResizableArray<T>>.NativeClassPtr, "emptyArr");
|
||||
ResizableArray<T>.NativeMethodInfoPtr_get_Length_Public_get_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ResizableArray<T>>.NativeClassPtr, 100675815);
|
||||
ResizableArray<T>.NativeMethodInfoPtr_get_Data_Public_get_Il2CppArrayBase_1_T_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ResizableArray<T>>.NativeClassPtr, 100675816);
|
||||
ResizableArray<T>.NativeMethodInfoPtr_get_Item_Public_get_T_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ResizableArray<T>>.NativeClassPtr, 100675817);
|
||||
ResizableArray<T>.NativeMethodInfoPtr_set_Item_Public_set_Void_Int32_T_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ResizableArray<T>>.NativeClassPtr, 100675818);
|
||||
ResizableArray<T>.NativeMethodInfoPtr__ctor_Public_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ResizableArray<T>>.NativeClassPtr, 100675819);
|
||||
ResizableArray<T>.NativeMethodInfoPtr__ctor_Public_Void_Int32_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ResizableArray<T>>.NativeClassPtr, 100675820);
|
||||
ResizableArray<T>.NativeMethodInfoPtr__ctor_Public_Void_Il2CppArrayBase_1_T_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ResizableArray<T>>.NativeClassPtr, 100675821);
|
||||
ResizableArray<T>.NativeMethodInfoPtr_IncreaseCapacity_Private_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ResizableArray<T>>.NativeClassPtr, 100675822);
|
||||
ResizableArray<T>.NativeMethodInfoPtr_Clear_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ResizableArray<T>>.NativeClassPtr, 100675823);
|
||||
ResizableArray<T>.NativeMethodInfoPtr_Resize_Public_Void_Int32_Boolean_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ResizableArray<T>>.NativeClassPtr, 100675824);
|
||||
ResizableArray<T>.NativeMethodInfoPtr_TrimExcess_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ResizableArray<T>>.NativeClassPtr, 100675825);
|
||||
ResizableArray<T>.NativeMethodInfoPtr_Add_Public_Void_T_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ResizableArray<T>>.NativeClassPtr, 100675826);
|
||||
ResizableArray<T>.NativeMethodInfoPtr_ToArray_Public_Il2CppArrayBase_1_T_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ResizableArray<T>>.NativeClassPtr, 100675827);
|
||||
}
|
||||
|
||||
// Token: 0x0600A18E RID: 41358 RVA: 0x0000A688 File Offset: 0x00008888
|
||||
public ResizableArray(IntPtr pointer)
|
||||
: base(pointer)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x170036B5 RID: 14005
|
||||
// (get) Token: 0x0600A18F RID: 41359 RVA: 0x00297E98 File Offset: 0x00296098
|
||||
// (set) Token: 0x0600A190 RID: 41360 RVA: 0x00297EC1 File Offset: 0x002960C1
|
||||
public unsafe Il2CppArrayBase<T> items
|
||||
{
|
||||
get
|
||||
{
|
||||
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ResizableArray<T>.NativeFieldInfoPtr_items);
|
||||
return Il2CppArrayBase<T>.WrapNativeGenericArrayPointer(*intPtr);
|
||||
}
|
||||
set
|
||||
{
|
||||
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
||||
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ResizableArray<T>.NativeFieldInfoPtr_items), IL2CPP.Il2CppObjectBaseToPtr(value));
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170036B6 RID: 14006
|
||||
// (get) Token: 0x0600A191 RID: 41361 RVA: 0x00297EE8 File Offset: 0x002960E8
|
||||
// (set) Token: 0x0600A192 RID: 41362 RVA: 0x00297F10 File Offset: 0x00296110
|
||||
public unsafe int length
|
||||
{
|
||||
get
|
||||
{
|
||||
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ResizableArray<T>.NativeFieldInfoPtr_length);
|
||||
return *intPtr;
|
||||
}
|
||||
set
|
||||
{
|
||||
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ResizableArray<T>.NativeFieldInfoPtr_length)) = value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170036B7 RID: 14007
|
||||
// (get) Token: 0x0600A193 RID: 41363 RVA: 0x00297F34 File Offset: 0x00296134
|
||||
// (set) Token: 0x0600A194 RID: 41364 RVA: 0x00297F54 File Offset: 0x00296154
|
||||
public unsafe static Il2CppArrayBase<T> emptyArr
|
||||
{
|
||||
get
|
||||
{
|
||||
IntPtr intPtr;
|
||||
IL2CPP.il2cpp_field_static_get_value(ResizableArray<T>.NativeFieldInfoPtr_emptyArr, (void*)(&intPtr));
|
||||
return Il2CppArrayBase<T>.WrapNativeGenericArrayPointer(intPtr);
|
||||
}
|
||||
set
|
||||
{
|
||||
IL2CPP.il2cpp_field_static_set_value(ResizableArray<T>.NativeFieldInfoPtr_emptyArr, IL2CPP.Il2CppObjectBaseToPtr(value));
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04006C6F RID: 27759
|
||||
private static readonly IntPtr NativeFieldInfoPtr_items;
|
||||
|
||||
// Token: 0x04006C70 RID: 27760
|
||||
private static readonly IntPtr NativeFieldInfoPtr_length;
|
||||
|
||||
// Token: 0x04006C71 RID: 27761
|
||||
private static readonly IntPtr NativeFieldInfoPtr_emptyArr;
|
||||
|
||||
// Token: 0x04006C72 RID: 27762
|
||||
private static readonly IntPtr NativeMethodInfoPtr_get_Length_Public_get_Int32_0;
|
||||
|
||||
// Token: 0x04006C73 RID: 27763
|
||||
private static readonly IntPtr NativeMethodInfoPtr_get_Data_Public_get_Il2CppArrayBase_1_T_0;
|
||||
|
||||
// Token: 0x04006C74 RID: 27764
|
||||
private static readonly IntPtr NativeMethodInfoPtr_get_Item_Public_get_T_Int32_0;
|
||||
|
||||
// Token: 0x04006C75 RID: 27765
|
||||
private static readonly IntPtr NativeMethodInfoPtr_set_Item_Public_set_Void_Int32_T_0;
|
||||
|
||||
// Token: 0x04006C76 RID: 27766
|
||||
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Int32_0;
|
||||
|
||||
// Token: 0x04006C77 RID: 27767
|
||||
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Int32_Int32_0;
|
||||
|
||||
// Token: 0x04006C78 RID: 27768
|
||||
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Il2CppArrayBase_1_T_0;
|
||||
|
||||
// Token: 0x04006C79 RID: 27769
|
||||
private static readonly IntPtr NativeMethodInfoPtr_IncreaseCapacity_Private_Void_Int32_0;
|
||||
|
||||
// Token: 0x04006C7A RID: 27770
|
||||
private static readonly IntPtr NativeMethodInfoPtr_Clear_Public_Void_0;
|
||||
|
||||
// Token: 0x04006C7B RID: 27771
|
||||
private static readonly IntPtr NativeMethodInfoPtr_Resize_Public_Void_Int32_Boolean_Boolean_0;
|
||||
|
||||
// Token: 0x04006C7C RID: 27772
|
||||
private static readonly IntPtr NativeMethodInfoPtr_TrimExcess_Public_Void_0;
|
||||
|
||||
// Token: 0x04006C7D RID: 27773
|
||||
private static readonly IntPtr NativeMethodInfoPtr_Add_Public_Void_T_0;
|
||||
|
||||
// Token: 0x04006C7E RID: 27774
|
||||
private static readonly IntPtr NativeMethodInfoPtr_ToArray_Public_Il2CppArrayBase_1_T_0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user