288 lines
13 KiB
C#
288 lines
13 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
|
|
// Token: 0x02000201 RID: 513
|
|
public class PlaySoundEffect : SceneEvent
|
|
{
|
|
// Token: 0x06004F65 RID: 20325 RVA: 0x0013C90C File Offset: 0x0013AB0C
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572811, XrefRangeEnd = 572821, 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), PlaySoundEffect.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004F66 RID: 20326 RVA: 0x0013C970 File Offset: 0x0013AB70
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572821, XrefRangeEnd = 572831, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void Update()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PlaySoundEffect.NativeMethodInfoPtr_Update_Protected_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06004F67 RID: 20327 RVA: 0x0013C9B4 File Offset: 0x0013ABB4
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572831, XrefRangeEnd = 572837, 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), PlaySoundEffect.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06004F68 RID: 20328 RVA: 0x0013CA04 File Offset: 0x0013AC04
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572837, XrefRangeEnd = 572843, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe override void ReleaseEvent()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), PlaySoundEffect.NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06004F69 RID: 20329 RVA: 0x0013CA54 File Offset: 0x0013AC54
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 572843, XrefRangeEnd = 572844, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe PlaySoundEffect()
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<PlaySoundEffect>.NativeClassPtr))
|
|
{
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PlaySoundEffect.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06004F6A RID: 20330 RVA: 0x0013CAA0 File Offset: 0x0013ACA0
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static PlaySoundEffect()
|
|
{
|
|
Il2CppClassPointerStore<PlaySoundEffect>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "PlaySoundEffect");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<PlaySoundEffect>.NativeClassPtr);
|
|
PlaySoundEffect.NativeFieldInfoPtr_SE = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlaySoundEffect>.NativeClassPtr, "SE");
|
|
PlaySoundEffect.NativeFieldInfoPtr_ReplayLoop = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlaySoundEffect>.NativeClassPtr, "ReplayLoop");
|
|
PlaySoundEffect.NativeFieldInfoPtr_ReplayTime = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlaySoundEffect>.NativeClassPtr, "ReplayTime");
|
|
PlaySoundEffect.NativeFieldInfoPtr_g_fReplayTimeVal = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlaySoundEffect>.NativeClassPtr, "g_fReplayTimeVal");
|
|
PlaySoundEffect.NativeFieldInfoPtr_FadeSpeed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlaySoundEffect>.NativeClassPtr, "FadeSpeed");
|
|
PlaySoundEffect.NativeFieldInfoPtr_g_fVolume = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlaySoundEffect>.NativeClassPtr, "g_fVolume");
|
|
PlaySoundEffect.NativeFieldInfoPtr_PitchSpeed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlaySoundEffect>.NativeClassPtr, "PitchSpeed");
|
|
PlaySoundEffect.NativeFieldInfoPtr_PitchTarget = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlaySoundEffect>.NativeClassPtr, "PitchTarget");
|
|
PlaySoundEffect.NativeFieldInfoPtr_g_fPitch = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlaySoundEffect>.NativeClassPtr, "g_fPitch");
|
|
PlaySoundEffect.NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlaySoundEffect>.NativeClassPtr, 100668630);
|
|
PlaySoundEffect.NativeMethodInfoPtr_Update_Protected_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlaySoundEffect>.NativeClassPtr, 100668631);
|
|
PlaySoundEffect.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlaySoundEffect>.NativeClassPtr, 100668632);
|
|
PlaySoundEffect.NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlaySoundEffect>.NativeClassPtr, 100668633);
|
|
PlaySoundEffect.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlaySoundEffect>.NativeClassPtr, 100668634);
|
|
}
|
|
|
|
// Token: 0x06004F6B RID: 20331 RVA: 0x0012A4E8 File Offset: 0x001286E8
|
|
public PlaySoundEffect(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17001C55 RID: 7253
|
|
// (get) Token: 0x06004F6C RID: 20332 RVA: 0x0013CBE8 File Offset: 0x0013ADE8
|
|
// (set) Token: 0x06004F6D RID: 20333 RVA: 0x0013CC1C File Offset: 0x0013AE1C
|
|
public unsafe SoundEffect SE
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlaySoundEffect.NativeFieldInfoPtr_SE);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new SoundEffect(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlaySoundEffect.NativeFieldInfoPtr_SE), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001C56 RID: 7254
|
|
// (get) Token: 0x06004F6E RID: 20334 RVA: 0x0013CC44 File Offset: 0x0013AE44
|
|
// (set) Token: 0x06004F6F RID: 20335 RVA: 0x0013CC6C File Offset: 0x0013AE6C
|
|
public unsafe bool ReplayLoop
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlaySoundEffect.NativeFieldInfoPtr_ReplayLoop);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlaySoundEffect.NativeFieldInfoPtr_ReplayLoop)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001C57 RID: 7255
|
|
// (get) Token: 0x06004F70 RID: 20336 RVA: 0x0013CC90 File Offset: 0x0013AE90
|
|
// (set) Token: 0x06004F71 RID: 20337 RVA: 0x0013CCB8 File Offset: 0x0013AEB8
|
|
public unsafe float ReplayTime
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlaySoundEffect.NativeFieldInfoPtr_ReplayTime);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlaySoundEffect.NativeFieldInfoPtr_ReplayTime)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001C58 RID: 7256
|
|
// (get) Token: 0x06004F72 RID: 20338 RVA: 0x0013CCDC File Offset: 0x0013AEDC
|
|
// (set) Token: 0x06004F73 RID: 20339 RVA: 0x0013CD04 File Offset: 0x0013AF04
|
|
public unsafe float g_fReplayTimeVal
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlaySoundEffect.NativeFieldInfoPtr_g_fReplayTimeVal);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlaySoundEffect.NativeFieldInfoPtr_g_fReplayTimeVal)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001C59 RID: 7257
|
|
// (get) Token: 0x06004F74 RID: 20340 RVA: 0x0013CD28 File Offset: 0x0013AF28
|
|
// (set) Token: 0x06004F75 RID: 20341 RVA: 0x0013CD50 File Offset: 0x0013AF50
|
|
public unsafe float FadeSpeed
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlaySoundEffect.NativeFieldInfoPtr_FadeSpeed);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlaySoundEffect.NativeFieldInfoPtr_FadeSpeed)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001C5A RID: 7258
|
|
// (get) Token: 0x06004F76 RID: 20342 RVA: 0x0013CD74 File Offset: 0x0013AF74
|
|
// (set) Token: 0x06004F77 RID: 20343 RVA: 0x0013CD9C File Offset: 0x0013AF9C
|
|
public unsafe float g_fVolume
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlaySoundEffect.NativeFieldInfoPtr_g_fVolume);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlaySoundEffect.NativeFieldInfoPtr_g_fVolume)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001C5B RID: 7259
|
|
// (get) Token: 0x06004F78 RID: 20344 RVA: 0x0013CDC0 File Offset: 0x0013AFC0
|
|
// (set) Token: 0x06004F79 RID: 20345 RVA: 0x0013CDE8 File Offset: 0x0013AFE8
|
|
public unsafe float PitchSpeed
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlaySoundEffect.NativeFieldInfoPtr_PitchSpeed);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlaySoundEffect.NativeFieldInfoPtr_PitchSpeed)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001C5C RID: 7260
|
|
// (get) Token: 0x06004F7A RID: 20346 RVA: 0x0013CE0C File Offset: 0x0013B00C
|
|
// (set) Token: 0x06004F7B RID: 20347 RVA: 0x0013CE34 File Offset: 0x0013B034
|
|
public unsafe float PitchTarget
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlaySoundEffect.NativeFieldInfoPtr_PitchTarget);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlaySoundEffect.NativeFieldInfoPtr_PitchTarget)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001C5D RID: 7261
|
|
// (get) Token: 0x06004F7C RID: 20348 RVA: 0x0013CE58 File Offset: 0x0013B058
|
|
// (set) Token: 0x06004F7D RID: 20349 RVA: 0x0013CE80 File Offset: 0x0013B080
|
|
public unsafe float g_fPitch
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlaySoundEffect.NativeFieldInfoPtr_g_fPitch);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlaySoundEffect.NativeFieldInfoPtr_g_fPitch)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400347A RID: 13434
|
|
private static readonly IntPtr NativeFieldInfoPtr_SE;
|
|
|
|
// Token: 0x0400347B RID: 13435
|
|
private static readonly IntPtr NativeFieldInfoPtr_ReplayLoop;
|
|
|
|
// Token: 0x0400347C RID: 13436
|
|
private static readonly IntPtr NativeFieldInfoPtr_ReplayTime;
|
|
|
|
// Token: 0x0400347D RID: 13437
|
|
private static readonly IntPtr NativeFieldInfoPtr_g_fReplayTimeVal;
|
|
|
|
// Token: 0x0400347E RID: 13438
|
|
private static readonly IntPtr NativeFieldInfoPtr_FadeSpeed;
|
|
|
|
// Token: 0x0400347F RID: 13439
|
|
private static readonly IntPtr NativeFieldInfoPtr_g_fVolume;
|
|
|
|
// Token: 0x04003480 RID: 13440
|
|
private static readonly IntPtr NativeFieldInfoPtr_PitchSpeed;
|
|
|
|
// Token: 0x04003481 RID: 13441
|
|
private static readonly IntPtr NativeFieldInfoPtr_PitchTarget;
|
|
|
|
// Token: 0x04003482 RID: 13442
|
|
private static readonly IntPtr NativeFieldInfoPtr_g_fPitch;
|
|
|
|
// Token: 0x04003483 RID: 13443
|
|
private static readonly IntPtr NativeMethodInfoPtr_InitData_Public_Virtual_Void_SceneEventManager_0;
|
|
|
|
// Token: 0x04003484 RID: 13444
|
|
private static readonly IntPtr NativeMethodInfoPtr_Update_Protected_Void_0;
|
|
|
|
// Token: 0x04003485 RID: 13445
|
|
private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;
|
|
|
|
// Token: 0x04003486 RID: 13446
|
|
private static readonly IntPtr NativeMethodInfoPtr_ReleaseEvent_Public_Virtual_Void_0;
|
|
|
|
// Token: 0x04003487 RID: 13447
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
|
|
}
|