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

176 lines
8.0 KiB
C#

using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using UnityEngine;
// Token: 0x020001C7 RID: 455
public class PlayerAudioMixer : SceneEvent
{
// Token: 0x06004A66 RID: 19046 RVA: 0x00127D8C File Offset: 0x00125F8C
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544891, XrefRangeEnd = 544907, 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: 0x06004A67 RID: 19047 RVA: 0x00127DF0 File Offset: 0x00125FF0
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544907, XrefRangeEnd = 544909, 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: 0x06004A68 RID: 19048 RVA: 0x00127E40 File Offset: 0x00126040
[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: 0x06004A69 RID: 19049 RVA: 0x00127EA4 File Offset: 0x001260A4
[CallerCount(0)]
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 544909, XrefRangeEnd = 544910, 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: 0x06004A6A RID: 19050 RVA: 0x00127EF0 File Offset: 0x001260F0
// 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, 100668211);
PlayerAudioMixer.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr, 100668212);
PlayerAudioMixer.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr, 100668213);
PlayerAudioMixer.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlayerAudioMixer>.NativeClassPtr, 100668214);
}
// Token: 0x06004A6B RID: 19051 RVA: 0x00117370 File Offset: 0x00115570
public PlayerAudioMixer(IntPtr pointer)
: base(pointer)
{
}
// Token: 0x17001AE1 RID: 6881
// (get) Token: 0x06004A6C RID: 19052 RVA: 0x00127FC0 File Offset: 0x001261C0
// (set) Token: 0x06004A6D RID: 19053 RVA: 0x00127FF4 File Offset: 0x001261F4
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: 0x17001AE2 RID: 6882
// (get) Token: 0x06004A6E RID: 19054 RVA: 0x0012801C File Offset: 0x0012621C
// (set) Token: 0x06004A6F RID: 19055 RVA: 0x00128044 File Offset: 0x00126244
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: 0x17001AE3 RID: 6883
// (get) Token: 0x06004A70 RID: 19056 RVA: 0x00128068 File Offset: 0x00126268
// (set) Token: 0x06004A71 RID: 19057 RVA: 0x00128090 File Offset: 0x00126290
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: 0x17001AE4 RID: 6884
// (get) Token: 0x06004A72 RID: 19058 RVA: 0x001280B4 File Offset: 0x001262B4
// (set) Token: 0x06004A73 RID: 19059 RVA: 0x001280DC File Offset: 0x001262DC
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: 0x0400311A RID: 12570
private static readonly IntPtr NativeFieldInfoPtr_g_PS;
// Token: 0x0400311B RID: 12571
private static readonly IntPtr NativeFieldInfoPtr_Volume;
// Token: 0x0400311C RID: 12572
private static readonly IntPtr NativeFieldInfoPtr_Room;
// Token: 0x0400311D RID: 12573
private static readonly IntPtr NativeFieldInfoPtr_DecayTime;
// Token: 0x0400311E RID: 12574
private static readonly IntPtr NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0;
// Token: 0x0400311F RID: 12575
private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;
// Token: 0x04003120 RID: 12576
private static readonly IntPtr NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0;
// Token: 0x04003121 RID: 12577
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}