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

// Token: 0x02000203 RID: 515
public class PlayerEvent : SceneEvent
{
	// Token: 0x06004F8C RID: 20364 RVA: 0x0013D218 File Offset: 0x0013B418
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572863, XrefRangeEnd = 572871, 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: 0x06004F8D RID: 20365 RVA: 0x0013D27C File Offset: 0x0013B47C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572871, XrefRangeEnd = 573019, 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: 0x06004F8E RID: 20366 RVA: 0x0013D2CC File Offset: 0x0013B4CC
	[CallerCount(5)]
	[CachedScanResults(RefRangeStart = 569315, RefRangeEnd = 569320, XrefRangeStart = 569315, XrefRangeEnd = 569320, 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: 0x06004F8F RID: 20367 RVA: 0x0013D318 File Offset: 0x0013B518
	// 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, 100668639);
		PlayerEvent.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlayerEvent>.NativeClassPtr, 100668640);
		PlayerEvent.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlayerEvent>.NativeClassPtr, 100668641);
	}

	// Token: 0x06004F90 RID: 20368 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public PlayerEvent(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001C62 RID: 7266
	// (get) Token: 0x06004F91 RID: 20369 RVA: 0x0013D3C0 File Offset: 0x0013B5C0
	// (set) Token: 0x06004F92 RID: 20370 RVA: 0x0013D3F4 File Offset: 0x0013B5F4
	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: 0x17001C63 RID: 7267
	// (get) Token: 0x06004F93 RID: 20371 RVA: 0x0013D41C File Offset: 0x0013B61C
	// (set) Token: 0x06004F94 RID: 20372 RVA: 0x0013D450 File Offset: 0x0013B650
	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: 0x17001C64 RID: 7268
	// (get) Token: 0x06004F95 RID: 20373 RVA: 0x0013D478 File Offset: 0x0013B678
	// (set) Token: 0x06004F96 RID: 20374 RVA: 0x0013D4AC File Offset: 0x0013B6AC
	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: 0x04003490 RID: 13456
	private static readonly IntPtr NativeFieldInfoPtr_g_PlayerAni;

	// Token: 0x04003491 RID: 13457
	private static readonly IntPtr NativeFieldInfoPtr_LookAtTarget;

	// Token: 0x04003492 RID: 13458
	private static readonly IntPtr NativeFieldInfoPtr_Type;

	// Token: 0x04003493 RID: 13459
	private static readonly IntPtr NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0;

	// Token: 0x04003494 RID: 13460
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x04003495 RID: 13461
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

	// Token: 0x02000204 RID: 516
	public enum EventType
	{
		// Token: 0x04003497 RID: 13463
		Other,
		// Token: 0x04003498 RID: 13464
		LookAtTarget,
		// Token: 0x04003499 RID: 13465
		CancelLookAtTarget,
		// Token: 0x0400349A RID: 13466
		FallDead,
		// Token: 0x0400349B RID: 13467
		L4ScriptNoHat,
		// Token: 0x0400349C RID: 13468
		L4ScriptHaveHat,
		// Token: 0x0400349D RID: 13469
		EyeLightOpen,
		// Token: 0x0400349E RID: 13470
		EyeLightClose,
		// Token: 0x0400349F RID: 13471
		IdleHeadUp,
		// Token: 0x040034A0 RID: 13472
		IdleHeadDown,
		// Token: 0x040034A1 RID: 13473
		IdleHeadNormal,
		// Token: 0x040034A2 RID: 13474
		L4SwitchScriptBagOn,
		// Token: 0x040034A3 RID: 13475
		L4SwitchScriptBagOff,
		// Token: 0x040034A4 RID: 13476
		L5Glow,
		// Token: 0x040034A5 RID: 13477
		L6PlayerLight,
		// Token: 0x040034A6 RID: 13478
		GetMagicLightning,
		// Token: 0x040034A7 RID: 13479
		ShadowSwitch0,
		// Token: 0x040034A8 RID: 13480
		ShadowSwitch1
	}
}
