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

// Token: 0x020001BD RID: 445
public class NPCEvent : SceneEvent
{
	// Token: 0x060049E8 RID: 18920 RVA: 0x00126088 File Offset: 0x00124288
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544612, XrefRangeEnd = 544618, 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), NPCEvent.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x060049E9 RID: 18921 RVA: 0x001260EC File Offset: 0x001242EC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544618, XrefRangeEnd = 544700, 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), NPCEvent.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060049EA RID: 18922 RVA: 0x0012613C File Offset: 0x0012433C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544700, XrefRangeEnd = 544704, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe NPCEvent()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<NPCEvent>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(NPCEvent.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060049EB RID: 18923 RVA: 0x00126188 File Offset: 0x00124388
	// Note: this type is marked as 'beforefieldinit'.
	static NPCEvent()
	{
		Il2CppClassPointerStore<NPCEvent>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "NPCEvent");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<NPCEvent>.NativeClassPtr);
		NPCEvent.NativeFieldInfoPtr_g_NPC = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NPCEvent>.NativeClassPtr, "g_NPC");
		NPCEvent.NativeFieldInfoPtr_AnimationName = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NPCEvent>.NativeClassPtr, "AnimationName");
		NPCEvent.NativeFieldInfoPtr_LookAtTarget = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NPCEvent>.NativeClassPtr, "LookAtTarget");
		NPCEvent.NativeFieldInfoPtr_Postiont = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NPCEvent>.NativeClassPtr, "Postiont");
		NPCEvent.NativeFieldInfoPtr_MoveTarget = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NPCEvent>.NativeClassPtr, "MoveTarget");
		NPCEvent.NativeFieldInfoPtr_DialogEvent = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NPCEvent>.NativeClassPtr, "DialogEvent");
		NPCEvent.NativeFieldInfoPtr_Col = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NPCEvent>.NativeClassPtr, "Col");
		NPCEvent.NativeFieldInfoPtr_Weight = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NPCEvent>.NativeClassPtr, "Weight");
		NPCEvent.NativeFieldInfoPtr_BlenderTime = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NPCEvent>.NativeClassPtr, "BlenderTime");
		NPCEvent.NativeFieldInfoPtr_Type = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NPCEvent>.NativeClassPtr, "Type");
		NPCEvent.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NPCEvent>.NativeClassPtr, 100668181);
		NPCEvent.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NPCEvent>.NativeClassPtr, 100668182);
		NPCEvent.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NPCEvent>.NativeClassPtr, 100668183);
	}

	// Token: 0x060049EC RID: 18924 RVA: 0x00117370 File Offset: 0x00115570
	public NPCEvent(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001AB9 RID: 6841
	// (get) Token: 0x060049ED RID: 18925 RVA: 0x001262BC File Offset: 0x001244BC
	// (set) Token: 0x060049EE RID: 18926 RVA: 0x001262F0 File Offset: 0x001244F0
	public unsafe NPC g_NPC
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NPCEvent.NativeFieldInfoPtr_g_NPC);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new NPC(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(NPCEvent.NativeFieldInfoPtr_g_NPC), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001ABA RID: 6842
	// (get) Token: 0x060049EF RID: 18927 RVA: 0x00126318 File Offset: 0x00124518
	// (set) Token: 0x060049F0 RID: 18928 RVA: 0x00126341 File Offset: 0x00124541
	public unsafe string AnimationName
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NPCEvent.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(NPCEvent.NativeFieldInfoPtr_AnimationName), IL2CPP.ManagedStringToIl2Cpp(value));
		}
	}

	// Token: 0x17001ABB RID: 6843
	// (get) Token: 0x060049F1 RID: 18929 RVA: 0x00126368 File Offset: 0x00124568
	// (set) Token: 0x060049F2 RID: 18930 RVA: 0x0012639C File Offset: 0x0012459C
	public unsafe Transform LookAtTarget
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NPCEvent.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(NPCEvent.NativeFieldInfoPtr_LookAtTarget), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001ABC RID: 6844
	// (get) Token: 0x060049F3 RID: 18931 RVA: 0x001263C4 File Offset: 0x001245C4
	// (set) Token: 0x060049F4 RID: 18932 RVA: 0x001263F8 File Offset: 0x001245F8
	public unsafe Transform Postiont
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NPCEvent.NativeFieldInfoPtr_Postiont);
			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(NPCEvent.NativeFieldInfoPtr_Postiont), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001ABD RID: 6845
	// (get) Token: 0x060049F5 RID: 18933 RVA: 0x00126420 File Offset: 0x00124620
	// (set) Token: 0x060049F6 RID: 18934 RVA: 0x00126454 File Offset: 0x00124654
	public unsafe Transform MoveTarget
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NPCEvent.NativeFieldInfoPtr_MoveTarget);
			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(NPCEvent.NativeFieldInfoPtr_MoveTarget), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001ABE RID: 6846
	// (get) Token: 0x060049F7 RID: 18935 RVA: 0x0012647C File Offset: 0x0012467C
	// (set) Token: 0x060049F8 RID: 18936 RVA: 0x001264B0 File Offset: 0x001246B0
	public unsafe LoadScript DialogEvent
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NPCEvent.NativeFieldInfoPtr_DialogEvent);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new LoadScript(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(NPCEvent.NativeFieldInfoPtr_DialogEvent), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001ABF RID: 6847
	// (get) Token: 0x060049F9 RID: 18937 RVA: 0x001264D8 File Offset: 0x001246D8
	// (set) Token: 0x060049FA RID: 18938 RVA: 0x00126500 File Offset: 0x00124700
	public unsafe Color Col
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NPCEvent.NativeFieldInfoPtr_Col);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NPCEvent.NativeFieldInfoPtr_Col)) = value;
		}
	}

	// Token: 0x17001AC0 RID: 6848
	// (get) Token: 0x060049FB RID: 18939 RVA: 0x00126524 File Offset: 0x00124724
	// (set) Token: 0x060049FC RID: 18940 RVA: 0x0012654C File Offset: 0x0012474C
	public unsafe float Weight
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NPCEvent.NativeFieldInfoPtr_Weight);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NPCEvent.NativeFieldInfoPtr_Weight)) = value;
		}
	}

	// Token: 0x17001AC1 RID: 6849
	// (get) Token: 0x060049FD RID: 18941 RVA: 0x00126570 File Offset: 0x00124770
	// (set) Token: 0x060049FE RID: 18942 RVA: 0x00126598 File Offset: 0x00124798
	public unsafe float BlenderTime
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NPCEvent.NativeFieldInfoPtr_BlenderTime);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NPCEvent.NativeFieldInfoPtr_BlenderTime)) = value;
		}
	}

	// Token: 0x17001AC2 RID: 6850
	// (get) Token: 0x060049FF RID: 18943 RVA: 0x001265BC File Offset: 0x001247BC
	// (set) Token: 0x06004A00 RID: 18944 RVA: 0x001265F0 File Offset: 0x001247F0
	public unsafe Il2CppStructArray<NPCEvent.EventType> Type
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NPCEvent.NativeFieldInfoPtr_Type);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppStructArray<NPCEvent.EventType>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(NPCEvent.NativeFieldInfoPtr_Type), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x040030C2 RID: 12482
	private static readonly IntPtr NativeFieldInfoPtr_g_NPC;

	// Token: 0x040030C3 RID: 12483
	private static readonly IntPtr NativeFieldInfoPtr_AnimationName;

	// Token: 0x040030C4 RID: 12484
	private static readonly IntPtr NativeFieldInfoPtr_LookAtTarget;

	// Token: 0x040030C5 RID: 12485
	private static readonly IntPtr NativeFieldInfoPtr_Postiont;

	// Token: 0x040030C6 RID: 12486
	private static readonly IntPtr NativeFieldInfoPtr_MoveTarget;

	// Token: 0x040030C7 RID: 12487
	private static readonly IntPtr NativeFieldInfoPtr_DialogEvent;

	// Token: 0x040030C8 RID: 12488
	private static readonly IntPtr NativeFieldInfoPtr_Col;

	// Token: 0x040030C9 RID: 12489
	private static readonly IntPtr NativeFieldInfoPtr_Weight;

	// Token: 0x040030CA RID: 12490
	private static readonly IntPtr NativeFieldInfoPtr_BlenderTime;

	// Token: 0x040030CB RID: 12491
	private static readonly IntPtr NativeFieldInfoPtr_Type;

	// Token: 0x040030CC RID: 12492
	private static readonly IntPtr NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0;

	// Token: 0x040030CD RID: 12493
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x040030CE RID: 12494
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

	// Token: 0x020001BE RID: 446
	public enum EventType
	{
		// Token: 0x040030D0 RID: 12496
		Other,
		// Token: 0x040030D1 RID: 12497
		Create,
		// Token: 0x040030D2 RID: 12498
		Animation,
		// Token: 0x040030D3 RID: 12499
		FaceAnimation,
		// Token: 0x040030D4 RID: 12500
		LookAtTarget,
		// Token: 0x040030D5 RID: 12501
		LookAtPlayer,
		// Token: 0x040030D6 RID: 12502
		LookAtCancel,
		// Token: 0x040030D7 RID: 12503
		PlayerPosition,
		// Token: 0x040030D8 RID: 12504
		Position,
		// Token: 0x040030D9 RID: 12505
		Close,
		// Token: 0x040030DA RID: 12506
		WalkMoveTarget,
		// Token: 0x040030DB RID: 12507
		RunMoveTarget,
		// Token: 0x040030DC RID: 12508
		TurnTarget,
		// Token: 0x040030DD RID: 12509
		SetDialogueScript,
		// Token: 0x040030DE RID: 12510
		SetRimColor,
		// Token: 0x040030DF RID: 12511
		MoveStop,
		// Token: 0x040030E0 RID: 12512
		AnimatorWeight,
		// Token: 0x040030E1 RID: 12513
		MoveTarget
	}
}
