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

// Token: 0x02000207 RID: 519
public class RadiusPlayerCheck : MonoBehaviour
{
	// Token: 0x06004FAD RID: 20397 RVA: 0x0013DAA0 File Offset: 0x0013BCA0
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 573168, RefRangeEnd = 573169, XrefRangeStart = 573090, XrefRangeEnd = 573168, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Init()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(RadiusPlayerCheck.NativeMethodInfoPtr_Init_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004FAE RID: 20398 RVA: 0x0013DAE4 File Offset: 0x0013BCE4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 573169, XrefRangeEnd = 573174, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void UpdateVolume(VolumeSettings settings)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(settings);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(RadiusPlayerCheck.NativeMethodInfoPtr_UpdateVolume_Private_Void_VolumeSettings_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004FAF RID: 20399 RVA: 0x0013DB40 File Offset: 0x0013BD40
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 573174, XrefRangeEnd = 573213, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(RadiusPlayerCheck.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004FB0 RID: 20400 RVA: 0x0013DB84 File Offset: 0x0013BD84
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 573213, XrefRangeEnd = 573218, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnTriggerEnter(Collider collision)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(collision);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(RadiusPlayerCheck.NativeMethodInfoPtr_OnTriggerEnter_Private_Void_Collider_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004FB1 RID: 20401 RVA: 0x0013DBE0 File Offset: 0x0013BDE0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 573218, XrefRangeEnd = 573227, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnTriggerExit(Collider collision)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(collision);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(RadiusPlayerCheck.NativeMethodInfoPtr_OnTriggerExit_Private_Void_Collider_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004FB2 RID: 20402 RVA: 0x0013DC3C File Offset: 0x0013BE3C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 573227, XrefRangeEnd = 573239, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnDestroy()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(RadiusPlayerCheck.NativeMethodInfoPtr_OnDestroy_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004FB3 RID: 20403 RVA: 0x0013DC80 File Offset: 0x0013BE80
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 573239, XrefRangeEnd = 573240, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe RadiusPlayerCheck()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<RadiusPlayerCheck>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(RadiusPlayerCheck.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004FB4 RID: 20404 RVA: 0x0013DCCC File Offset: 0x0013BECC
	// Note: this type is marked as 'beforefieldinit'.
	static RadiusPlayerCheck()
	{
		Il2CppClassPointerStore<RadiusPlayerCheck>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "RadiusPlayerCheck");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<RadiusPlayerCheck>.NativeClassPtr);
		RadiusPlayerCheck.NativeFieldInfoPtr_g_fRadius = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<RadiusPlayerCheck>.NativeClassPtr, "g_fRadius");
		RadiusPlayerCheck.NativeFieldInfoPtr_g_bEnter = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<RadiusPlayerCheck>.NativeClassPtr, "g_bEnter");
		RadiusPlayerCheck.NativeFieldInfoPtr_g_fPrevSwitchValue = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<RadiusPlayerCheck>.NativeClassPtr, "g_fPrevSwitchValue");
		RadiusPlayerCheck.NativeFieldInfoPtr_g_SE = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<RadiusPlayerCheck>.NativeClassPtr, "g_SE");
		RadiusPlayerCheck.NativeFieldInfoPtr_g_AD = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<RadiusPlayerCheck>.NativeClassPtr, "g_AD");
		RadiusPlayerCheck.NativeFieldInfoPtr_g_fAttackFrequency = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<RadiusPlayerCheck>.NativeClassPtr, "g_fAttackFrequency");
		RadiusPlayerCheck.NativeFieldInfoPtr_g_fAttackFrequencyVal = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<RadiusPlayerCheck>.NativeClassPtr, "g_fAttackFrequencyVal");
		RadiusPlayerCheck.NativeFieldInfoPtr_g_PS = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<RadiusPlayerCheck>.NativeClassPtr, "g_PS");
		RadiusPlayerCheck.NativeFieldInfoPtr_g_fStageTimeScale = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<RadiusPlayerCheck>.NativeClassPtr, "g_fStageTimeScale");
		RadiusPlayerCheck.NativeFieldInfoPtr_Type = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<RadiusPlayerCheck>.NativeClassPtr, "Type");
		RadiusPlayerCheck.NativeMethodInfoPtr_Init_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RadiusPlayerCheck>.NativeClassPtr, 100668652);
		RadiusPlayerCheck.NativeMethodInfoPtr_UpdateVolume_Private_Void_VolumeSettings_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RadiusPlayerCheck>.NativeClassPtr, 100668653);
		RadiusPlayerCheck.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RadiusPlayerCheck>.NativeClassPtr, 100668654);
		RadiusPlayerCheck.NativeMethodInfoPtr_OnTriggerEnter_Private_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RadiusPlayerCheck>.NativeClassPtr, 100668655);
		RadiusPlayerCheck.NativeMethodInfoPtr_OnTriggerExit_Private_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RadiusPlayerCheck>.NativeClassPtr, 100668656);
		RadiusPlayerCheck.NativeMethodInfoPtr_OnDestroy_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RadiusPlayerCheck>.NativeClassPtr, 100668657);
		RadiusPlayerCheck.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<RadiusPlayerCheck>.NativeClassPtr, 100668658);
	}

	// Token: 0x06004FB5 RID: 20405 RVA: 0x0000351C File Offset: 0x0000171C
	public RadiusPlayerCheck(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001C6B RID: 7275
	// (get) Token: 0x06004FB6 RID: 20406 RVA: 0x0013DE50 File Offset: 0x0013C050
	// (set) Token: 0x06004FB7 RID: 20407 RVA: 0x0013DE78 File Offset: 0x0013C078
	public unsafe float g_fRadius
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RadiusPlayerCheck.NativeFieldInfoPtr_g_fRadius);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RadiusPlayerCheck.NativeFieldInfoPtr_g_fRadius)) = value;
		}
	}

	// Token: 0x17001C6C RID: 7276
	// (get) Token: 0x06004FB8 RID: 20408 RVA: 0x0013DE9C File Offset: 0x0013C09C
	// (set) Token: 0x06004FB9 RID: 20409 RVA: 0x0013DEC4 File Offset: 0x0013C0C4
	public unsafe bool g_bEnter
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RadiusPlayerCheck.NativeFieldInfoPtr_g_bEnter);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RadiusPlayerCheck.NativeFieldInfoPtr_g_bEnter)) = value;
		}
	}

	// Token: 0x17001C6D RID: 7277
	// (get) Token: 0x06004FBA RID: 20410 RVA: 0x0013DEE8 File Offset: 0x0013C0E8
	// (set) Token: 0x06004FBB RID: 20411 RVA: 0x0013DF10 File Offset: 0x0013C110
	public unsafe float g_fPrevSwitchValue
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RadiusPlayerCheck.NativeFieldInfoPtr_g_fPrevSwitchValue);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RadiusPlayerCheck.NativeFieldInfoPtr_g_fPrevSwitchValue)) = value;
		}
	}

	// Token: 0x17001C6E RID: 7278
	// (get) Token: 0x06004FBC RID: 20412 RVA: 0x0013DF34 File Offset: 0x0013C134
	// (set) Token: 0x06004FBD RID: 20413 RVA: 0x0013DF68 File Offset: 0x0013C168
	public unsafe SoundEffect g_SE
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RadiusPlayerCheck.NativeFieldInfoPtr_g_SE);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new SoundEffect(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(RadiusPlayerCheck.NativeFieldInfoPtr_g_SE), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001C6F RID: 7279
	// (get) Token: 0x06004FBE RID: 20414 RVA: 0x0013DF90 File Offset: 0x0013C190
	// (set) Token: 0x06004FBF RID: 20415 RVA: 0x0013DFC4 File Offset: 0x0013C1C4
	public unsafe AttackData g_AD
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RadiusPlayerCheck.NativeFieldInfoPtr_g_AD);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new AttackData(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(RadiusPlayerCheck.NativeFieldInfoPtr_g_AD), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001C70 RID: 7280
	// (get) Token: 0x06004FC0 RID: 20416 RVA: 0x0013DFEC File Offset: 0x0013C1EC
	// (set) Token: 0x06004FC1 RID: 20417 RVA: 0x0013E00A File Offset: 0x0013C20A
	public unsafe static float g_fAttackFrequency
	{
		get
		{
			float num;
			IL2CPP.il2cpp_field_static_get_value(RadiusPlayerCheck.NativeFieldInfoPtr_g_fAttackFrequency, (void*)(&num));
			return num;
		}
		set
		{
			IL2CPP.il2cpp_field_static_set_value(RadiusPlayerCheck.NativeFieldInfoPtr_g_fAttackFrequency, (void*)(&value));
		}
	}

	// Token: 0x17001C71 RID: 7281
	// (get) Token: 0x06004FC2 RID: 20418 RVA: 0x0013E01C File Offset: 0x0013C21C
	// (set) Token: 0x06004FC3 RID: 20419 RVA: 0x0013E044 File Offset: 0x0013C244
	public unsafe float g_fAttackFrequencyVal
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RadiusPlayerCheck.NativeFieldInfoPtr_g_fAttackFrequencyVal);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RadiusPlayerCheck.NativeFieldInfoPtr_g_fAttackFrequencyVal)) = value;
		}
	}

	// Token: 0x17001C72 RID: 7282
	// (get) Token: 0x06004FC4 RID: 20420 RVA: 0x0013E068 File Offset: 0x0013C268
	// (set) Token: 0x06004FC5 RID: 20421 RVA: 0x0013E09C File Offset: 0x0013C29C
	public unsafe ParticleSystem g_PS
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RadiusPlayerCheck.NativeFieldInfoPtr_g_PS);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new ParticleSystem(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(RadiusPlayerCheck.NativeFieldInfoPtr_g_PS), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001C73 RID: 7283
	// (get) Token: 0x06004FC6 RID: 20422 RVA: 0x0013E0C4 File Offset: 0x0013C2C4
	// (set) Token: 0x06004FC7 RID: 20423 RVA: 0x0013E0EC File Offset: 0x0013C2EC
	public unsafe float g_fStageTimeScale
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RadiusPlayerCheck.NativeFieldInfoPtr_g_fStageTimeScale);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RadiusPlayerCheck.NativeFieldInfoPtr_g_fStageTimeScale)) = value;
		}
	}

	// Token: 0x17001C74 RID: 7284
	// (get) Token: 0x06004FC8 RID: 20424 RVA: 0x0013E110 File Offset: 0x0013C310
	// (set) Token: 0x06004FC9 RID: 20425 RVA: 0x0013E138 File Offset: 0x0013C338
	public unsafe RadiusPlayerCheck.PlayerCheckType Type
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RadiusPlayerCheck.NativeFieldInfoPtr_Type);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(RadiusPlayerCheck.NativeFieldInfoPtr_Type)) = value;
		}
	}

	// Token: 0x040034B7 RID: 13495
	private static readonly IntPtr NativeFieldInfoPtr_g_fRadius;

	// Token: 0x040034B8 RID: 13496
	private static readonly IntPtr NativeFieldInfoPtr_g_bEnter;

	// Token: 0x040034B9 RID: 13497
	private static readonly IntPtr NativeFieldInfoPtr_g_fPrevSwitchValue;

	// Token: 0x040034BA RID: 13498
	private static readonly IntPtr NativeFieldInfoPtr_g_SE;

	// Token: 0x040034BB RID: 13499
	private static readonly IntPtr NativeFieldInfoPtr_g_AD;

	// Token: 0x040034BC RID: 13500
	private static readonly IntPtr NativeFieldInfoPtr_g_fAttackFrequency;

	// Token: 0x040034BD RID: 13501
	private static readonly IntPtr NativeFieldInfoPtr_g_fAttackFrequencyVal;

	// Token: 0x040034BE RID: 13502
	private static readonly IntPtr NativeFieldInfoPtr_g_PS;

	// Token: 0x040034BF RID: 13503
	private static readonly IntPtr NativeFieldInfoPtr_g_fStageTimeScale;

	// Token: 0x040034C0 RID: 13504
	private static readonly IntPtr NativeFieldInfoPtr_Type;

	// Token: 0x040034C1 RID: 13505
	private static readonly IntPtr NativeMethodInfoPtr_Init_Public_Void_0;

	// Token: 0x040034C2 RID: 13506
	private static readonly IntPtr NativeMethodInfoPtr_UpdateVolume_Private_Void_VolumeSettings_0;

	// Token: 0x040034C3 RID: 13507
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x040034C4 RID: 13508
	private static readonly IntPtr NativeMethodInfoPtr_OnTriggerEnter_Private_Void_Collider_0;

	// Token: 0x040034C5 RID: 13509
	private static readonly IntPtr NativeMethodInfoPtr_OnTriggerExit_Private_Void_Collider_0;

	// Token: 0x040034C6 RID: 13510
	private static readonly IntPtr NativeMethodInfoPtr_OnDestroy_Private_Void_0;

	// Token: 0x040034C7 RID: 13511
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

	// Token: 0x02000208 RID: 520
	public enum PlayerCheckType
	{
		// Token: 0x040034C9 RID: 13513
		Default,
		// Token: 0x040034CA RID: 13514
		PlayerShadow,
		// Token: 0x040034CB RID: 13515
		ReplyMana,
		// Token: 0x040034CC RID: 13516
		BGSE,
		// Token: 0x040034CD RID: 13517
		WindLayer,
		// Token: 0x040034CE RID: 13518
		Damage
	}
}
