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

// Token: 0x020001DA RID: 474
public class EnemyEvent : SceneEvent
{
	// Token: 0x06004D03 RID: 19715 RVA: 0x00133A0C File Offset: 0x00131C0C
	[CallerCount(6)]
	[CachedScanResults(RefRangeStart = 571502, RefRangeEnd = 571508, XrefRangeStart = 571466, XrefRangeEnd = 571502, 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), EnemyEvent.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004D04 RID: 19716 RVA: 0x00133A70 File Offset: 0x00131C70
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 571575, RefRangeEnd = 571577, XrefRangeStart = 571508, XrefRangeEnd = 571575, 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), EnemyEvent.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004D05 RID: 19717 RVA: 0x00133AC0 File Offset: 0x00131CC0
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 571578, RefRangeEnd = 571580, XrefRangeStart = 571577, XrefRangeEnd = 571578, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void ReleaseEvent()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), EnemyEvent.NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004D06 RID: 19718 RVA: 0x00133B10 File Offset: 0x00131D10
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 571580, XrefRangeEnd = 571583, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void OnTriggerExit(Collider other)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(other);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), EnemyEvent.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004D07 RID: 19719 RVA: 0x00133B74 File Offset: 0x00131D74
	[CallerCount(5)]
	[CachedScanResults(RefRangeStart = 569315, RefRangeEnd = 569320, XrefRangeStart = 569315, XrefRangeEnd = 569320, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe EnemyEvent()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<EnemyEvent>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(EnemyEvent.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004D08 RID: 19720 RVA: 0x00133BC0 File Offset: 0x00131DC0
	// Note: this type is marked as 'beforefieldinit'.
	static EnemyEvent()
	{
		Il2CppClassPointerStore<EnemyEvent>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "EnemyEvent");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<EnemyEvent>.NativeClassPtr);
		EnemyEvent.NativeFieldInfoPtr_Enemy = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EnemyEvent>.NativeClassPtr, "Enemy");
		EnemyEvent.NativeFieldInfoPtr_Type = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EnemyEvent>.NativeClassPtr, "Type");
		EnemyEvent.NativeFieldInfoPtr_CreateEnemyDeploySaene = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EnemyEvent>.NativeClassPtr, "CreateEnemyDeploySaene");
		EnemyEvent.NativeFieldInfoPtr_Position = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EnemyEvent>.NativeClassPtr, "Position");
		EnemyEvent.NativeFieldInfoPtr_AnimationName = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EnemyEvent>.NativeClassPtr, "AnimationName");
		EnemyEvent.NativeFieldInfoPtr_Float = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<EnemyEvent>.NativeClassPtr, "Float");
		EnemyEvent.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EnemyEvent>.NativeClassPtr, 100668489);
		EnemyEvent.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EnemyEvent>.NativeClassPtr, 100668490);
		EnemyEvent.NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EnemyEvent>.NativeClassPtr, 100668491);
		EnemyEvent.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EnemyEvent>.NativeClassPtr, 100668492);
		EnemyEvent.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EnemyEvent>.NativeClassPtr, 100668493);
	}

	// Token: 0x06004D09 RID: 19721 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public EnemyEvent(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001B8D RID: 7053
	// (get) Token: 0x06004D0A RID: 19722 RVA: 0x00133CCC File Offset: 0x00131ECC
	// (set) Token: 0x06004D0B RID: 19723 RVA: 0x00133D00 File Offset: 0x00131F00
	public unsafe Il2CppReferenceArray<NPCManage> Enemy
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EnemyEvent.NativeFieldInfoPtr_Enemy);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<NPCManage>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(EnemyEvent.NativeFieldInfoPtr_Enemy), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001B8E RID: 7054
	// (get) Token: 0x06004D0C RID: 19724 RVA: 0x00133D28 File Offset: 0x00131F28
	// (set) Token: 0x06004D0D RID: 19725 RVA: 0x00133D50 File Offset: 0x00131F50
	public unsafe EnemyEvent.EventType Type
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EnemyEvent.NativeFieldInfoPtr_Type);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EnemyEvent.NativeFieldInfoPtr_Type)) = value;
		}
	}

	// Token: 0x17001B8F RID: 7055
	// (get) Token: 0x06004D0E RID: 19726 RVA: 0x00133D74 File Offset: 0x00131F74
	// (set) Token: 0x06004D0F RID: 19727 RVA: 0x00133DA8 File Offset: 0x00131FA8
	public unsafe GameObject CreateEnemyDeploySaene
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EnemyEvent.NativeFieldInfoPtr_CreateEnemyDeploySaene);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new GameObject(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(EnemyEvent.NativeFieldInfoPtr_CreateEnemyDeploySaene), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001B90 RID: 7056
	// (get) Token: 0x06004D10 RID: 19728 RVA: 0x00133DD0 File Offset: 0x00131FD0
	// (set) Token: 0x06004D11 RID: 19729 RVA: 0x00133E04 File Offset: 0x00132004
	public unsafe Transform Position
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EnemyEvent.NativeFieldInfoPtr_Position);
			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(EnemyEvent.NativeFieldInfoPtr_Position), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001B91 RID: 7057
	// (get) Token: 0x06004D12 RID: 19730 RVA: 0x00133E2C File Offset: 0x0013202C
	// (set) Token: 0x06004D13 RID: 19731 RVA: 0x00133E55 File Offset: 0x00132055
	public unsafe string AnimationName
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EnemyEvent.NativeFieldInfoPtr_AnimationName);
			return IL2CPP.Il2CppStringToManaged(*intPtr);
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(EnemyEvent.NativeFieldInfoPtr_AnimationName), IL2CPP.ManagedStringToIl2Cpp(value));
		}
	}

	// Token: 0x17001B92 RID: 7058
	// (get) Token: 0x06004D14 RID: 19732 RVA: 0x00133E7C File Offset: 0x0013207C
	// (set) Token: 0x06004D15 RID: 19733 RVA: 0x00133EA4 File Offset: 0x001320A4
	public unsafe float Float
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EnemyEvent.NativeFieldInfoPtr_Float);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(EnemyEvent.NativeFieldInfoPtr_Float)) = value;
		}
	}

	// Token: 0x040032FE RID: 13054
	private static readonly IntPtr NativeFieldInfoPtr_Enemy;

	// Token: 0x040032FF RID: 13055
	private static readonly IntPtr NativeFieldInfoPtr_Type;

	// Token: 0x04003300 RID: 13056
	private static readonly IntPtr NativeFieldInfoPtr_CreateEnemyDeploySaene;

	// Token: 0x04003301 RID: 13057
	private static readonly IntPtr NativeFieldInfoPtr_Position;

	// Token: 0x04003302 RID: 13058
	private static readonly IntPtr NativeFieldInfoPtr_AnimationName;

	// Token: 0x04003303 RID: 13059
	private static readonly IntPtr NativeFieldInfoPtr_Float;

	// Token: 0x04003304 RID: 13060
	private static readonly IntPtr NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0;

	// Token: 0x04003305 RID: 13061
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x04003306 RID: 13062
	private static readonly IntPtr NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0;

	// Token: 0x04003307 RID: 13063
	private static readonly IntPtr NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0;

	// Token: 0x04003308 RID: 13064
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

	// Token: 0x020001DB RID: 475
	public enum EventType
	{
		// Token: 0x0400330A RID: 13066
		Other,
		// Token: 0x0400330B RID: 13067
		AreaCreateEnemy,
		// Token: 0x0400330C RID: 13068
		AIStatusfighting,
		// Token: 0x0400330D RID: 13069
		MonsterAura,
		// Token: 0x0400330E RID: 13070
		NoHear,
		// Token: 0x0400330F RID: 13071
		NoMove,
		// Token: 0x04003310 RID: 13072
		AIStatusSpacial,
		// Token: 0x04003311 RID: 13073
		Position,
		// Token: 0x04003312 RID: 13074
		Animation,
		// Token: 0x04003313 RID: 13075
		Remove,
		// Token: 0x04003314 RID: 13076
		Kill,
		// Token: 0x04003315 RID: 13077
		Speak,
		// Token: 0x04003316 RID: 13078
		CreateEnemy,
		// Token: 0x04003317 RID: 13079
		Buff
	}
}
