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

// Token: 0x02000187 RID: 391
public class BGMPlay : SceneEvent
{
	// Token: 0x0600465A RID: 18010 RVA: 0x00118A14 File Offset: 0x00116C14
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 542095, XrefRangeEnd = 542117, 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: 0x0600465B RID: 18011 RVA: 0x00118A64 File Offset: 0x00116C64
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 542117, XrefRangeEnd = 542118, 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: 0x0600465C RID: 18012 RVA: 0x00118AC8 File Offset: 0x00116CC8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 542118, XrefRangeEnd = 542119, 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: 0x0600465D RID: 18013 RVA: 0x00118B14 File Offset: 0x00116D14
	// 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, 100667972);
		BGMPlay.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BGMPlay>.NativeClassPtr, 100667973);
		BGMPlay.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BGMPlay>.NativeClassPtr, 100667974);
	}

	// Token: 0x0600465E RID: 18014 RVA: 0x00117370 File Offset: 0x00115570
	public BGMPlay(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001988 RID: 6536
	// (get) Token: 0x0600465F RID: 18015 RVA: 0x00118BBC File Offset: 0x00116DBC
	// (set) Token: 0x06004660 RID: 18016 RVA: 0x00118BE4 File Offset: 0x00116DE4
	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: 0x17001989 RID: 6537
	// (get) Token: 0x06004661 RID: 18017 RVA: 0x00118C08 File Offset: 0x00116E08
	// (set) Token: 0x06004662 RID: 18018 RVA: 0x00118C30 File Offset: 0x00116E30
	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: 0x1700198A RID: 6538
	// (get) Token: 0x06004663 RID: 18019 RVA: 0x00118C54 File Offset: 0x00116E54
	// (set) Token: 0x06004664 RID: 18020 RVA: 0x00118C88 File Offset: 0x00116E88
	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: 0x04002E8E RID: 11918
	private static readonly IntPtr NativeFieldInfoPtr_IsPlay;

	// Token: 0x04002E8F RID: 11919
	private static readonly IntPtr NativeFieldInfoPtr_BGMIndex;

	// Token: 0x04002E90 RID: 11920
	private static readonly IntPtr NativeFieldInfoPtr_RandomTime;

	// Token: 0x04002E91 RID: 11921
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x04002E92 RID: 11922
	private static readonly IntPtr NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0;

	// Token: 0x04002E93 RID: 11923
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
