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

// Token: 0x020001C8 RID: 456
public class PlayerEvent : SceneEvent
{
	// Token: 0x06004A74 RID: 19060 RVA: 0x00128100 File Offset: 0x00126300
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544910, XrefRangeEnd = 544918, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void InitData(SceneEventManager SEM)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(SEM);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), PlayerEvent.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004A75 RID: 19061 RVA: 0x00128164 File Offset: 0x00126364
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544918, XrefRangeEnd = 545057, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void OpenEvent()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), PlayerEvent.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004A76 RID: 19062 RVA: 0x001281B4 File Offset: 0x001263B4
	[CallerCount(5)]
	[CachedScanResults(RefRangeStart = 541882, RefRangeEnd = 541887, XrefRangeStart = 541882, XrefRangeEnd = 541887, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe PlayerEvent()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<PlayerEvent>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PlayerEvent.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004A77 RID: 19063 RVA: 0x00128200 File Offset: 0x00126400
	// Note: this type is marked as 'beforefieldinit'.
	static PlayerEvent()
	{
		Il2CppClassPointerStore<PlayerEvent>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "PlayerEvent");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<PlayerEvent>.NativeClassPtr);
		PlayerEvent.NativeFieldInfoPtr_g_PlayerAni = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlayerEvent>.NativeClassPtr, "g_PlayerAni");
		PlayerEvent.NativeFieldInfoPtr_LookAtTarget = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlayerEvent>.NativeClassPtr, "LookAtTarget");
		PlayerEvent.NativeFieldInfoPtr_Type = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlayerEvent>.NativeClassPtr, "Type");
		PlayerEvent.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlayerEvent>.NativeClassPtr, 100668215);
		PlayerEvent.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlayerEvent>.NativeClassPtr, 100668216);
		PlayerEvent.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlayerEvent>.NativeClassPtr, 100668217);
	}

	// Token: 0x06004A78 RID: 19064 RVA: 0x00117370 File Offset: 0x00115570
	public PlayerEvent(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001AE5 RID: 6885
	// (get) Token: 0x06004A79 RID: 19065 RVA: 0x001282A8 File Offset: 0x001264A8
	// (set) Token: 0x06004A7A RID: 19066 RVA: 0x001282DC File Offset: 0x001264DC
	public unsafe NobetaAnimatorController g_PlayerAni
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlayerEvent.NativeFieldInfoPtr_g_PlayerAni);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new NobetaAnimatorController(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlayerEvent.NativeFieldInfoPtr_g_PlayerAni), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001AE6 RID: 6886
	// (get) Token: 0x06004A7B RID: 19067 RVA: 0x00128304 File Offset: 0x00126504
	// (set) Token: 0x06004A7C RID: 19068 RVA: 0x00128338 File Offset: 0x00126538
	public unsafe Transform LookAtTarget
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlayerEvent.NativeFieldInfoPtr_LookAtTarget);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Transform(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlayerEvent.NativeFieldInfoPtr_LookAtTarget), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001AE7 RID: 6887
	// (get) Token: 0x06004A7D RID: 19069 RVA: 0x00128360 File Offset: 0x00126560
	// (set) Token: 0x06004A7E RID: 19070 RVA: 0x00128394 File Offset: 0x00126594
	public unsafe Il2CppStructArray<PlayerEvent.EventType> Type
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlayerEvent.NativeFieldInfoPtr_Type);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppStructArray<PlayerEvent.EventType>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlayerEvent.NativeFieldInfoPtr_Type), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003122 RID: 12578
	private static readonly IntPtr NativeFieldInfoPtr_g_PlayerAni;

	// Token: 0x04003123 RID: 12579
	private static readonly IntPtr NativeFieldInfoPtr_LookAtTarget;

	// Token: 0x04003124 RID: 12580
	private static readonly IntPtr NativeFieldInfoPtr_Type;

	// Token: 0x04003125 RID: 12581
	private static readonly IntPtr NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0;

	// Token: 0x04003126 RID: 12582
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x04003127 RID: 12583
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

	// Token: 0x020001C9 RID: 457
	public enum EventType
	{
		// Token: 0x04003129 RID: 12585
		Other,
		// Token: 0x0400312A RID: 12586
		LookAtTarget,
		// Token: 0x0400312B RID: 12587
		CancelLookAtTarget,
		// Token: 0x0400312C RID: 12588
		FallDead,
		// Token: 0x0400312D RID: 12589
		L4ScriptNoHat,
		// Token: 0x0400312E RID: 12590
		L4ScriptHaveHat,
		// Token: 0x0400312F RID: 12591
		EyeLightOpen,
		// Token: 0x04003130 RID: 12592
		EyeLightClose,
		// Token: 0x04003131 RID: 12593
		IdleHeadUp,
		// Token: 0x04003132 RID: 12594
		IdleHeadDown,
		// Token: 0x04003133 RID: 12595
		IdleHeadNormal,
		// Token: 0x04003134 RID: 12596
		L4SwitchScriptBagOn,
		// Token: 0x04003135 RID: 12597
		L4SwitchScriptBagOff,
		// Token: 0x04003136 RID: 12598
		L5Glow,
		// Token: 0x04003137 RID: 12599
		L6PlayerLight,
		// Token: 0x04003138 RID: 12600
		GetMagicLightning
	}
}
