using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppInterop.Runtime.InteropTypes.Arrays;
using Il2CppSystem;
using MarsSDK;
using UnityEngine.UI;

// Token: 0x02000238 RID: 568
public class UIHistory : GameCanvasBase
{
	// Token: 0x06005196 RID: 20886 RVA: 0x00145328 File Offset: 0x00143528
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 553107, XrefRangeEnd = 553143, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void Init()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), UIHistory.NativeMethodInfoPtr_Init_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005197 RID: 20887 RVA: 0x00145378 File Offset: 0x00143578
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 553143, XrefRangeEnd = 553239, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void Appear(Action completeHandler)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(completeHandler);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), UIHistory.NativeMethodInfoPtr_Appear_Protected_Virtual_Void_Action_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06005198 RID: 20888 RVA: 0x001453DC File Offset: 0x001435DC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 553239, XrefRangeEnd = 553241, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void Move(Direction2D direction)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref direction;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), UIHistory.NativeMethodInfoPtr_Move_Public_Virtual_Void_Direction2D_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06005199 RID: 20889 RVA: 0x0014543C File Offset: 0x0014363C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 553241, XrefRangeEnd = 553247, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnHandlerSelected(UIHandlerBase handler)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(handler);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIHistory.NativeMethodInfoPtr_OnHandlerSelected_Private_Void_UIHandlerBase_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x0600519A RID: 20890 RVA: 0x00145498 File Offset: 0x00143698
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 0, XrefRangeEnd = 0, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnHandlerDeselected(UIHandlerBase handler)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(handler);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIHistory.NativeMethodInfoPtr_OnHandlerDeselected_Private_Void_UIHandlerBase_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x0600519B RID: 20891 RVA: 0x001454F4 File Offset: 0x001436F4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 553247, XrefRangeEnd = 553259, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void Submit()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), UIHistory.NativeMethodInfoPtr_Submit_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600519C RID: 20892 RVA: 0x00145544 File Offset: 0x00143744
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 553259, XrefRangeEnd = 553282, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe string GetPlayingTimeValue()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIHistory.NativeMethodInfoPtr_GetPlayingTimeValue_Private_String_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		return IL2CPP.Il2CppStringToManaged(intPtr);
	}

	// Token: 0x0600519D RID: 20893 RVA: 0x00145590 File Offset: 0x00143790
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 553282, XrefRangeEnd = 553288, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe string GetNumberValue(int value)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref value;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIHistory.NativeMethodInfoPtr_GetNumberValue_Private_String_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return IL2CPP.Il2CppStringToManaged(intPtr);
		}
	}

	// Token: 0x0600519E RID: 20894 RVA: 0x001455F0 File Offset: 0x001437F0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 553288, XrefRangeEnd = 553301, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void Localize(LocalizationData data)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(data);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), UIHistory.NativeMethodInfoPtr_Localize_Public_Virtual_Void_LocalizationData_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x0600519F RID: 20895 RVA: 0x00145654 File Offset: 0x00143854
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 0, XrefRangeEnd = 0, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe UIHistory()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<UIHistory>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIHistory.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060051A0 RID: 20896 RVA: 0x001456A0 File Offset: 0x001438A0
	// Note: this type is marked as 'beforefieldinit'.
	static UIHistory()
	{
		Il2CppClassPointerStore<UIHistory>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "UIHistory");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<UIHistory>.NativeClassPtr);
		UIHistory.NativeFieldInfoPtr_title = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIHistory>.NativeClassPtr, "title");
		UIHistory.NativeFieldInfoPtr_topHandlers = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIHistory>.NativeClassPtr, "topHandlers");
		UIHistory.NativeFieldInfoPtr_confirmHandler = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIHistory>.NativeClassPtr, "confirmHandler");
		UIHistory.NativeFieldInfoPtr_navigationEffect = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIHistory>.NativeClassPtr, "navigationEffect");
		UIHistory.NativeFieldInfoPtr_submissionEffect = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIHistory>.NativeClassPtr, "submissionEffect");
		UIHistory.NativeMethodInfoPtr_Init_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIHistory>.NativeClassPtr, 100668770);
		UIHistory.NativeMethodInfoPtr_Appear_Protected_Virtual_Void_Action_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIHistory>.NativeClassPtr, 100668771);
		UIHistory.NativeMethodInfoPtr_Move_Public_Virtual_Void_Direction2D_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIHistory>.NativeClassPtr, 100668772);
		UIHistory.NativeMethodInfoPtr_OnHandlerSelected_Private_Void_UIHandlerBase_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIHistory>.NativeClassPtr, 100668773);
		UIHistory.NativeMethodInfoPtr_OnHandlerDeselected_Private_Void_UIHandlerBase_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIHistory>.NativeClassPtr, 100668774);
		UIHistory.NativeMethodInfoPtr_Submit_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIHistory>.NativeClassPtr, 100668775);
		UIHistory.NativeMethodInfoPtr_GetPlayingTimeValue_Private_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIHistory>.NativeClassPtr, 100668776);
		UIHistory.NativeMethodInfoPtr_GetNumberValue_Private_String_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIHistory>.NativeClassPtr, 100668777);
		UIHistory.NativeMethodInfoPtr_Localize_Public_Virtual_Void_LocalizationData_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIHistory>.NativeClassPtr, 100668778);
		UIHistory.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIHistory>.NativeClassPtr, 100668779);
	}

	// Token: 0x060051A1 RID: 20897 RVA: 0x00143684 File Offset: 0x00141884
	public UIHistory(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001D15 RID: 7445
	// (get) Token: 0x060051A2 RID: 20898 RVA: 0x001457FC File Offset: 0x001439FC
	// (set) Token: 0x060051A3 RID: 20899 RVA: 0x00145830 File Offset: 0x00143A30
	public unsafe Text title
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIHistory.NativeFieldInfoPtr_title);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Text(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIHistory.NativeFieldInfoPtr_title), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001D16 RID: 7446
	// (get) Token: 0x060051A4 RID: 20900 RVA: 0x00145858 File Offset: 0x00143A58
	// (set) Token: 0x060051A5 RID: 20901 RVA: 0x0014588C File Offset: 0x00143A8C
	public unsafe Il2CppReferenceArray<UIHistoryHandler> topHandlers
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIHistory.NativeFieldInfoPtr_topHandlers);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<UIHistoryHandler>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIHistory.NativeFieldInfoPtr_topHandlers), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001D17 RID: 7447
	// (get) Token: 0x060051A6 RID: 20902 RVA: 0x001458B4 File Offset: 0x00143AB4
	// (set) Token: 0x060051A7 RID: 20903 RVA: 0x001458E8 File Offset: 0x00143AE8
	public unsafe UILabelHandler confirmHandler
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIHistory.NativeFieldInfoPtr_confirmHandler);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new UILabelHandler(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIHistory.NativeFieldInfoPtr_confirmHandler), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001D18 RID: 7448
	// (get) Token: 0x060051A8 RID: 20904 RVA: 0x00145910 File Offset: 0x00143B10
	// (set) Token: 0x060051A9 RID: 20905 RVA: 0x00145944 File Offset: 0x00143B44
	public unsafe UINavigationEffect navigationEffect
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIHistory.NativeFieldInfoPtr_navigationEffect);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new UINavigationEffect(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIHistory.NativeFieldInfoPtr_navigationEffect), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001D19 RID: 7449
	// (get) Token: 0x060051AA RID: 20906 RVA: 0x0014596C File Offset: 0x00143B6C
	// (set) Token: 0x060051AB RID: 20907 RVA: 0x001459A0 File Offset: 0x00143BA0
	public unsafe Image submissionEffect
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIHistory.NativeFieldInfoPtr_submissionEffect);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Image(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIHistory.NativeFieldInfoPtr_submissionEffect), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003609 RID: 13833
	private static readonly IntPtr NativeFieldInfoPtr_title;

	// Token: 0x0400360A RID: 13834
	private static readonly IntPtr NativeFieldInfoPtr_topHandlers;

	// Token: 0x0400360B RID: 13835
	private static readonly IntPtr NativeFieldInfoPtr_confirmHandler;

	// Token: 0x0400360C RID: 13836
	private static readonly IntPtr NativeFieldInfoPtr_navigationEffect;

	// Token: 0x0400360D RID: 13837
	private static readonly IntPtr NativeFieldInfoPtr_submissionEffect;

	// Token: 0x0400360E RID: 13838
	private static readonly IntPtr NativeMethodInfoPtr_Init_Public_Virtual_Void_0;

	// Token: 0x0400360F RID: 13839
	private static readonly IntPtr NativeMethodInfoPtr_Appear_Protected_Virtual_Void_Action_0;

	// Token: 0x04003610 RID: 13840
	private static readonly IntPtr NativeMethodInfoPtr_Move_Public_Virtual_Void_Direction2D_0;

	// Token: 0x04003611 RID: 13841
	private static readonly IntPtr NativeMethodInfoPtr_OnHandlerSelected_Private_Void_UIHandlerBase_0;

	// Token: 0x04003612 RID: 13842
	private static readonly IntPtr NativeMethodInfoPtr_OnHandlerDeselected_Private_Void_UIHandlerBase_0;

	// Token: 0x04003613 RID: 13843
	private static readonly IntPtr NativeMethodInfoPtr_Submit_Public_Virtual_Void_0;

	// Token: 0x04003614 RID: 13844
	private static readonly IntPtr NativeMethodInfoPtr_GetPlayingTimeValue_Private_String_0;

	// Token: 0x04003615 RID: 13845
	private static readonly IntPtr NativeMethodInfoPtr_GetNumberValue_Private_String_Int32_0;

	// Token: 0x04003616 RID: 13846
	private static readonly IntPtr NativeMethodInfoPtr_Localize_Public_Virtual_Void_LocalizationData_0;

	// Token: 0x04003617 RID: 13847
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
