using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppInterop.Runtime.InteropTypes.Arrays;
using UnityEngine;

// Token: 0x02000318 RID: 792
public class UIInteractionPromptController : MonoBehaviour
{
	// Token: 0x06006538 RID: 25912 RVA: 0x00199398 File Offset: 0x00197598
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 599048, RefRangeEnd = 599049, XrefRangeStart = 599023, XrefRangeEnd = 599048, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Init()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIInteractionPromptController.NativeMethodInfoPtr_Init_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06006539 RID: 25913 RVA: 0x001993DC File Offset: 0x001975DC
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 599066, RefRangeEnd = 599067, XrefRangeStart = 599049, XrefRangeEnd = 599066, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Appear(string content)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.ManagedStringToIl2Cpp(content);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIInteractionPromptController.NativeMethodInfoPtr_Appear_Public_Void_String_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x0600653A RID: 25914 RVA: 0x00199438 File Offset: 0x00197638
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 599072, RefRangeEnd = 599073, XrefRangeStart = 599067, XrefRangeEnd = 599072, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Hide()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIInteractionPromptController.NativeMethodInfoPtr_Hide_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600653B RID: 25915 RVA: 0x0019947C File Offset: 0x0019767C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 599073, XrefRangeEnd = 599077, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void UpdateInputIcons(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(UIInteractionPromptController.NativeMethodInfoPtr_UpdateInputIcons_Public_Void_ControllerDevice_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x0600653C RID: 25916 RVA: 0x001994D0 File Offset: 0x001976D0
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 599080, RefRangeEnd = 599082, XrefRangeStart = 599077, XrefRangeEnd = 599080, 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(UIInteractionPromptController.NativeMethodInfoPtr_Localize_Public_Void_LocalizationData_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x0600653D RID: 25917 RVA: 0x0019952C File Offset: 0x0019772C
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 599106, RefRangeEnd = 599107, XrefRangeStart = 599082, XrefRangeEnd = 599106, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Dispose()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UIInteractionPromptController.NativeMethodInfoPtr_Dispose_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

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

	// Token: 0x0600653F RID: 25919 RVA: 0x001995BC File Offset: 0x001977BC
	// Note: this type is marked as 'beforefieldinit'.
	static UIInteractionPromptController()
	{
		Il2CppClassPointerStore<UIInteractionPromptController>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "UIInteractionPromptController");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<UIInteractionPromptController>.NativeClassPtr);
		UIInteractionPromptController.NativeFieldInfoPtr_prompts = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIInteractionPromptController>.NativeClassPtr, "prompts");
		UIInteractionPromptController.NativeFieldInfoPtr_promptIndex = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UIInteractionPromptController>.NativeClassPtr, "promptIndex");
		UIInteractionPromptController.NativeMethodInfoPtr_Init_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInteractionPromptController>.NativeClassPtr, 100670610);
		UIInteractionPromptController.NativeMethodInfoPtr_Appear_Public_Void_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInteractionPromptController>.NativeClassPtr, 100670611);
		UIInteractionPromptController.NativeMethodInfoPtr_Hide_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInteractionPromptController>.NativeClassPtr, 100670612);
		UIInteractionPromptController.NativeMethodInfoPtr_UpdateInputIcons_Public_Void_ControllerDevice_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInteractionPromptController>.NativeClassPtr, 100670613);
		UIInteractionPromptController.NativeMethodInfoPtr_Localize_Public_Void_LocalizationData_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInteractionPromptController>.NativeClassPtr, 100670614);
		UIInteractionPromptController.NativeMethodInfoPtr_Dispose_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInteractionPromptController>.NativeClassPtr, 100670615);
		UIInteractionPromptController.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInteractionPromptController>.NativeClassPtr, 100670616);
	}

	// Token: 0x06006540 RID: 25920 RVA: 0x0000351C File Offset: 0x0000171C
	public UIInteractionPromptController(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170022E4 RID: 8932
	// (get) Token: 0x06006541 RID: 25921 RVA: 0x001996A0 File Offset: 0x001978A0
	// (set) Token: 0x06006542 RID: 25922 RVA: 0x001996D4 File Offset: 0x001978D4
	public unsafe Il2CppReferenceArray<UIInteractionPrompt> prompts
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIInteractionPromptController.NativeFieldInfoPtr_prompts);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<UIInteractionPrompt>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIInteractionPromptController.NativeFieldInfoPtr_prompts), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x170022E5 RID: 8933
	// (get) Token: 0x06006543 RID: 25923 RVA: 0x001996FC File Offset: 0x001978FC
	// (set) Token: 0x06006544 RID: 25924 RVA: 0x00199724 File Offset: 0x00197924
	public unsafe int promptIndex
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIInteractionPromptController.NativeFieldInfoPtr_promptIndex);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UIInteractionPromptController.NativeFieldInfoPtr_promptIndex)) = value;
		}
	}

	// Token: 0x04004320 RID: 17184
	private static readonly IntPtr NativeFieldInfoPtr_prompts;

	// Token: 0x04004321 RID: 17185
	private static readonly IntPtr NativeFieldInfoPtr_promptIndex;

	// Token: 0x04004322 RID: 17186
	private static readonly IntPtr NativeMethodInfoPtr_Init_Public_Void_0;

	// Token: 0x04004323 RID: 17187
	private static readonly IntPtr NativeMethodInfoPtr_Appear_Public_Void_String_0;

	// Token: 0x04004324 RID: 17188
	private static readonly IntPtr NativeMethodInfoPtr_Hide_Public_Void_0;

	// Token: 0x04004325 RID: 17189
	private static readonly IntPtr NativeMethodInfoPtr_UpdateInputIcons_Public_Void_ControllerDevice_0;

	// Token: 0x04004326 RID: 17190
	private static readonly IntPtr NativeMethodInfoPtr_Localize_Public_Void_LocalizationData_0;

	// Token: 0x04004327 RID: 17191
	private static readonly IntPtr NativeMethodInfoPtr_Dispose_Public_Void_0;

	// Token: 0x04004328 RID: 17192
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
