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

// Token: 0x020002D4 RID: 724
public class UISwitchPageTip : MonoBehaviour
{
	// Token: 0x06005F9E RID: 24478 RVA: 0x00182164 File Offset: 0x00180364
	[CallerCount(6)]
	[CachedScanResults(RefRangeStart = 594824, RefRangeEnd = 594830, XrefRangeStart = 594793, XrefRangeEnd = 594824, 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: 0x06005F9F RID: 24479 RVA: 0x001821A8 File Offset: 0x001803A8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 594830, XrefRangeEnd = 594837, 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: 0x06005FA0 RID: 24480 RVA: 0x00182204 File Offset: 0x00180404
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 594874, RefRangeEnd = 594875, XrefRangeStart = 594837, XrefRangeEnd = 594874, 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: 0x06005FA1 RID: 24481 RVA: 0x00182258 File Offset: 0x00180458
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 594896, RefRangeEnd = 594897, XrefRangeStart = 594875, XrefRangeEnd = 594896, 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: 0x06005FA2 RID: 24482 RVA: 0x0018229C File Offset: 0x0018049C
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, 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: 0x06005FA3 RID: 24483 RVA: 0x001822E8 File Offset: 0x001804E8
	// 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, 100670147);
		UISwitchPageTip.NativeMethodInfoPtr_Localize_Private_Void_LocalizationData_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISwitchPageTip>.NativeClassPtr, 100670148);
		UISwitchPageTip.NativeMethodInfoPtr_UpdateIcon_Private_Void_ControllerDevice_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISwitchPageTip>.NativeClassPtr, 100670149);
		UISwitchPageTip.NativeMethodInfoPtr_Dispose_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISwitchPageTip>.NativeClassPtr, 100670150);
		UISwitchPageTip.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISwitchPageTip>.NativeClassPtr, 100670151);
	}

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

	// Token: 0x17002119 RID: 8473
	// (get) Token: 0x06005FA5 RID: 24485 RVA: 0x001823F4 File Offset: 0x001805F4
	// (set) Token: 0x06005FA6 RID: 24486 RVA: 0x00182428 File Offset: 0x00180628
	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: 0x1700211A RID: 8474
	// (get) Token: 0x06005FA7 RID: 24487 RVA: 0x00182450 File Offset: 0x00180650
	// (set) Token: 0x06005FA8 RID: 24488 RVA: 0x00182484 File Offset: 0x00180684
	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: 0x1700211B RID: 8475
	// (get) Token: 0x06005FA9 RID: 24489 RVA: 0x001824AC File Offset: 0x001806AC
	// (set) Token: 0x06005FAA RID: 24490 RVA: 0x001824E0 File Offset: 0x001806E0
	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: 0x1700211C RID: 8476
	// (get) Token: 0x06005FAB RID: 24491 RVA: 0x00182508 File Offset: 0x00180708
	// (set) Token: 0x06005FAC RID: 24492 RVA: 0x0018253C File Offset: 0x0018073C
	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: 0x1700211D RID: 8477
	// (get) Token: 0x06005FAD RID: 24493 RVA: 0x00182564 File Offset: 0x00180764
	// (set) Token: 0x06005FAE RID: 24494 RVA: 0x00182598 File Offset: 0x00180798
	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: 0x1700211E RID: 8478
	// (get) Token: 0x06005FAF RID: 24495 RVA: 0x001825C0 File Offset: 0x001807C0
	// (set) Token: 0x06005FB0 RID: 24496 RVA: 0x001825F4 File Offset: 0x001807F4
	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: 0x04003F9A RID: 16282
	private static readonly IntPtr NativeFieldInfoPtr_leftIcon;

	// Token: 0x04003F9B RID: 16283
	private static readonly IntPtr NativeFieldInfoPtr_leftLabel;

	// Token: 0x04003F9C RID: 16284
	private static readonly IntPtr NativeFieldInfoPtr_leftKeyboardLabel;

	// Token: 0x04003F9D RID: 16285
	private static readonly IntPtr NativeFieldInfoPtr_rightIcon;

	// Token: 0x04003F9E RID: 16286
	private static readonly IntPtr NativeFieldInfoPtr_rightLabel;

	// Token: 0x04003F9F RID: 16287
	private static readonly IntPtr NativeFieldInfoPtr_rightKeyboardLabel;

	// Token: 0x04003FA0 RID: 16288
	private static readonly IntPtr NativeMethodInfoPtr_Init_Public_Void_0;

	// Token: 0x04003FA1 RID: 16289
	private static readonly IntPtr NativeMethodInfoPtr_Localize_Private_Void_LocalizationData_0;

	// Token: 0x04003FA2 RID: 16290
	private static readonly IntPtr NativeMethodInfoPtr_UpdateIcon_Private_Void_ControllerDevice_0;

	// Token: 0x04003FA3 RID: 16291
	private static readonly IntPtr NativeMethodInfoPtr_Dispose_Public_Void_0;

	// Token: 0x04003FA4 RID: 16292
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
