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

// Token: 0x020001B6 RID: 438
public class BGMPlay : SceneEvent
{
	// Token: 0x06004AF7 RID: 19191 RVA: 0x0012BDEC File Offset: 0x00129FEC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 569533, XrefRangeEnd = 569555, 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), BGMPlay.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004AF8 RID: 19192 RVA: 0x0012BE3C File Offset: 0x0012A03C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 569555, XrefRangeEnd = 569556, 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), BGMPlay.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004AF9 RID: 19193 RVA: 0x0012BEA0 File Offset: 0x0012A0A0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 569556, XrefRangeEnd = 569557, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe BGMPlay()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<BGMPlay>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(BGMPlay.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004AFA RID: 19194 RVA: 0x0012BEEC File Offset: 0x0012A0EC
	// Note: this type is marked as 'beforefieldinit'.
	static BGMPlay()
	{
		Il2CppClassPointerStore<BGMPlay>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "BGMPlay");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<BGMPlay>.NativeClassPtr);
		BGMPlay.NativeFieldInfoPtr_IsPlay = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BGMPlay>.NativeClassPtr, "IsPlay");
		BGMPlay.NativeFieldInfoPtr_BGMIndex = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BGMPlay>.NativeClassPtr, "BGMIndex");
		BGMPlay.NativeFieldInfoPtr_RandomTime = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BGMPlay>.NativeClassPtr, "RandomTime");
		BGMPlay.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BGMPlay>.NativeClassPtr, 100668363);
		BGMPlay.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BGMPlay>.NativeClassPtr, 100668364);
		BGMPlay.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BGMPlay>.NativeClassPtr, 100668365);
	}

	// Token: 0x06004AFB RID: 19195 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public BGMPlay(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001AE1 RID: 6881
	// (get) Token: 0x06004AFC RID: 19196 RVA: 0x0012BF94 File Offset: 0x0012A194
	// (set) Token: 0x06004AFD RID: 19197 RVA: 0x0012BFBC File Offset: 0x0012A1BC
	public unsafe bool IsPlay
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BGMPlay.NativeFieldInfoPtr_IsPlay);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BGMPlay.NativeFieldInfoPtr_IsPlay)) = value;
		}
	}

	// Token: 0x17001AE2 RID: 6882
	// (get) Token: 0x06004AFE RID: 19198 RVA: 0x0012BFE0 File Offset: 0x0012A1E0
	// (set) Token: 0x06004AFF RID: 19199 RVA: 0x0012C008 File Offset: 0x0012A208
	public unsafe int BGMIndex
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BGMPlay.NativeFieldInfoPtr_BGMIndex);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BGMPlay.NativeFieldInfoPtr_BGMIndex)) = value;
		}
	}

	// Token: 0x17001AE3 RID: 6883
	// (get) Token: 0x06004B00 RID: 19200 RVA: 0x0012C02C File Offset: 0x0012A22C
	// (set) Token: 0x06004B01 RID: 19201 RVA: 0x0012C060 File Offset: 0x0012A260
	public unsafe Il2CppStructArray<float> RandomTime
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BGMPlay.NativeFieldInfoPtr_RandomTime);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppStructArray<float>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(BGMPlay.NativeFieldInfoPtr_RandomTime), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x040031AB RID: 12715
	private static readonly IntPtr NativeFieldInfoPtr_IsPlay;

	// Token: 0x040031AC RID: 12716
	private static readonly IntPtr NativeFieldInfoPtr_BGMIndex;

	// Token: 0x040031AD RID: 12717
	private static readonly IntPtr NativeFieldInfoPtr_RandomTime;

	// Token: 0x040031AE RID: 12718
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x040031AF RID: 12719
	private static readonly IntPtr NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0;

	// Token: 0x040031B0 RID: 12720
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
