tModLoader v2024.09
A mod to make and play Terraria mods
DisabledAudioSystem Class Reference

Inherits 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 DisabledAudioSystem.IsTrackPlaying ( int  trackIndex)

Implements IAudioSystem.

◆ LoadCue()

void DisabledAudioSystem.LoadCue ( int  cueIndex,
string  cueName 
)

Implements IAudioSystem.

◆ LoadFromSources()

void DisabledAudioSystem.LoadFromSources ( )

Implements IAudioSystem.

◆ PauseAll()

void DisabledAudioSystem.PauseAll ( )

Implements IAudioSystem.

◆ PrepareWaveBank()

IEnumerator DisabledAudioSystem.PrepareWaveBank ( )

Implements IAudioSystem.

◆ ResumeAll()

void DisabledAudioSystem.ResumeAll ( )

Implements IAudioSystem.

◆ Update()

void DisabledAudioSystem.Update ( )

Implements IAudioSystem.

◆ UpdateAmbientCueState()

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

Implements IAudioSystem.

◆ UpdateAmbientCueTowardStopping()

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

Implements IAudioSystem.

◆ UpdateAudioEngine()

void DisabledAudioSystem.UpdateAudioEngine ( )

Implements IAudioSystem.

◆ UpdateCommonTrack()

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

Implements IAudioSystem.

◆ UpdateCommonTrackTowardStopping()

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

Implements IAudioSystem.

◆ UpdateMisc()

void DisabledAudioSystem.UpdateMisc ( )

Implements IAudioSystem.

◆ UseSources()

void DisabledAudioSystem.UseSources ( List< IContentSource >  sources)

Implements IAudioSystem.