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

namespace MarsSDK
{
	// Token: 0x02000601 RID: 1537
	public class PS4SaveDataConfig : Object
	{
		// Token: 0x170035F5 RID: 13813
		// (get) Token: 0x06009EE7 RID: 40679 RVA: 0x0028AB80 File Offset: 0x00288D80
		public unsafe string TitlePrefix
		{
			[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(PS4SaveDataConfig.NativeMethodInfoPtr_get_TitlePrefix_Public_get_String_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return IL2CPP.Il2CppStringToManaged(intPtr);
			}
		}

		// Token: 0x170035F6 RID: 13814
		// (get) Token: 0x06009EE8 RID: 40680 RVA: 0x0028ABCC File Offset: 0x00288DCC
		public unsafe ulong BlockAmount
		{
			[CallerCount(10)]
			[CachedScanResults(RefRangeStart = 7233, RefRangeEnd = 7243, XrefRangeStart = 7233, XrefRangeEnd = 7243, 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: 0x06009EE9 RID: 40681 RVA: 0x0028AC1C File Offset: 0x00288E1C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 622873, XrefRangeEnd = 622875, 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: 0x06009EEA RID: 40682 RVA: 0x0028AC94 File Offset: 0x00288E94
		// 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, 100675515);
			PS4SaveDataConfig.NativeMethodInfoPtr_get_BlockAmount_Public_get_UInt64_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PS4SaveDataConfig>.NativeClassPtr, 100675516);
			PS4SaveDataConfig.NativeMethodInfoPtr__ctor_Public_Void_String_UInt64_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PS4SaveDataConfig>.NativeClassPtr, 100675517);
		}

		// Token: 0x06009EEB RID: 40683 RVA: 0x0000A688 File Offset: 0x00008888
		public PS4SaveDataConfig(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x170035F3 RID: 13811
		// (get) Token: 0x06009EEC RID: 40684 RVA: 0x0028AD28 File Offset: 0x00288F28
		// (set) Token: 0x06009EED RID: 40685 RVA: 0x0028AD51 File Offset: 0x00288F51
		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: 0x170035F4 RID: 13812
		// (get) Token: 0x06009EEE RID: 40686 RVA: 0x0028AD78 File Offset: 0x00288F78
		// (set) Token: 0x06009EEF RID: 40687 RVA: 0x0028ADA0 File Offset: 0x00288FA0
		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: 0x04006A69 RID: 27241
		private static readonly IntPtr NativeFieldInfoPtr__TitlePrefix_k__BackingField;

		// Token: 0x04006A6A RID: 27242
		private static readonly IntPtr NativeFieldInfoPtr__BlockAmount_k__BackingField;

		// Token: 0x04006A6B RID: 27243
		private static readonly IntPtr NativeMethodInfoPtr_get_TitlePrefix_Public_get_String_0;

		// Token: 0x04006A6C RID: 27244
		private static readonly IntPtr NativeMethodInfoPtr_get_BlockAmount_Public_get_UInt64_0;

		// Token: 0x04006A6D RID: 27245
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_String_UInt64_0;
	}
}
