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

// Token: 0x020001A3 RID: 419
public class EnemyEvent : SceneEvent
{
	// Token: 0x06004808 RID: 18440 RVA: 0x0011EFA8 File Offset: 0x0011D1A8
	[CallerCount(6)]
	[CachedScanResults(RefRangeStart = 543597, RefRangeEnd = 543603, XrefRangeStart = 543561, XrefRangeEnd = 543597, 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: 0x06004809 RID: 18441 RVA: 0x0011F00C File Offset: 0x0011D20C
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 543670, RefRangeEnd = 543672, XrefRangeStart = 543603, XrefRangeEnd = 543670, 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: 0x0600480A RID: 18442 RVA: 0x0011F05C File Offset: 0x0011D25C
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 543673, RefRangeEnd = 543675, XrefRangeStart = 543672, XrefRangeEnd = 543673, 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: 0x0600480B RID: 18443 RVA: 0x0011F0AC File Offset: 0x0011D2AC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 543675, XrefRangeEnd = 543678, 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: 0x0600480C RID: 18444 RVA: 0x0011F110 File Offset: 0x0011D310
	[CallerCount(5)]
	[CachedScanResults(RefRangeStart = 541882, RefRangeEnd = 541887, XrefRangeStart = 541882, XrefRangeEnd = 541887, 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: 0x0600480D RID: 18445 RVA: 0x0011F15C File Offset: 0x0011D35C
	// 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, 100668074);
		EnemyEvent.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EnemyEvent>.NativeClassPtr, 100668075);
		EnemyEvent.NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EnemyEvent>.NativeClassPtr, 100668076);
		EnemyEvent.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EnemyEvent>.NativeClassPtr, 100668077);
		EnemyEvent.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<EnemyEvent>.NativeClassPtr, 100668078);
	}

	// Token: 0x0600480E RID: 18446 RVA: 0x00117370 File Offset: 0x00115570
	public EnemyEvent(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001A16 RID: 6678
	// (get) Token: 0x0600480F RID: 18447 RVA: 0x0011F268 File Offset: 0x0011D468
	// (set) Token: 0x06004810 RID: 18448 RVA: 0x0011F29C File Offset: 0x0011D49C
	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: 0x17001A17 RID: 6679
	// (get) Token: 0x06004811 RID: 18449 RVA: 0x0011F2C4 File Offset: 0x0011D4C4
	// (set) Token: 0x06004812 RID: 18450 RVA: 0x0011F2EC File Offset: 0x0011D4EC
	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: 0x17001A18 RID: 6680
	// (get) Token: 0x06004813 RID: 18451 RVA: 0x0011F310 File Offset: 0x0011D510
	// (set) Token: 0x06004814 RID: 18452 RVA: 0x0011F344 File Offset: 0x0011D544
	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: 0x17001A19 RID: 6681
	// (get) Token: 0x06004815 RID: 18453 RVA: 0x0011F36C File Offset: 0x0011D56C
	// (set) Token: 0x06004816 RID: 18454 RVA: 0x0011F3A0 File Offset: 0x0011D5A0
	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: 0x17001A1A RID: 6682
	// (get) Token: 0x06004817 RID: 18455 RVA: 0x0011F3C8 File Offset: 0x0011D5C8
	// (set) Token: 0x06004818 RID: 18456 RVA: 0x0011F3F1 File Offset: 0x0011D5F1
	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: 0x17001A1B RID: 6683
	// (get) Token: 0x06004819 RID: 18457 RVA: 0x0011F418 File Offset: 0x0011D618
	// (set) Token: 0x0600481A RID: 18458 RVA: 0x0011F440 File Offset: 0x0011D640
	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: 0x04002FA1 RID: 12193
	private static readonly IntPtr NativeFieldInfoPtr_Enemy;

	// Token: 0x04002FA2 RID: 12194
	private static readonly IntPtr NativeFieldInfoPtr_Type;

	// Token: 0x04002FA3 RID: 12195
	private static readonly IntPtr NativeFieldInfoPtr_CreateEnemyDeploySaene;

	// Token: 0x04002FA4 RID: 12196
	private static readonly IntPtr NativeFieldInfoPtr_Position;

	// Token: 0x04002FA5 RID: 12197
	private static readonly IntPtr NativeFieldInfoPtr_AnimationName;

	// Token: 0x04002FA6 RID: 12198
	private static readonly IntPtr NativeFieldInfoPtr_Float;

	// Token: 0x04002FA7 RID: 12199
	private static readonly IntPtr NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0;

	// Token: 0x04002FA8 RID: 12200
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x04002FA9 RID: 12201
	private static readonly IntPtr NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0;

	// Token: 0x04002FAA RID: 12202
	private static readonly IntPtr NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0;

	// Token: 0x04002FAB RID: 12203
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

	// Token: 0x020001A4 RID: 420
	public enum EventType
	{
		// Token: 0x04002FAD RID: 12205
		Other,
		// Token: 0x04002FAE RID: 12206
		AreaCreateEnemy,
		// Token: 0x04002FAF RID: 12207
		AIStatusfighting,
		// Token: 0x04002FB0 RID: 12208
		MonsterAura,
		// Token: 0x04002FB1 RID: 12209
		NoHear,
		// Token: 0x04002FB2 RID: 12210
		NoMove,
		// Token: 0x04002FB3 RID: 12211
		AIStatusSpacial,
		// Token: 0x04002FB4 RID: 12212
		Position,
		// Token: 0x04002FB5 RID: 12213
		Animation,
		// Token: 0x04002FB6 RID: 12214
		Remove,
		// Token: 0x04002FB7 RID: 12215
		Kill,
		// Token: 0x04002FB8 RID: 12216
		Speak,
		// Token: 0x04002FB9 RID: 12217
		CreateEnemy,
		// Token: 0x04002FBA RID: 12218
		Buff
	}
}
