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

// Token: 0x020001F5 RID: 501
public class NPCEvent : SceneEvent
{
	// Token: 0x06004EE7 RID: 20199 RVA: 0x0013ABEC File Offset: 0x00138DEC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572517, XrefRangeEnd = 572523, 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: 0x06004EE8 RID: 20200 RVA: 0x0013AC50 File Offset: 0x00138E50
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572523, XrefRangeEnd = 572615, 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: 0x06004EE9 RID: 20201 RVA: 0x0013ACA0 File Offset: 0x00138EA0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572615, XrefRangeEnd = 572619, 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: 0x06004EEA RID: 20202 RVA: 0x0013ACEC File Offset: 0x00138EEC
	// 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_LookAtSpeed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NPCEvent>.NativeClassPtr, "LookAtSpeed");
		NPCEvent.NativeFieldInfoPtr_Type = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<NPCEvent>.NativeClassPtr, "Type");
		NPCEvent.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NPCEvent>.NativeClassPtr, 100668598);
		NPCEvent.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NPCEvent>.NativeClassPtr, 100668599);
		NPCEvent.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<NPCEvent>.NativeClassPtr, 100668600);
	}

	// Token: 0x06004EEB RID: 20203 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public NPCEvent(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001C30 RID: 7216
	// (get) Token: 0x06004EEC RID: 20204 RVA: 0x0013AE34 File Offset: 0x00139034
	// (set) Token: 0x06004EED RID: 20205 RVA: 0x0013AE68 File Offset: 0x00139068
	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: 0x17001C31 RID: 7217
	// (get) Token: 0x06004EEE RID: 20206 RVA: 0x0013AE90 File Offset: 0x00139090
	// (set) Token: 0x06004EEF RID: 20207 RVA: 0x0013AEB9 File Offset: 0x001390B9
	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: 0x17001C32 RID: 7218
	// (get) Token: 0x06004EF0 RID: 20208 RVA: 0x0013AEE0 File Offset: 0x001390E0
	// (set) Token: 0x06004EF1 RID: 20209 RVA: 0x0013AF14 File Offset: 0x00139114
	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: 0x17001C33 RID: 7219
	// (get) Token: 0x06004EF2 RID: 20210 RVA: 0x0013AF3C File Offset: 0x0013913C
	// (set) Token: 0x06004EF3 RID: 20211 RVA: 0x0013AF70 File Offset: 0x00139170
	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: 0x17001C34 RID: 7220
	// (get) Token: 0x06004EF4 RID: 20212 RVA: 0x0013AF98 File Offset: 0x00139198
	// (set) Token: 0x06004EF5 RID: 20213 RVA: 0x0013AFCC File Offset: 0x001391CC
	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: 0x17001C35 RID: 7221
	// (get) Token: 0x06004EF6 RID: 20214 RVA: 0x0013AFF4 File Offset: 0x001391F4
	// (set) Token: 0x06004EF7 RID: 20215 RVA: 0x0013B028 File Offset: 0x00139228
	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: 0x17001C36 RID: 7222
	// (get) Token: 0x06004EF8 RID: 20216 RVA: 0x0013B050 File Offset: 0x00139250
	// (set) Token: 0x06004EF9 RID: 20217 RVA: 0x0013B078 File Offset: 0x00139278
	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: 0x17001C37 RID: 7223
	// (get) Token: 0x06004EFA RID: 20218 RVA: 0x0013B09C File Offset: 0x0013929C
	// (set) Token: 0x06004EFB RID: 20219 RVA: 0x0013B0C4 File Offset: 0x001392C4
	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: 0x17001C38 RID: 7224
	// (get) Token: 0x06004EFC RID: 20220 RVA: 0x0013B0E8 File Offset: 0x001392E8
	// (set) Token: 0x06004EFD RID: 20221 RVA: 0x0013B110 File Offset: 0x00139310
	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: 0x17001C39 RID: 7225
	// (get) Token: 0x06004EFE RID: 20222 RVA: 0x0013B134 File Offset: 0x00139334
	// (set) Token: 0x06004EFF RID: 20223 RVA: 0x0013B15C File Offset: 0x0013935C
	public unsafe float LookAtSpeed
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NPCEvent.NativeFieldInfoPtr_LookAtSpeed);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(NPCEvent.NativeFieldInfoPtr_LookAtSpeed)) = value;
		}
	}

	// Token: 0x17001C3A RID: 7226
	// (get) Token: 0x06004F00 RID: 20224 RVA: 0x0013B180 File Offset: 0x00139380
	// (set) Token: 0x06004F01 RID: 20225 RVA: 0x0013B1B4 File Offset: 0x001393B4
	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: 0x04003421 RID: 13345
	private static readonly IntPtr NativeFieldInfoPtr_g_NPC;

	// Token: 0x04003422 RID: 13346
	private static readonly IntPtr NativeFieldInfoPtr_AnimationName;

	// Token: 0x04003423 RID: 13347
	private static readonly IntPtr NativeFieldInfoPtr_LookAtTarget;

	// Token: 0x04003424 RID: 13348
	private static readonly IntPtr NativeFieldInfoPtr_Postiont;

	// Token: 0x04003425 RID: 13349
	private static readonly IntPtr NativeFieldInfoPtr_MoveTarget;

	// Token: 0x04003426 RID: 13350
	private static readonly IntPtr NativeFieldInfoPtr_DialogEvent;

	// Token: 0x04003427 RID: 13351
	private static readonly IntPtr NativeFieldInfoPtr_Col;

	// Token: 0x04003428 RID: 13352
	private static readonly IntPtr NativeFieldInfoPtr_Weight;

	// Token: 0x04003429 RID: 13353
	private static readonly IntPtr NativeFieldInfoPtr_BlenderTime;

	// Token: 0x0400342A RID: 13354
	private static readonly IntPtr NativeFieldInfoPtr_LookAtSpeed;

	// Token: 0x0400342B RID: 13355
	private static readonly IntPtr NativeFieldInfoPtr_Type;

	// Token: 0x0400342C RID: 13356
	private static readonly IntPtr NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0;

	// Token: 0x0400342D RID: 13357
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x0400342E RID: 13358
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

	// Token: 0x020001F6 RID: 502
	public enum EventType
	{
		// Token: 0x04003430 RID: 13360
		Other,
		// Token: 0x04003431 RID: 13361
		Create,
		// Token: 0x04003432 RID: 13362
		Animation,
		// Token: 0x04003433 RID: 13363
		FaceAnimation,
		// Token: 0x04003434 RID: 13364
		LookAtTarget,
		// Token: 0x04003435 RID: 13365
		LookAtPlayer,
		// Token: 0x04003436 RID: 13366
		LookAtCancel,
		// Token: 0x04003437 RID: 13367
		PlayerPosition,
		// Token: 0x04003438 RID: 13368
		Position,
		// Token: 0x04003439 RID: 13369
		Close,
		// Token: 0x0400343A RID: 13370
		WalkMoveTarget,
		// Token: 0x0400343B RID: 13371
		RunMoveTarget,
		// Token: 0x0400343C RID: 13372
		TurnTarget,
		// Token: 0x0400343D RID: 13373
		SetDialogueScript,
		// Token: 0x0400343E RID: 13374
		SetRimColor,
		// Token: 0x0400343F RID: 13375
		MoveStop,
		// Token: 0x04003440 RID: 13376
		AnimatorWeight,
		// Token: 0x04003441 RID: 13377
		MoveTarget,
		// Token: 0x04003442 RID: 13378
		ShadowPowSwitch,
		// Token: 0x04003443 RID: 13379
		BRNPCSpeak
	}
}
