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

// Token: 0x020001B7 RID: 439
public class BGMSwitch : SceneEvent
{
	// Token: 0x06004B02 RID: 19202 RVA: 0x0012C088 File Offset: 0x0012A288
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 569557, XrefRangeEnd = 569568, 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), BGMSwitch.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004B03 RID: 19203 RVA: 0x0012C0D8 File Offset: 0x0012A2D8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 569568, XrefRangeEnd = 569578, 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), BGMSwitch.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06004B04 RID: 19204 RVA: 0x0012C13C File Offset: 0x0012A33C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 569578, XrefRangeEnd = 569579, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe BGMSwitch()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<BGMSwitch>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(BGMSwitch.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06004B05 RID: 19205 RVA: 0x0012C188 File Offset: 0x0012A388
	// Note: this type is marked as 'beforefieldinit'.
	static BGMSwitch()
	{
		Il2CppClassPointerStore<BGMSwitch>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "BGMSwitch");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<BGMSwitch>.NativeClassPtr);
		BGMSwitch.NativeFieldInfoPtr_BGMIndex = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BGMSwitch>.NativeClassPtr, "BGMIndex");
		BGMSwitch.NativeFieldInfoPtr_ExitBGMIndex = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BGMSwitch>.NativeClassPtr, "ExitBGMIndex");
		BGMSwitch.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BGMSwitch>.NativeClassPtr, 100668366);
		BGMSwitch.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BGMSwitch>.NativeClassPtr, 100668367);
		BGMSwitch.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BGMSwitch>.NativeClassPtr, 100668368);
	}

	// Token: 0x06004B06 RID: 19206 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public BGMSwitch(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001AE4 RID: 6884
	// (get) Token: 0x06004B07 RID: 19207 RVA: 0x0012C21C File Offset: 0x0012A41C
	// (set) Token: 0x06004B08 RID: 19208 RVA: 0x0012C244 File Offset: 0x0012A444
	public unsafe int BGMIndex
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BGMSwitch.NativeFieldInfoPtr_BGMIndex);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BGMSwitch.NativeFieldInfoPtr_BGMIndex)) = value;
		}
	}

	// Token: 0x17001AE5 RID: 6885
	// (get) Token: 0x06004B09 RID: 19209 RVA: 0x0012C268 File Offset: 0x0012A468
	// (set) Token: 0x06004B0A RID: 19210 RVA: 0x0012C290 File Offset: 0x0012A490
	public unsafe int ExitBGMIndex
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BGMSwitch.NativeFieldInfoPtr_ExitBGMIndex);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BGMSwitch.NativeFieldInfoPtr_ExitBGMIndex)) = value;
		}
	}

	// Token: 0x040031B1 RID: 12721
	private static readonly IntPtr NativeFieldInfoPtr_BGMIndex;

	// Token: 0x040031B2 RID: 12722
	private static readonly IntPtr NativeFieldInfoPtr_ExitBGMIndex;

	// Token: 0x040031B3 RID: 12723
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x040031B4 RID: 12724
	private static readonly IntPtr NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0;

	// Token: 0x040031B5 RID: 12725
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
