tModLoader v2023.01
A mod to make and play Terraria mods
Terraria.Audio.DisabledAudioSystem Class Reference

Inherits Terraria.Audio.IAudioSystem, and IDisposable.

Public Member Functions

void Dispose ()
 
bool IsTrackPlaying (int trackIndex)
 
void LoadCue (int cueIndex, string cueName)
 
void LoadFromSources ()
 
void PauseAll ()
 
IEnumerator PrepareWaveBank ()
 
void ResumeAll ()
 
void Update ()
 
void UpdateAmbientCueState (int i, bool gameIsActive, ref float trackVolume, float systemVolume)
 
void UpdateAmbientCueTowardStopping (int i, float stoppingSpeed, ref float trackVolume, float systemVolume)
 
void UpdateAudioEngine ()
 
void UpdateCommonTrack (bool active, int i, float totalVolume, ref float tempFade)
 
void UpdateCommonTrackTowardStopping (int i, float totalVolume, ref float tempFade, bool isMainTrackAudible)
 
void UpdateMisc ()
 
void UseSources (List< IContentSource > sources)
 
bool IsTrackPlaying (int trackIndex)
 
void LoadCue (int cueIndex, string cueName)
 
void LoadFromSources ()
 
void PauseAll ()
 
IEnumerator PrepareWaveBank ()
 
void ResumeAll ()
 
void Update ()
 
void UpdateAmbientCueState (int i, bool gameIsActive, ref float trackVolume, float systemVolume)
 
void UpdateAmbientCueTowardStopping (int i, float stoppingSpeed, ref float trackVolume, float systemVolume)
 
void UpdateAudioEngine ()
 
void UpdateCommonTrack (bool active, int i, float totalVolume, ref float tempFade)
 
void UpdateCommonTrackTowardStopping (int i, float totalVolume, ref float tempFade, bool isMainTrackAudible)
 
void UpdateMisc ()
 
void UseSources (List< IContentSource > sources)
 

Member Function Documentation

◆ IsTrackPlaying()

bool Terraria.Audio.DisabledAudioSystem.IsTrackPlaying ( int  trackIndex)

◆ LoadCue()

void Terraria.Audio.DisabledAudioSystem.LoadCue ( int  cueIndex,
string  cueName 
)

◆ LoadFromSources()

void Terraria.Audio.DisabledAudioSystem.LoadFromSources ( )

◆ PauseAll()

void Terraria.Audio.DisabledAudioSystem.PauseAll ( )

◆ PrepareWaveBank()

IEnumerator Terraria.Audio.DisabledAudioSystem.PrepareWaveBank ( )

◆ ResumeAll()

void Terraria.Audio.DisabledAudioSystem.ResumeAll ( )

◆ Update()

void Terraria.Audio.DisabledAudioSystem.Update ( )

◆ UpdateAmbientCueState()

void Terraria.Audio.DisabledAudioSystem.UpdateAmbientCueState ( int  i,
bool  gameIsActive,
ref float  trackVolume,
float  systemVolume 
)

◆ UpdateAmbientCueTowardStopping()

void Terraria.Audio.DisabledAudioSystem.UpdateAmbientCueTowardStopping ( int  i,
float  stoppingSpeed,
ref float  trackVolume,
float  systemVolume 
)

◆ UpdateAudioEngine()

void Terraria.Audio.DisabledAudioSystem.UpdateAudioEngine ( )

◆ UpdateCommonTrack()

void Terraria.Audio.DisabledAudioSystem.UpdateCommonTrack ( bool  active,
int  i,
float  totalVolume,
ref float  tempFade 
)

◆ UpdateCommonTrackTowardStopping()

void Terraria.Audio.DisabledAudioSystem.UpdateCommonTrackTowardStopping ( int  i,
float  totalVolume,
ref float  tempFade,
bool  isMainTrackAudible 
)

◆ UpdateMisc()

void Terraria.Audio.DisabledAudioSystem.UpdateMisc ( )

◆ UseSources()

void Terraria.Audio.DisabledAudioSystem.UseSources ( List< IContentSource >  sources)