Files
NobetaSource/Interop/Assembly-CSharp/PlayerAudioMixer.cs
2023-09-06 22:09:22 +02:00

176 lines
8.0 KiB
C#

using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using UnityEngine;
// Token: 0x020001CF RID: 463
public class PlayerAudioMixer : SceneEvent
{
// Token: 0x06004AE4 RID: 19172 RVA: 0x00129BF8 File Offset: 0x00127DF8
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 562283, XrefRangeEnd = 562299, 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), PlayerAudioMixer.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
}
// Token: 0x06004AE5 RID: 19173 RVA: 0x00129C5C File Offset: 0x00127E5C
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 562299, XrefRangeEnd = 562301, 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), PlayerAudioMixer.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x06004AE6 RID: 19174 RVA: 0x00129CAC File Offset: 0x00127EAC
[CallerCount(0)]
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), PlayerAudioMixer.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
}
// Token: 0x06004AE7 RID: 19175 RVA: 0x00129D10 File Offset: 0x00127F10
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 562301, XrefRangeEnd = 562302, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
public unsafe PlayerAudioMixer()
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr))
{
IntPtr* ptr = null;
IntPtr intPtr2;
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PlayerAudioMixer.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
}
// Token: 0x06004AE8 RID: 19176 RVA: 0x00129D5C File Offset: 0x00127F5C
// Note: this type is marked as 'beforefieldinit'.
static PlayerAudioMixer()
{
Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "PlayerAudioMixer");
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr);
PlayerAudioMixer.NativeFieldInfoPtr_g_PS = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr, "g_PS");
PlayerAudioMixer.NativeFieldInfoPtr_Volume = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr, "Volume");
PlayerAudioMixer.NativeFieldInfoPtr_Room = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr, "Room");
PlayerAudioMixer.NativeFieldInfoPtr_DecayTime = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr, "DecayTime");
PlayerAudioMixer.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr, 100668239);
PlayerAudioMixer.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr, 100668240);
PlayerAudioMixer.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr, 100668241);
PlayerAudioMixer.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr, 100668242);
}
// Token: 0x06004AE9 RID: 19177 RVA: 0x00118C18 File Offset: 0x00116E18
public PlayerAudioMixer(IntPtr pointer)
: base(pointer)
{
}
// Token: 0x17001B02 RID: 6914
// (get) Token: 0x06004AEA RID: 19178 RVA: 0x00129E2C File Offset: 0x0012802C
// (set) Token: 0x06004AEB RID: 19179 RVA: 0x00129E60 File Offset: 0x00128060
public unsafe PlayerSound g_PS
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlayerAudioMixer.NativeFieldInfoPtr_g_PS);
IntPtr intPtr2 = *intPtr;
return (intPtr2 != 0) ? new PlayerSound(intPtr2) : null;
}
set
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlayerAudioMixer.NativeFieldInfoPtr_g_PS), IL2CPP.Il2CppObjectBaseToPtr(value));
}
}
// Token: 0x17001B03 RID: 6915
// (get) Token: 0x06004AEC RID: 19180 RVA: 0x00129E88 File Offset: 0x00128088
// (set) Token: 0x06004AED RID: 19181 RVA: 0x00129EB0 File Offset: 0x001280B0
public unsafe float Volume
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlayerAudioMixer.NativeFieldInfoPtr_Volume);
return *intPtr;
}
set
{
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlayerAudioMixer.NativeFieldInfoPtr_Volume)) = value;
}
}
// Token: 0x17001B04 RID: 6916
// (get) Token: 0x06004AEE RID: 19182 RVA: 0x00129ED4 File Offset: 0x001280D4
// (set) Token: 0x06004AEF RID: 19183 RVA: 0x00129EFC File Offset: 0x001280FC
public unsafe float Room
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlayerAudioMixer.NativeFieldInfoPtr_Room);
return *intPtr;
}
set
{
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlayerAudioMixer.NativeFieldInfoPtr_Room)) = value;
}
}
// Token: 0x17001B05 RID: 6917
// (get) Token: 0x06004AF0 RID: 19184 RVA: 0x00129F20 File Offset: 0x00128120
// (set) Token: 0x06004AF1 RID: 19185 RVA: 0x00129F48 File Offset: 0x00128148
public unsafe float DecayTime
{
get
{
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlayerAudioMixer.NativeFieldInfoPtr_DecayTime);
return *intPtr;
}
set
{
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlayerAudioMixer.NativeFieldInfoPtr_DecayTime)) = value;
}
}
// Token: 0x0400316B RID: 12651
private static readonly IntPtr NativeFieldInfoPtr_g_PS;
// Token: 0x0400316C RID: 12652
private static readonly IntPtr NativeFieldInfoPtr_Volume;
// Token: 0x0400316D RID: 12653
private static readonly IntPtr NativeFieldInfoPtr_Room;
// Token: 0x0400316E RID: 12654
private static readonly IntPtr NativeFieldInfoPtr_DecayTime;
// Token: 0x0400316F RID: 12655
private static readonly IntPtr NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0;
// Token: 0x04003170 RID: 12656
private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;
// Token: 0x04003171 RID: 12657
private static readonly IntPtr NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0;
// Token: 0x04003172 RID: 12658
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}