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

// Token: 0x020002CD RID: 717
public class UIInteractionTip : MonoBehaviour
{
	// Token: 0x06005E6D RID: 24173 RVA: 0x0017D0E0 File Offset: 0x0017B2E0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 568559, XrefRangeEnd = 568589, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Init()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIInteractionTip.NativeMethodInfoPtr_Init_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005E6E RID: 24174 RVA: 0x0017D124 File Offset: 0x0017B324
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 568589, XrefRangeEnd = 568606, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnDeviceChanged(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(UIInteractionTip.NativeMethodInfoPtr_OnDeviceChanged_Private_Void_ControllerDevice_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06005E6F RID: 24175 RVA: 0x0017D178 File Offset: 0x0017B378
	[CallerCount(5585)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5609, XrefRangeStart = 24, XrefRangeEnd = 5609, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Appear()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIInteractionTip.NativeMethodInfoPtr_Appear_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005E70 RID: 24176 RVA: 0x0017D1BC File Offset: 0x0017B3BC
	[CallerCount(5585)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5609, XrefRangeStart = 24, XrefRangeEnd = 5609, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Hide()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIInteractionTip.NativeMethodInfoPtr_Hide_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

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

	// Token: 0x06005E72 RID: 24178 RVA: 0x0017D24C File Offset: 0x0017B44C
	// Note: this type is marked as 'beforefieldinit'.
	static UIInteractionTip()
	{
		Il2CppClassPointerStore<UIInteractionTip>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "UIInteractionTip");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<UIInteractionTip>.NativeClassPtr);
		UIInteractionTip.NativeFieldInfoPtr_rectTransform = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIInteractionTip>.NativeClassPtr, "rectTransform");
		UIInteractionTip.NativeFieldInfoPtr_canvasGroup = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIInteractionTip>.NativeClassPtr, "canvasGroup");
		UIInteractionTip.NativeFieldInfoPtr_buttonIcon = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIInteractionTip>.NativeClassPtr, "buttonIcon");
		UIInteractionTip.NativeFieldInfoPtr_buttonLabel = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIInteractionTip>.NativeClassPtr, "buttonLabel");
		UIInteractionTip.NativeFieldInfoPtr_tip = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIInteractionTip>.NativeClassPtr, "tip");
		UIInteractionTip.NativeMethodInfoPtr_Init_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInteractionTip>.NativeClassPtr, 100670041);
		UIInteractionTip.NativeMethodInfoPtr_OnDeviceChanged_Private_Void_ControllerDevice_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInteractionTip>.NativeClassPtr, 100670042);
		UIInteractionTip.NativeMethodInfoPtr_Appear_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInteractionTip>.NativeClassPtr, 100670043);
		UIInteractionTip.NativeMethodInfoPtr_Hide_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInteractionTip>.NativeClassPtr, 100670044);
		UIInteractionTip.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInteractionTip>.NativeClassPtr, 100670045);
	}

	// Token: 0x06005E73 RID: 24179 RVA: 0x0000351C File Offset: 0x0000171C
	public UIInteractionTip(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170020CC RID: 8396
	// (get) Token: 0x06005E74 RID: 24180 RVA: 0x0017D344 File Offset: 0x0017B544
	// (set) Token: 0x06005E75 RID: 24181 RVA: 0x0017D378 File Offset: 0x0017B578
	public unsafe RectTransform rectTransform
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIInteractionTip.NativeFieldInfoPtr_rectTransform);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new RectTransform(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIInteractionTip.NativeFieldInfoPtr_rectTransform), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x170020CD RID: 8397
	// (get) Token: 0x06005E76 RID: 24182 RVA: 0x0017D3A0 File Offset: 0x0017B5A0
	// (set) Token: 0x06005E77 RID: 24183 RVA: 0x0017D3D4 File Offset: 0x0017B5D4
	public unsafe CanvasGroup canvasGroup
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIInteractionTip.NativeFieldInfoPtr_canvasGroup);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new CanvasGroup(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIInteractionTip.NativeFieldInfoPtr_canvasGroup), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x170020CE RID: 8398
	// (get) Token: 0x06005E78 RID: 24184 RVA: 0x0017D3FC File Offset: 0x0017B5FC
	// (set) Token: 0x06005E79 RID: 24185 RVA: 0x0017D430 File Offset: 0x0017B630
	public unsafe Sprite buttonIcon
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIInteractionTip.NativeFieldInfoPtr_buttonIcon);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Sprite(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIInteractionTip.NativeFieldInfoPtr_buttonIcon), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x170020CF RID: 8399
	// (get) Token: 0x06005E7A RID: 24186 RVA: 0x0017D458 File Offset: 0x0017B658
	// (set) Token: 0x06005E7B RID: 24187 RVA: 0x0017D48C File Offset: 0x0017B68C
	public unsafe Text buttonLabel
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIInteractionTip.NativeFieldInfoPtr_buttonLabel);
			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(UIInteractionTip.NativeFieldInfoPtr_buttonLabel), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x170020D0 RID: 8400
	// (get) Token: 0x06005E7C RID: 24188 RVA: 0x0017D4B4 File Offset: 0x0017B6B4
	// (set) Token: 0x06005E7D RID: 24189 RVA: 0x0017D4E8 File Offset: 0x0017B6E8
	public unsafe Text tip
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIInteractionTip.NativeFieldInfoPtr_tip);
			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(UIInteractionTip.NativeFieldInfoPtr_tip), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003E94 RID: 16020
	private static readonly IntPtr NativeFieldInfoPtr_rectTransform;

	// Token: 0x04003E95 RID: 16021
	private static readonly IntPtr NativeFieldInfoPtr_canvasGroup;

	// Token: 0x04003E96 RID: 16022
	private static readonly IntPtr NativeFieldInfoPtr_buttonIcon;

	// Token: 0x04003E97 RID: 16023
	private static readonly IntPtr NativeFieldInfoPtr_buttonLabel;

	// Token: 0x04003E98 RID: 16024
	private static readonly IntPtr NativeFieldInfoPtr_tip;

	// Token: 0x04003E99 RID: 16025
	private static readonly IntPtr NativeMethodInfoPtr_Init_Public_Void_0;

	// Token: 0x04003E9A RID: 16026
	private static readonly IntPtr NativeMethodInfoPtr_OnDeviceChanged_Private_Void_ControllerDevice_0;

	// Token: 0x04003E9B RID: 16027
	private static readonly IntPtr NativeMethodInfoPtr_Appear_Public_Void_0;

	// Token: 0x04003E9C RID: 16028
	private static readonly IntPtr NativeMethodInfoPtr_Hide_Public_Void_0;

	// Token: 0x04003E9D RID: 16029
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
