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

// Token: 0x0200031A RID: 794
public class UIInteractionTip : MonoBehaviour
{
	// Token: 0x06006545 RID: 25925 RVA: 0x00199748 File Offset: 0x00197948
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 599107, XrefRangeEnd = 599137, 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: 0x06006546 RID: 25926 RVA: 0x0019978C File Offset: 0x0019798C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 599137, XrefRangeEnd = 599154, 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: 0x06006547 RID: 25927 RVA: 0x001997E0 File Offset: 0x001979E0
	[CallerCount(5874)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5898, XrefRangeStart = 24, XrefRangeEnd = 5898, 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: 0x06006548 RID: 25928 RVA: 0x00199824 File Offset: 0x00197A24
	[CallerCount(5874)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5898, XrefRangeStart = 24, XrefRangeEnd = 5898, 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: 0x06006549 RID: 25929 RVA: 0x00199868 File Offset: 0x00197A68
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, 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: 0x0600654A RID: 25930 RVA: 0x001998B4 File Offset: 0x00197AB4
	// 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, 100670617);
		UIInteractionTip.NativeMethodInfoPtr_OnDeviceChanged_Private_Void_ControllerDevice_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInteractionTip>.NativeClassPtr, 100670618);
		UIInteractionTip.NativeMethodInfoPtr_Appear_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInteractionTip>.NativeClassPtr, 100670619);
		UIInteractionTip.NativeMethodInfoPtr_Hide_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInteractionTip>.NativeClassPtr, 100670620);
		UIInteractionTip.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInteractionTip>.NativeClassPtr, 100670621);
	}

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

	// Token: 0x170022E6 RID: 8934
	// (get) Token: 0x0600654C RID: 25932 RVA: 0x001999AC File Offset: 0x00197BAC
	// (set) Token: 0x0600654D RID: 25933 RVA: 0x001999E0 File Offset: 0x00197BE0
	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: 0x170022E7 RID: 8935
	// (get) Token: 0x0600654E RID: 25934 RVA: 0x00199A08 File Offset: 0x00197C08
	// (set) Token: 0x0600654F RID: 25935 RVA: 0x00199A3C File Offset: 0x00197C3C
	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: 0x170022E8 RID: 8936
	// (get) Token: 0x06006550 RID: 25936 RVA: 0x00199A64 File Offset: 0x00197C64
	// (set) Token: 0x06006551 RID: 25937 RVA: 0x00199A98 File Offset: 0x00197C98
	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: 0x170022E9 RID: 8937
	// (get) Token: 0x06006552 RID: 25938 RVA: 0x00199AC0 File Offset: 0x00197CC0
	// (set) Token: 0x06006553 RID: 25939 RVA: 0x00199AF4 File Offset: 0x00197CF4
	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: 0x170022EA RID: 8938
	// (get) Token: 0x06006554 RID: 25940 RVA: 0x00199B1C File Offset: 0x00197D1C
	// (set) Token: 0x06006555 RID: 25941 RVA: 0x00199B50 File Offset: 0x00197D50
	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: 0x04004344 RID: 17220
	private static readonly IntPtr NativeFieldInfoPtr_rectTransform;

	// Token: 0x04004345 RID: 17221
	private static readonly IntPtr NativeFieldInfoPtr_canvasGroup;

	// Token: 0x04004346 RID: 17222
	private static readonly IntPtr NativeFieldInfoPtr_buttonIcon;

	// Token: 0x04004347 RID: 17223
	private static readonly IntPtr NativeFieldInfoPtr_buttonLabel;

	// Token: 0x04004348 RID: 17224
	private static readonly IntPtr NativeFieldInfoPtr_tip;

	// Token: 0x04004349 RID: 17225
	private static readonly IntPtr NativeMethodInfoPtr_Init_Public_Void_0;

	// Token: 0x0400434A RID: 17226
	private static readonly IntPtr NativeMethodInfoPtr_OnDeviceChanged_Private_Void_ControllerDevice_0;

	// Token: 0x0400434B RID: 17227
	private static readonly IntPtr NativeMethodInfoPtr_Appear_Public_Void_0;

	// Token: 0x0400434C RID: 17228
	private static readonly IntPtr NativeMethodInfoPtr_Hide_Public_Void_0;

	// Token: 0x0400434D RID: 17229
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
