using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using UnityEngine;
using UnityEngine.UI;

// Token: 0x0200028A RID: 650
public class UISwitchPageTip : MonoBehaviour
{
	// Token: 0x06005935 RID: 22837 RVA: 0x001676BC File Offset: 0x001658BC
	[CallerCount(6)]
	[CachedScanResults(RefRangeStart = 564785, RefRangeEnd = 564791, XrefRangeStart = 564754, XrefRangeEnd = 564785, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Init()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UISwitchPageTip.NativeMethodInfoPtr_Init_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005936 RID: 22838 RVA: 0x00167700 File Offset: 0x00165900
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 564791, XrefRangeEnd = 564798, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe 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(UISwitchPageTip.NativeMethodInfoPtr_Localize_Private_Void_LocalizationData_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06005937 RID: 22839 RVA: 0x0016775C File Offset: 0x0016595C
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 564835, RefRangeEnd = 564836, XrefRangeStart = 564798, XrefRangeEnd = 564835, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void UpdateIcon(ControllerDevice device)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref device;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UISwitchPageTip.NativeMethodInfoPtr_UpdateIcon_Private_Void_ControllerDevice_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06005938 RID: 22840 RVA: 0x001677B0 File Offset: 0x001659B0
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 564857, RefRangeEnd = 564858, XrefRangeStart = 564836, XrefRangeEnd = 564857, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Dispose()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UISwitchPageTip.NativeMethodInfoPtr_Dispose_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005939 RID: 22841 RVA: 0x001677F4 File Offset: 0x001659F4
	[CallerCount(63)]
	[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe UISwitchPageTip()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<UISwitchPageTip>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UISwitchPageTip.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600593A RID: 22842 RVA: 0x00167840 File Offset: 0x00165A40
	// Note: this type is marked as 'beforefieldinit'.
	static UISwitchPageTip()
	{
		Il2CppClassPointerStore<UISwitchPageTip>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "UISwitchPageTip");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<UISwitchPageTip>.NativeClassPtr);
		UISwitchPageTip.NativeFieldInfoPtr_leftIcon = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UISwitchPageTip>.NativeClassPtr, "leftIcon");
		UISwitchPageTip.NativeFieldInfoPtr_leftLabel = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UISwitchPageTip>.NativeClassPtr, "leftLabel");
		UISwitchPageTip.NativeFieldInfoPtr_leftKeyboardLabel = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UISwitchPageTip>.NativeClassPtr, "leftKeyboardLabel");
		UISwitchPageTip.NativeFieldInfoPtr_rightIcon = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UISwitchPageTip>.NativeClassPtr, "rightIcon");
		UISwitchPageTip.NativeFieldInfoPtr_rightLabel = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UISwitchPageTip>.NativeClassPtr, "rightLabel");
		UISwitchPageTip.NativeFieldInfoPtr_rightKeyboardLabel = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UISwitchPageTip>.NativeClassPtr, "rightKeyboardLabel");
		UISwitchPageTip.NativeMethodInfoPtr_Init_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISwitchPageTip>.NativeClassPtr, 100669600);
		UISwitchPageTip.NativeMethodInfoPtr_Localize_Private_Void_LocalizationData_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISwitchPageTip>.NativeClassPtr, 100669601);
		UISwitchPageTip.NativeMethodInfoPtr_UpdateIcon_Private_Void_ControllerDevice_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISwitchPageTip>.NativeClassPtr, 100669602);
		UISwitchPageTip.NativeMethodInfoPtr_Dispose_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISwitchPageTip>.NativeClassPtr, 100669603);
		UISwitchPageTip.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISwitchPageTip>.NativeClassPtr, 100669604);
	}

	// Token: 0x0600593B RID: 22843 RVA: 0x0000351C File Offset: 0x0000171C
	public UISwitchPageTip(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001F27 RID: 7975
	// (get) Token: 0x0600593C RID: 22844 RVA: 0x0016794C File Offset: 0x00165B4C
	// (set) Token: 0x0600593D RID: 22845 RVA: 0x00167980 File Offset: 0x00165B80
	public unsafe Image leftIcon
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UISwitchPageTip.NativeFieldInfoPtr_leftIcon);
			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(UISwitchPageTip.NativeFieldInfoPtr_leftIcon), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001F28 RID: 7976
	// (get) Token: 0x0600593E RID: 22846 RVA: 0x001679A8 File Offset: 0x00165BA8
	// (set) Token: 0x0600593F RID: 22847 RVA: 0x001679DC File Offset: 0x00165BDC
	public unsafe Text leftLabel
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UISwitchPageTip.NativeFieldInfoPtr_leftLabel);
			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(UISwitchPageTip.NativeFieldInfoPtr_leftLabel), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001F29 RID: 7977
	// (get) Token: 0x06005940 RID: 22848 RVA: 0x00167A04 File Offset: 0x00165C04
	// (set) Token: 0x06005941 RID: 22849 RVA: 0x00167A38 File Offset: 0x00165C38
	public unsafe Text leftKeyboardLabel
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UISwitchPageTip.NativeFieldInfoPtr_leftKeyboardLabel);
			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(UISwitchPageTip.NativeFieldInfoPtr_leftKeyboardLabel), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001F2A RID: 7978
	// (get) Token: 0x06005942 RID: 22850 RVA: 0x00167A60 File Offset: 0x00165C60
	// (set) Token: 0x06005943 RID: 22851 RVA: 0x00167A94 File Offset: 0x00165C94
	public unsafe Image rightIcon
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UISwitchPageTip.NativeFieldInfoPtr_rightIcon);
			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(UISwitchPageTip.NativeFieldInfoPtr_rightIcon), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001F2B RID: 7979
	// (get) Token: 0x06005944 RID: 22852 RVA: 0x00167ABC File Offset: 0x00165CBC
	// (set) Token: 0x06005945 RID: 22853 RVA: 0x00167AF0 File Offset: 0x00165CF0
	public unsafe Text rightLabel
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UISwitchPageTip.NativeFieldInfoPtr_rightLabel);
			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(UISwitchPageTip.NativeFieldInfoPtr_rightLabel), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001F2C RID: 7980
	// (get) Token: 0x06005946 RID: 22854 RVA: 0x00167B18 File Offset: 0x00165D18
	// (set) Token: 0x06005947 RID: 22855 RVA: 0x00167B4C File Offset: 0x00165D4C
	public unsafe Text rightKeyboardLabel
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UISwitchPageTip.NativeFieldInfoPtr_rightKeyboardLabel);
			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(UISwitchPageTip.NativeFieldInfoPtr_rightKeyboardLabel), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003B30 RID: 15152
	private static readonly IntPtr NativeFieldInfoPtr_leftIcon;

	// Token: 0x04003B31 RID: 15153
	private static readonly IntPtr NativeFieldInfoPtr_leftLabel;

	// Token: 0x04003B32 RID: 15154
	private static readonly IntPtr NativeFieldInfoPtr_leftKeyboardLabel;

	// Token: 0x04003B33 RID: 15155
	private static readonly IntPtr NativeFieldInfoPtr_rightIcon;

	// Token: 0x04003B34 RID: 15156
	private static readonly IntPtr NativeFieldInfoPtr_rightLabel;

	// Token: 0x04003B35 RID: 15157
	private static readonly IntPtr NativeFieldInfoPtr_rightKeyboardLabel;

	// Token: 0x04003B36 RID: 15158
	private static readonly IntPtr NativeMethodInfoPtr_Init_Public_Void_0;

	// Token: 0x04003B37 RID: 15159
	private static readonly IntPtr NativeMethodInfoPtr_Localize_Private_Void_LocalizationData_0;

	// Token: 0x04003B38 RID: 15160
	private static readonly IntPtr NativeMethodInfoPtr_UpdateIcon_Private_Void_ControllerDevice_0;

	// Token: 0x04003B39 RID: 15161
	private static readonly IntPtr NativeMethodInfoPtr_Dispose_Public_Void_0;

	// Token: 0x04003B3A RID: 15162
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
