This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
+299
View File
@@ -0,0 +1,299 @@
using System;
using System.Runtime.CompilerServices;
using UnityEngine.Internal;
using UnityEngine.Playables;
using UnityEngine.Scripting;
namespace UnityEngine.Audio
{
// Token: 0x020001CA RID: 458
[RequiredByNativeCode]
public struct AudioClipPlayable : IPlayable, IEquatable<AudioClipPlayable>
{
// Token: 0x06002131 RID: 8497 RVA: 0x00027644 File Offset: 0x00025844
internal AudioClipPlayable(PlayableHandle handle)
{
if (handle.IsValid())
{
if (!handle.IsPlayableOfType<AudioClipPlayable>())
{
throw new InvalidCastException("Can't set handle: the playable is not an AudioClipPlayable.");
}
}
this.m_Handle = handle;
}
// Token: 0x06002132 RID: 8498 RVA: 0x00027674 File Offset: 0x00025874
public static AudioClipPlayable Create(PlayableGraph graph, AudioClip clip, bool looping)
{
PlayableHandle playableHandle = AudioClipPlayable.CreateHandle(graph, clip, looping);
AudioClipPlayable audioClipPlayable = new AudioClipPlayable(playableHandle);
if (clip != null)
{
audioClipPlayable.SetDuration((double)clip.length);
}
return audioClipPlayable;
}
// Token: 0x06002133 RID: 8499 RVA: 0x000276B4 File Offset: 0x000258B4
private static PlayableHandle CreateHandle(PlayableGraph graph, AudioClip clip, bool looping)
{
PlayableHandle @null = PlayableHandle.Null;
PlayableHandle playableHandle;
if (!AudioClipPlayable.InternalCreateAudioClipPlayable(ref graph, clip, looping, ref @null))
{
playableHandle = PlayableHandle.Null;
}
else
{
playableHandle = @null;
}
return playableHandle;
}
// Token: 0x06002134 RID: 8500 RVA: 0x000276EC File Offset: 0x000258EC
public PlayableHandle GetHandle()
{
return this.m_Handle;
}
// Token: 0x06002135 RID: 8501 RVA: 0x00027708 File Offset: 0x00025908
public static implicit operator Playable(AudioClipPlayable playable)
{
return new Playable(playable.GetHandle());
}
// Token: 0x06002136 RID: 8502 RVA: 0x0002772C File Offset: 0x0002592C
public static explicit operator AudioClipPlayable(Playable playable)
{
return new AudioClipPlayable(playable.GetHandle());
}
// Token: 0x06002137 RID: 8503 RVA: 0x00027750 File Offset: 0x00025950
public bool Equals(AudioClipPlayable other)
{
return this.GetHandle() == other.GetHandle();
}
// Token: 0x06002138 RID: 8504 RVA: 0x00027778 File Offset: 0x00025978
public AudioClip GetClip()
{
return AudioClipPlayable.GetClipInternal(ref this.m_Handle);
}
// Token: 0x06002139 RID: 8505 RVA: 0x00027798 File Offset: 0x00025998
public void GetClip(AudioClip value)
{
AudioClipPlayable.SetClipInternal(ref this.m_Handle, value);
}
// Token: 0x0600213A RID: 8506 RVA: 0x000277A8 File Offset: 0x000259A8
private static AudioClip GetClipInternal(ref PlayableHandle hdl)
{
return AudioClipPlayable.INTERNAL_CALL_GetClipInternal(ref hdl);
}
// Token: 0x0600213B RID: 8507
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern AudioClip INTERNAL_CALL_GetClipInternal(ref PlayableHandle hdl);
// Token: 0x0600213C RID: 8508 RVA: 0x000277C4 File Offset: 0x000259C4
private static void SetClipInternal(ref PlayableHandle hdl, AudioClip clip)
{
AudioClipPlayable.INTERNAL_CALL_SetClipInternal(ref hdl, clip);
}
// Token: 0x0600213D RID: 8509
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern void INTERNAL_CALL_SetClipInternal(ref PlayableHandle hdl, AudioClip clip);
// Token: 0x0600213E RID: 8510 RVA: 0x000277D0 File Offset: 0x000259D0
public bool GetLooped()
{
return AudioClipPlayable.GetLoopedInternal(ref this.m_Handle);
}
// Token: 0x0600213F RID: 8511 RVA: 0x000277F0 File Offset: 0x000259F0
public void SetLooped(bool value)
{
AudioClipPlayable.SetLoopedInternal(ref this.m_Handle, value);
}
// Token: 0x06002140 RID: 8512 RVA: 0x00027800 File Offset: 0x00025A00
private static bool GetLoopedInternal(ref PlayableHandle hdl)
{
return AudioClipPlayable.INTERNAL_CALL_GetLoopedInternal(ref hdl);
}
// Token: 0x06002141 RID: 8513
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern bool INTERNAL_CALL_GetLoopedInternal(ref PlayableHandle hdl);
// Token: 0x06002142 RID: 8514 RVA: 0x0002781C File Offset: 0x00025A1C
private static void SetLoopedInternal(ref PlayableHandle hdl, bool looped)
{
AudioClipPlayable.INTERNAL_CALL_SetLoopedInternal(ref hdl, looped);
}
// Token: 0x06002143 RID: 8515
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern void INTERNAL_CALL_SetLoopedInternal(ref PlayableHandle hdl, bool looped);
// Token: 0x06002144 RID: 8516 RVA: 0x00027828 File Offset: 0x00025A28
public bool IsPlaying()
{
return AudioClipPlayable.GetIsPlayingInternal(ref this.m_Handle);
}
// Token: 0x06002145 RID: 8517 RVA: 0x00027848 File Offset: 0x00025A48
private static bool GetIsPlayingInternal(ref PlayableHandle hdl)
{
return AudioClipPlayable.INTERNAL_CALL_GetIsPlayingInternal(ref hdl);
}
// Token: 0x06002146 RID: 8518
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern bool INTERNAL_CALL_GetIsPlayingInternal(ref PlayableHandle hdl);
// Token: 0x06002147 RID: 8519 RVA: 0x00027864 File Offset: 0x00025A64
public double GetStartDelay()
{
return AudioClipPlayable.GetStartDelayInternal(ref this.m_Handle);
}
// Token: 0x06002148 RID: 8520 RVA: 0x00027884 File Offset: 0x00025A84
internal void SetStartDelay(double value)
{
this.ValidateStartDelayInternal(value);
AudioClipPlayable.SetStartDelayInternal(ref this.m_Handle, value);
}
// Token: 0x06002149 RID: 8521 RVA: 0x0002789C File Offset: 0x00025A9C
private static double GetStartDelayInternal(ref PlayableHandle hdl)
{
return AudioClipPlayable.INTERNAL_CALL_GetStartDelayInternal(ref hdl);
}
// Token: 0x0600214A RID: 8522
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern double INTERNAL_CALL_GetStartDelayInternal(ref PlayableHandle hdl);
// Token: 0x0600214B RID: 8523 RVA: 0x000278B8 File Offset: 0x00025AB8
private static void SetStartDelayInternal(ref PlayableHandle hdl, double delay)
{
AudioClipPlayable.INTERNAL_CALL_SetStartDelayInternal(ref hdl, delay);
}
// Token: 0x0600214C RID: 8524
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern void INTERNAL_CALL_SetStartDelayInternal(ref PlayableHandle hdl, double delay);
// Token: 0x0600214D RID: 8525 RVA: 0x000278C4 File Offset: 0x00025AC4
public double GetPauseDelay()
{
return AudioClipPlayable.GetPauseDelayInternal(ref this.m_Handle);
}
// Token: 0x0600214E RID: 8526 RVA: 0x000278E4 File Offset: 0x00025AE4
internal void GetPauseDelay(double value)
{
double pauseDelayInternal = AudioClipPlayable.GetPauseDelayInternal(ref this.m_Handle);
if (this.m_Handle.GetPlayState() == PlayState.Playing && (value < 0.05 || (pauseDelayInternal != 0.0 && pauseDelayInternal < 0.05)))
{
throw new ArgumentException("AudioClipPlayable.pauseDelay: Setting new delay when existing delay is too small or 0.0 (" + pauseDelayInternal + "), audio system will not be able to change in time");
}
AudioClipPlayable.SetPauseDelayInternal(ref this.m_Handle, value);
}
// Token: 0x0600214F RID: 8527 RVA: 0x00027964 File Offset: 0x00025B64
private static double GetPauseDelayInternal(ref PlayableHandle hdl)
{
return AudioClipPlayable.INTERNAL_CALL_GetPauseDelayInternal(ref hdl);
}
// Token: 0x06002150 RID: 8528
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern double INTERNAL_CALL_GetPauseDelayInternal(ref PlayableHandle hdl);
// Token: 0x06002151 RID: 8529 RVA: 0x00027980 File Offset: 0x00025B80
private static void SetPauseDelayInternal(ref PlayableHandle hdl, double delay)
{
AudioClipPlayable.INTERNAL_CALL_SetPauseDelayInternal(ref hdl, delay);
}
// Token: 0x06002152 RID: 8530
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern void INTERNAL_CALL_SetPauseDelayInternal(ref PlayableHandle hdl, double delay);
// Token: 0x06002153 RID: 8531 RVA: 0x0002798C File Offset: 0x00025B8C
private static bool InternalCreateAudioClipPlayable(ref PlayableGraph graph, AudioClip clip, bool looping, ref PlayableHandle handle)
{
return AudioClipPlayable.INTERNAL_CALL_InternalCreateAudioClipPlayable(ref graph, clip, looping, ref handle);
}
// Token: 0x06002154 RID: 8532
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern bool INTERNAL_CALL_InternalCreateAudioClipPlayable(ref PlayableGraph graph, AudioClip clip, bool looping, ref PlayableHandle handle);
// Token: 0x06002155 RID: 8533 RVA: 0x000279AC File Offset: 0x00025BAC
private static bool ValidateType(ref PlayableHandle hdl)
{
return AudioClipPlayable.INTERNAL_CALL_ValidateType(ref hdl);
}
// Token: 0x06002156 RID: 8534
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern bool INTERNAL_CALL_ValidateType(ref PlayableHandle hdl);
// Token: 0x06002157 RID: 8535 RVA: 0x000279C8 File Offset: 0x00025BC8
[ExcludeFromDocs]
public void Seek(double startTime, double startDelay)
{
double num = 0.0;
this.Seek(startTime, startDelay, num);
}
// Token: 0x06002158 RID: 8536 RVA: 0x000279EC File Offset: 0x00025BEC
public void Seek(double startTime, double startDelay, [DefaultValue("0")] double duration)
{
this.ValidateStartDelayInternal(startDelay);
AudioClipPlayable.SetStartDelayInternal(ref this.m_Handle, startDelay);
if (duration > 0.0)
{
this.m_Handle.SetDuration(duration + startTime);
AudioClipPlayable.SetPauseDelayInternal(ref this.m_Handle, startDelay + duration);
}
else
{
this.m_Handle.SetDuration(double.MaxValue);
AudioClipPlayable.SetPauseDelayInternal(ref this.m_Handle, 0.0);
}
this.m_Handle.SetTime(startTime);
this.m_Handle.SetPlayState(PlayState.Playing);
}
// Token: 0x06002159 RID: 8537 RVA: 0x00027A84 File Offset: 0x00025C84
private void ValidateStartDelayInternal(double startDelay)
{
double startDelayInternal = AudioClipPlayable.GetStartDelayInternal(ref this.m_Handle);
if (this.IsPlaying() && (startDelay < 0.05 || (startDelayInternal >= 1E-05 && startDelayInternal < 0.05)))
{
Debug.LogWarning("AudioClipPlayable.StartDelay: Setting new delay when existing delay is too small or 0.0 (" + startDelayInternal + "), audio system will not be able to change in time");
}
}
// Token: 0x040004E1 RID: 1249
private PlayableHandle m_Handle;
}
}
+85
View File
@@ -0,0 +1,85 @@
using System;
using System.Runtime.CompilerServices;
using UnityEngine.Scripting;
namespace UnityEngine.Audio
{
// Token: 0x020001E7 RID: 487
public class AudioMixer : Object
{
// Token: 0x0600227E RID: 8830 RVA: 0x00028208 File Offset: 0x00026408
internal AudioMixer()
{
}
// Token: 0x17000823 RID: 2083
// (get) Token: 0x0600227F RID: 8831
// (set) Token: 0x06002280 RID: 8832
public extern AudioMixerGroup outputAudioMixerGroup
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x06002281 RID: 8833
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern AudioMixerGroup[] FindMatchingGroups(string subPath);
// Token: 0x06002282 RID: 8834
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern AudioMixerSnapshot FindSnapshot(string name);
// Token: 0x06002283 RID: 8835 RVA: 0x00028214 File Offset: 0x00026414
private void TransitionToSnapshot(AudioMixerSnapshot snapshot, float timeToReach)
{
if (snapshot == null)
{
throw new ArgumentException("null Snapshot passed to AudioMixer.TransitionToSnapshot of AudioMixer '" + base.name + "'");
}
if (snapshot.audioMixer != this)
{
throw new ArgumentException(string.Concat(new string[] { "Snapshot '", snapshot.name, "' passed to AudioMixer.TransitionToSnapshot is not a snapshot from AudioMixer '", base.name, "'" }));
}
snapshot.TransitionTo(timeToReach);
}
// Token: 0x06002284 RID: 8836
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern void TransitionToSnapshots(AudioMixerSnapshot[] snapshots, float[] weights, float timeToReach);
// Token: 0x17000824 RID: 2084
// (get) Token: 0x06002285 RID: 8837
// (set) Token: 0x06002286 RID: 8838
public extern AudioMixerUpdateMode updateMode
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x06002287 RID: 8839
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern bool SetFloat(string name, float value);
// Token: 0x06002288 RID: 8840
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern bool ClearFloat(string name);
// Token: 0x06002289 RID: 8841
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern bool GetFloat(string name, out float value);
}
}
+24
View File
@@ -0,0 +1,24 @@
using System;
using System.Runtime.CompilerServices;
using UnityEngine.Scripting;
namespace UnityEngine.Audio
{
// Token: 0x020001E9 RID: 489
public class AudioMixerGroup : Object
{
// Token: 0x0600228D RID: 8845 RVA: 0x000282A8 File Offset: 0x000264A8
internal AudioMixerGroup()
{
}
// Token: 0x17000826 RID: 2086
// (get) Token: 0x0600228E RID: 8846
public extern AudioMixer audioMixer
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
}
}
+120
View File
@@ -0,0 +1,120 @@
using System;
using System.Runtime.CompilerServices;
using UnityEngine.Playables;
using UnityEngine.Scripting;
namespace UnityEngine.Audio
{
// Token: 0x020001CB RID: 459
[RequiredByNativeCode]
public struct AudioMixerPlayable : IPlayable, IEquatable<AudioMixerPlayable>
{
// Token: 0x0600215A RID: 8538 RVA: 0x00027AF4 File Offset: 0x00025CF4
internal AudioMixerPlayable(PlayableHandle handle)
{
if (handle.IsValid())
{
if (!handle.IsPlayableOfType<AudioMixerPlayable>())
{
throw new InvalidCastException("Can't set handle: the playable is not an AudioMixerPlayable.");
}
}
this.m_Handle = handle;
}
// Token: 0x0600215B RID: 8539 RVA: 0x00027B24 File Offset: 0x00025D24
public static AudioMixerPlayable Create(PlayableGraph graph, int inputCount = 0, bool normalizeInputVolumes = false)
{
PlayableHandle playableHandle = AudioMixerPlayable.CreateHandle(graph, inputCount, normalizeInputVolumes);
return new AudioMixerPlayable(playableHandle);
}
// Token: 0x0600215C RID: 8540 RVA: 0x00027B48 File Offset: 0x00025D48
private static PlayableHandle CreateHandle(PlayableGraph graph, int inputCount, bool normalizeInputVolumes)
{
PlayableHandle @null = PlayableHandle.Null;
PlayableHandle playableHandle;
if (!AudioMixerPlayable.CreateAudioMixerPlayableInternal(ref graph, inputCount, normalizeInputVolumes, ref @null))
{
playableHandle = PlayableHandle.Null;
}
else
{
playableHandle = @null;
}
return playableHandle;
}
// Token: 0x0600215D RID: 8541 RVA: 0x00027B80 File Offset: 0x00025D80
public PlayableHandle GetHandle()
{
return this.m_Handle;
}
// Token: 0x0600215E RID: 8542 RVA: 0x00027B9C File Offset: 0x00025D9C
public static implicit operator Playable(AudioMixerPlayable playable)
{
return new Playable(playable.GetHandle());
}
// Token: 0x0600215F RID: 8543 RVA: 0x00027BC0 File Offset: 0x00025DC0
public static explicit operator AudioMixerPlayable(Playable playable)
{
return new AudioMixerPlayable(playable.GetHandle());
}
// Token: 0x06002160 RID: 8544 RVA: 0x00027BE4 File Offset: 0x00025DE4
public bool Equals(AudioMixerPlayable other)
{
return this.GetHandle() == other.GetHandle();
}
// Token: 0x06002161 RID: 8545 RVA: 0x00027C0C File Offset: 0x00025E0C
public bool GetAutoNormalizeVolumes()
{
return AudioMixerPlayable.GetAutoNormalizeInternal(ref this.m_Handle);
}
// Token: 0x06002162 RID: 8546 RVA: 0x00027C2C File Offset: 0x00025E2C
public void GetAutoNormalizeVolumes(bool value)
{
AudioMixerPlayable.SetAutoNormalizeInternal(ref this.m_Handle, value);
}
// Token: 0x06002163 RID: 8547 RVA: 0x00027C3C File Offset: 0x00025E3C
private static bool GetAutoNormalizeInternal(ref PlayableHandle hdl)
{
return AudioMixerPlayable.INTERNAL_CALL_GetAutoNormalizeInternal(ref hdl);
}
// Token: 0x06002164 RID: 8548
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern bool INTERNAL_CALL_GetAutoNormalizeInternal(ref PlayableHandle hdl);
// Token: 0x06002165 RID: 8549 RVA: 0x00027C58 File Offset: 0x00025E58
private static void SetAutoNormalizeInternal(ref PlayableHandle hdl, bool normalise)
{
AudioMixerPlayable.INTERNAL_CALL_SetAutoNormalizeInternal(ref hdl, normalise);
}
// Token: 0x06002166 RID: 8550
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern void INTERNAL_CALL_SetAutoNormalizeInternal(ref PlayableHandle hdl, bool normalise);
// Token: 0x06002167 RID: 8551 RVA: 0x00027C64 File Offset: 0x00025E64
private static bool CreateAudioMixerPlayableInternal(ref PlayableGraph graph, int inputCount, bool normalizeInputVolumes, ref PlayableHandle handle)
{
return AudioMixerPlayable.INTERNAL_CALL_CreateAudioMixerPlayableInternal(ref graph, inputCount, normalizeInputVolumes, ref handle);
}
// Token: 0x06002168 RID: 8552
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern bool INTERNAL_CALL_CreateAudioMixerPlayableInternal(ref PlayableGraph graph, int inputCount, bool normalizeInputVolumes, ref PlayableHandle handle);
// Token: 0x040004E2 RID: 1250
private PlayableHandle m_Handle;
}
}
+29
View File
@@ -0,0 +1,29 @@
using System;
using System.Runtime.CompilerServices;
using UnityEngine.Scripting;
namespace UnityEngine.Audio
{
// Token: 0x020001E8 RID: 488
public class AudioMixerSnapshot : Object
{
// Token: 0x0600228A RID: 8842 RVA: 0x0002829C File Offset: 0x0002649C
internal AudioMixerSnapshot()
{
}
// Token: 0x17000825 RID: 2085
// (get) Token: 0x0600228B RID: 8843
public extern AudioMixer audioMixer
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x0600228C RID: 8844
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern void TransitionTo(float timeToReach);
}
}
+13
View File
@@ -0,0 +1,13 @@
using System;
namespace UnityEngine.Audio
{
// Token: 0x020001E6 RID: 486
public enum AudioMixerUpdateMode
{
// Token: 0x0400053A RID: 1338
Normal,
// Token: 0x0400053B RID: 1339
UnscaledTime
}
}
+108
View File
@@ -0,0 +1,108 @@
using System;
using System.Runtime.CompilerServices;
using UnityEngine.Playables;
using UnityEngine.Scripting;
namespace UnityEngine.Audio
{
// Token: 0x020001C9 RID: 457
[RequiredByNativeCode]
public struct AudioPlayableOutput : IPlayableOutput
{
// Token: 0x06002125 RID: 8485 RVA: 0x000274F8 File Offset: 0x000256F8
internal AudioPlayableOutput(PlayableOutputHandle handle)
{
if (handle.IsValid())
{
if (!handle.IsPlayableOutputOfType<AudioPlayableOutput>())
{
throw new InvalidCastException("Can't set handle: the playable is not an AudioPlayableOutput.");
}
}
this.m_Handle = handle;
}
// Token: 0x06002126 RID: 8486 RVA: 0x00027528 File Offset: 0x00025728
public static AudioPlayableOutput Create(PlayableGraph graph, string name, AudioSource target)
{
PlayableOutputHandle playableOutputHandle;
AudioPlayableOutput audioPlayableOutput;
if (!AudioPlayableGraphExtensions.InternalCreateAudioOutput(ref graph, name, out playableOutputHandle))
{
audioPlayableOutput = AudioPlayableOutput.Null;
}
else
{
AudioPlayableOutput audioPlayableOutput2 = new AudioPlayableOutput(playableOutputHandle);
audioPlayableOutput2.SetTarget(target);
audioPlayableOutput = audioPlayableOutput2;
}
return audioPlayableOutput;
}
// Token: 0x170007BC RID: 1980
// (get) Token: 0x06002127 RID: 8487 RVA: 0x00027568 File Offset: 0x00025768
public static AudioPlayableOutput Null
{
get
{
return new AudioPlayableOutput(PlayableOutputHandle.Null);
}
}
// Token: 0x06002128 RID: 8488 RVA: 0x00027588 File Offset: 0x00025788
public PlayableOutputHandle GetHandle()
{
return this.m_Handle;
}
// Token: 0x06002129 RID: 8489 RVA: 0x000275A4 File Offset: 0x000257A4
public static implicit operator PlayableOutput(AudioPlayableOutput output)
{
return new PlayableOutput(output.GetHandle());
}
// Token: 0x0600212A RID: 8490 RVA: 0x000275C8 File Offset: 0x000257C8
public static explicit operator AudioPlayableOutput(PlayableOutput output)
{
return new AudioPlayableOutput(output.GetHandle());
}
// Token: 0x0600212B RID: 8491 RVA: 0x000275EC File Offset: 0x000257EC
public AudioSource GetTarget()
{
return AudioPlayableOutput.InternalGetTarget(ref this.m_Handle);
}
// Token: 0x0600212C RID: 8492 RVA: 0x0002760C File Offset: 0x0002580C
public void SetTarget(AudioSource value)
{
AudioPlayableOutput.InternalSetTarget(ref this.m_Handle, value);
}
// Token: 0x0600212D RID: 8493 RVA: 0x0002761C File Offset: 0x0002581C
private static AudioSource InternalGetTarget(ref PlayableOutputHandle output)
{
return AudioPlayableOutput.INTERNAL_CALL_InternalGetTarget(ref output);
}
// Token: 0x0600212E RID: 8494
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern AudioSource INTERNAL_CALL_InternalGetTarget(ref PlayableOutputHandle output);
// Token: 0x0600212F RID: 8495 RVA: 0x00027638 File Offset: 0x00025838
private static void InternalSetTarget(ref PlayableOutputHandle output, AudioSource target)
{
AudioPlayableOutput.INTERNAL_CALL_InternalSetTarget(ref output, target);
}
// Token: 0x06002130 RID: 8496
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern void INTERNAL_CALL_InternalSetTarget(ref PlayableOutputHandle output, AudioSource target);
// Token: 0x040004E0 RID: 1248
private PlayableOutputHandle m_Handle;
}
}