Files
NobetaSource/Interop/Assembly-CSharp/ValuablesDescData.cs
2023-09-06 22:00:49 +02:00

115 lines
4.9 KiB
C#

using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppInterop.Runtime.InteropTypes.Arrays;
using Il2CppSystem;
// Token: 0x02000277 RID: 631
public sealed class ValuablesDescData : ValueType
{
// Token: 0x06005726 RID: 22310 RVA: 0x0015E810 File Offset: 0x0015CA10
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 562730, XrefRangeEnd = 562737, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe ValuablesDescData(int id, Il2CppStringArray text)
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ValuablesDescData>.NativeClassPtr))
{
IntPtr* ptr;
checked
{
ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
*ptr = ref id;
}
ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(text);
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ValuablesDescData.NativeMethodInfoPtr__ctor_Public_Void_Int32_Il2CppStringArray_0, IL2CPP.il2cpp_object_unbox(IL2CPP.Il2CppObjectBaseToPtrNotNull(this)), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x06005727 RID: 22311 RVA: 0x0015E88C File Offset: 0x0015CA8C
// Note: this type is marked as 'beforefieldinit'.
static ValuablesDescData()
{
Il2CppClassPointerStore<ValuablesDescData>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "ValuablesDescData");
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ValuablesDescData>.NativeClassPtr);
ValuablesDescData.NativeFieldInfoPtr_Id = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ValuablesDescData>.NativeClassPtr, "Id");
ValuablesDescData.NativeFieldInfoPtr_Name = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ValuablesDescData>.NativeClassPtr, "Name");
ValuablesDescData.NativeFieldInfoPtr_Description = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ValuablesDescData>.NativeClassPtr, "Description");
ValuablesDescData.NativeMethodInfoPtr__ctor_Public_Void_Int32_Il2CppStringArray_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ValuablesDescData>.NativeClassPtr, 100669391);
}
// Token: 0x06005728 RID: 22312 RVA: 0x0011646F File Offset: 0x0011466F
public ValuablesDescData(IntPtr pointer)
: base(pointer)
{
}
// Token: 0x06005729 RID: 22313 RVA: 0x0015E90C File Offset: 0x0015CB0C
public unsafe ValuablesDescData()
{
IntPtr intPtr = stackalloc byte[(UIntPtr)IL2CPP.il2cpp_class_value_size(Il2CppClassPointerStore<ValuablesDescData>.NativeClassPtr, (UIntPtr)0)];
base..ctor(IL2CPP.il2cpp_value_box(Il2CppClassPointerStore<ValuablesDescData>.NativeClassPtr, intPtr));
}
// Token: 0x17001E88 RID: 7816
// (get) Token: 0x0600572A RID: 22314 RVA: 0x0015E93C File Offset: 0x0015CB3C
// (set) Token: 0x0600572B RID: 22315 RVA: 0x0015E964 File Offset: 0x0015CB64
public unsafe int Id
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ValuablesDescData.NativeFieldInfoPtr_Id);
return *intPtr;
}
set
{
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ValuablesDescData.NativeFieldInfoPtr_Id)) = value;
}
}
// Token: 0x17001E89 RID: 7817
// (get) Token: 0x0600572C RID: 22316 RVA: 0x0015E988 File Offset: 0x0015CB88
// (set) Token: 0x0600572D RID: 22317 RVA: 0x0015E9B1 File Offset: 0x0015CBB1
public unsafe string Name
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ValuablesDescData.NativeFieldInfoPtr_Name);
return IL2CPP.Il2CppStringToManaged(*intPtr);
}
set
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ValuablesDescData.NativeFieldInfoPtr_Name), IL2CPP.ManagedStringToIl2Cpp(value));
}
}
// Token: 0x17001E8A RID: 7818
// (get) Token: 0x0600572E RID: 22318 RVA: 0x0015E9D8 File Offset: 0x0015CBD8
// (set) Token: 0x0600572F RID: 22319 RVA: 0x0015EA01 File Offset: 0x0015CC01
public unsafe string Description
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ValuablesDescData.NativeFieldInfoPtr_Description);
return IL2CPP.Il2CppStringToManaged(*intPtr);
}
set
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ValuablesDescData.NativeFieldInfoPtr_Description), IL2CPP.ManagedStringToIl2Cpp(value));
}
}
// Token: 0x040039D5 RID: 14805
private static readonly IntPtr NativeFieldInfoPtr_Id;
// Token: 0x040039D6 RID: 14806
private static readonly IntPtr NativeFieldInfoPtr_Name;
// Token: 0x040039D7 RID: 14807
private static readonly IntPtr NativeFieldInfoPtr_Description;
// Token: 0x040039D8 RID: 14808
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Int32_Il2CppStringArray_0;
}