Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros
Terraria.Audio.LegacyAudioSystem Class Reference

Public Member Functions

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

Public Attributes

IAudioTrack[] AudioTracks
 
int MusicReplayDelay
 
AudioEngine Engine
 
SoundBank SoundBank
 
WaveBank WaveBank
 
Dictionary< int, stringTrackNamesByIndex
 
Dictionary< int, IAudioTrackDefaultTrackByIndex
 
List< IContentSourceFileSources
 

Private Member Functions

IAudioTrack FindReplacementTrack (List< IContentSource > sources, string assetPath)
 

Detailed Description

Definition at line 10 of file LegacyAudioSystem.cs.


The documentation for this class was generated from the following file: