using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppInterop.Runtime.InteropTypes.Arrays;
using Il2CppSystem;

// Token: 0x020002C1 RID: 705
public sealed class ValuablesDescData : ValueType
{
	// Token: 0x06005D8A RID: 23946 RVA: 0x0017911C File Offset: 0x0017731C
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 592741, RefRangeEnd = 592743, XrefRangeStart = 592734, XrefRangeEnd = 592741, 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: 0x06005D8B RID: 23947 RVA: 0x00179198 File Offset: 0x00177398
	// 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, 100669935);
	}

	// Token: 0x06005D8C RID: 23948 RVA: 0x001295E7 File Offset: 0x001277E7
	public ValuablesDescData(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x06005D8D RID: 23949 RVA: 0x00179218 File Offset: 0x00177418
	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: 0x17002078 RID: 8312
	// (get) Token: 0x06005D8E RID: 23950 RVA: 0x00179248 File Offset: 0x00177448
	// (set) Token: 0x06005D8F RID: 23951 RVA: 0x00179270 File Offset: 0x00177470
	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: 0x17002079 RID: 8313
	// (get) Token: 0x06005D90 RID: 23952 RVA: 0x00179294 File Offset: 0x00177494
	// (set) Token: 0x06005D91 RID: 23953 RVA: 0x001792BD File Offset: 0x001774BD
	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: 0x1700207A RID: 8314
	// (get) Token: 0x06005D92 RID: 23954 RVA: 0x001792E4 File Offset: 0x001774E4
	// (set) Token: 0x06005D93 RID: 23955 RVA: 0x0017930D File Offset: 0x0017750D
	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: 0x04003E3B RID: 15931
	private static readonly IntPtr NativeFieldInfoPtr_Id;

	// Token: 0x04003E3C RID: 15932
	private static readonly IntPtr NativeFieldInfoPtr_Name;

	// Token: 0x04003E3D RID: 15933
	private static readonly IntPtr NativeFieldInfoPtr_Description;

	// Token: 0x04003E3E RID: 15934
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Int32_Il2CppStringArray_0;
}
