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

namespace MarsSDK
{
	// Token: 0x02000659 RID: 1625
	public class PS4SaveDataConfig : Object
	{
		// Token: 0x17003890 RID: 14480
		// (get) Token: 0x0600A73A RID: 42810 RVA: 0x002AD8BC File Offset: 0x002ABABC
		public unsafe string TitlePrefix
		{
			[CallerCount(9)]
			[CachedScanResults(RefRangeStart = 7538, RefRangeEnd = 7547, XrefRangeStart = 7538, XrefRangeEnd = 7547, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			get
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PS4SaveDataConfig.NativeMethodInfoPtr_get_TitlePrefix_Public_get_String_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return IL2CPP.Il2CppStringToManaged(intPtr);
			}
		}

		// Token: 0x17003891 RID: 14481
		// (get) Token: 0x0600A73B RID: 42811 RVA: 0x002AD908 File Offset: 0x002ABB08
		public unsafe ulong BlockAmount
		{
			[CallerCount(10)]
			[CachedScanResults(RefRangeStart = 7527, RefRangeEnd = 7537, XrefRangeStart = 7527, XrefRangeEnd = 7537, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			get
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PS4SaveDataConfig.NativeMethodInfoPtr_get_BlockAmount_Public_get_UInt64_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return *IL2CPP.il2cpp_object_unbox(intPtr);
			}
		}

		// Token: 0x0600A73C RID: 42812 RVA: 0x002AD958 File Offset: 0x002ABB58
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 655175, XrefRangeEnd = 655177, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe PS4SaveDataConfig(string titlePrefix, ulong blockAmount)
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<PS4SaveDataConfig>.NativeClassPtr))
		{
			IntPtr* ptr;
			checked
			{
				ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.ManagedStringToIl2Cpp(titlePrefix);
			}
			ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref blockAmount;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PS4SaveDataConfig.NativeMethodInfoPtr__ctor_Public_Void_String_UInt64_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600A73D RID: 42813 RVA: 0x002AD9D0 File Offset: 0x002ABBD0
		// Note: this type is marked as 'beforefieldinit'.
		static PS4SaveDataConfig()
		{
			Il2CppClassPointerStore<PS4SaveDataConfig>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "MarsSDK", "PS4SaveDataConfig");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<PS4SaveDataConfig>.NativeClassPtr);
			PS4SaveDataConfig.NativeFieldInfoPtr__TitlePrefix_k__BackingField = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PS4SaveDataConfig>.NativeClassPtr, "<TitlePrefix>k__BackingField");
			PS4SaveDataConfig.NativeFieldInfoPtr__BlockAmount_k__BackingField = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PS4SaveDataConfig>.NativeClassPtr, "<BlockAmount>k__BackingField");
			PS4SaveDataConfig.NativeMethodInfoPtr_get_TitlePrefix_Public_get_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PS4SaveDataConfig>.NativeClassPtr, 100676228);
			PS4SaveDataConfig.NativeMethodInfoPtr_get_BlockAmount_Public_get_UInt64_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PS4SaveDataConfig>.NativeClassPtr, 100676229);
			PS4SaveDataConfig.NativeMethodInfoPtr__ctor_Public_Void_String_UInt64_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PS4SaveDataConfig>.NativeClassPtr, 100676230);
		}

		// Token: 0x0600A73E RID: 42814 RVA: 0x0000A74C File Offset: 0x0000894C
		public PS4SaveDataConfig(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x1700388E RID: 14478
		// (get) Token: 0x0600A73F RID: 42815 RVA: 0x002ADA64 File Offset: 0x002ABC64
		// (set) Token: 0x0600A740 RID: 42816 RVA: 0x002ADA8D File Offset: 0x002ABC8D
		public unsafe string _TitlePrefix_k__BackingField
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PS4SaveDataConfig.NativeFieldInfoPtr__TitlePrefix_k__BackingField);
				return IL2CPP.Il2CppStringToManaged(*intPtr);
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(PS4SaveDataConfig.NativeFieldInfoPtr__TitlePrefix_k__BackingField), IL2CPP.ManagedStringToIl2Cpp(value));
			}
		}

		// Token: 0x1700388F RID: 14479
		// (get) Token: 0x0600A741 RID: 42817 RVA: 0x002ADAB4 File Offset: 0x002ABCB4
		// (set) Token: 0x0600A742 RID: 42818 RVA: 0x002ADADC File Offset: 0x002ABCDC
		public unsafe ulong _BlockAmount_k__BackingField
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PS4SaveDataConfig.NativeFieldInfoPtr__BlockAmount_k__BackingField);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PS4SaveDataConfig.NativeFieldInfoPtr__BlockAmount_k__BackingField)) = value;
			}
		}

		// Token: 0x04007012 RID: 28690
		private static readonly IntPtr NativeFieldInfoPtr__TitlePrefix_k__BackingField;

		// Token: 0x04007013 RID: 28691
		private static readonly IntPtr NativeFieldInfoPtr__BlockAmount_k__BackingField;

		// Token: 0x04007014 RID: 28692
		private static readonly IntPtr NativeMethodInfoPtr_get_TitlePrefix_Public_get_String_0;

		// Token: 0x04007015 RID: 28693
		private static readonly IntPtr NativeMethodInfoPtr_get_BlockAmount_Public_get_UInt64_0;

		// Token: 0x04007016 RID: 28694
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_String_UInt64_0;
	}
}
