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

// Token: 0x020002CB RID: 715
public class UIInteractionPromptController : MonoBehaviour
{
	// Token: 0x06005E60 RID: 24160 RVA: 0x0017CD30 File Offset: 0x0017AF30
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 568500, RefRangeEnd = 568501, XrefRangeStart = 568475, XrefRangeEnd = 568500, 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: 0x06005E61 RID: 24161 RVA: 0x0017CD74 File Offset: 0x0017AF74
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 568518, RefRangeEnd = 568519, XrefRangeStart = 568501, XrefRangeEnd = 568518, 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: 0x06005E62 RID: 24162 RVA: 0x0017CDD0 File Offset: 0x0017AFD0
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 568524, RefRangeEnd = 568525, XrefRangeStart = 568519, XrefRangeEnd = 568524, 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: 0x06005E63 RID: 24163 RVA: 0x0017CE14 File Offset: 0x0017B014
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 568525, XrefRangeEnd = 568529, 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: 0x06005E64 RID: 24164 RVA: 0x0017CE68 File Offset: 0x0017B068
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 568532, RefRangeEnd = 568534, XrefRangeStart = 568529, XrefRangeEnd = 568532, 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: 0x06005E65 RID: 24165 RVA: 0x0017CEC4 File Offset: 0x0017B0C4
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 568558, RefRangeEnd = 568559, XrefRangeStart = 568534, XrefRangeEnd = 568558, 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: 0x06005E66 RID: 24166 RVA: 0x0017CF08 File Offset: 0x0017B108
	[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: 0x06005E67 RID: 24167 RVA: 0x0017CF54 File Offset: 0x0017B154
	// 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, 100670034);
		UIInteractionPromptController.NativeMethodInfoPtr_Appear_Public_Void_String_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInteractionPromptController>.NativeClassPtr, 100670035);
		UIInteractionPromptController.NativeMethodInfoPtr_Hide_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInteractionPromptController>.NativeClassPtr, 100670036);
		UIInteractionPromptController.NativeMethodInfoPtr_UpdateInputIcons_Public_Void_ControllerDevice_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInteractionPromptController>.NativeClassPtr, 100670037);
		UIInteractionPromptController.NativeMethodInfoPtr_Localize_Public_Void_LocalizationData_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInteractionPromptController>.NativeClassPtr, 100670038);
		UIInteractionPromptController.NativeMethodInfoPtr_Dispose_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInteractionPromptController>.NativeClassPtr, 100670039);
		UIInteractionPromptController.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UIInteractionPromptController>.NativeClassPtr, 100670040);
	}

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

	// Token: 0x170020CA RID: 8394
	// (get) Token: 0x06005E69 RID: 24169 RVA: 0x0017D038 File Offset: 0x0017B238
	// (set) Token: 0x06005E6A RID: 24170 RVA: 0x0017D06C File Offset: 0x0017B26C
	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: 0x170020CB RID: 8395
	// (get) Token: 0x06005E6B RID: 24171 RVA: 0x0017D094 File Offset: 0x0017B294
	// (set) Token: 0x06005E6C RID: 24172 RVA: 0x0017D0BC File Offset: 0x0017B2BC
	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: 0x04003E72 RID: 15986
	private static readonly IntPtr NativeFieldInfoPtr_prompts;

	// Token: 0x04003E73 RID: 15987
	private static readonly IntPtr NativeFieldInfoPtr_promptIndex;

	// Token: 0x04003E74 RID: 15988
	private static readonly IntPtr NativeMethodInfoPtr_Init_Public_Void_0;

	// Token: 0x04003E75 RID: 15989
	private static readonly IntPtr NativeMethodInfoPtr_Appear_Public_Void_String_0;

	// Token: 0x04003E76 RID: 15990
	private static readonly IntPtr NativeMethodInfoPtr_Hide_Public_Void_0;

	// Token: 0x04003E77 RID: 15991
	private static readonly IntPtr NativeMethodInfoPtr_UpdateInputIcons_Public_Void_ControllerDevice_0;

	// Token: 0x04003E78 RID: 15992
	private static readonly IntPtr NativeMethodInfoPtr_Localize_Public_Void_LocalizationData_0;

	// Token: 0x04003E79 RID: 15993
	private static readonly IntPtr NativeMethodInfoPtr_Dispose_Public_Void_0;

	// Token: 0x04003E7A RID: 15994
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
