tModLoader v2024.11
A mod to make and play Terraria mods
|
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 > sourcesFromLowestToHighest) |
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) |
Public Attributes | |
IAudioTrack[] | AudioTracks |
Dictionary< int, IAudioTrack > | DefaultTrackByIndex |
AudioEngine | Engine |
List< IContentSource > | FileSources |
int | MusicReplayDelay |
SoundBank | SoundBank |
Dictionary< int, string > | TrackNamesByIndex |
WaveBank | WaveBank |
bool LegacyAudioSystem.IsTrackPlaying | ( | int | trackIndex | ) |
Implements IAudioSystem.
void LegacyAudioSystem.LoadCue | ( | int | cueIndex, |
string | cueName | ||
) |
Implements IAudioSystem.
void LegacyAudioSystem.LoadFromSources | ( | ) |
Implements IAudioSystem.
void LegacyAudioSystem.PauseAll | ( | ) |
Implements IAudioSystem.
IEnumerator LegacyAudioSystem.PrepareWaveBank | ( | ) |
Implements IAudioSystem.
void LegacyAudioSystem.ResumeAll | ( | ) |
Implements IAudioSystem.
void LegacyAudioSystem.Update | ( | ) |
Implements IAudioSystem.
void LegacyAudioSystem.UpdateAmbientCueState | ( | int | i, |
bool | gameIsActive, | ||
ref float | trackVolume, | ||
float | systemVolume | ||
) |
Implements IAudioSystem.
void LegacyAudioSystem.UpdateAmbientCueTowardStopping | ( | int | i, |
float | stoppingSpeed, | ||
ref float | trackVolume, | ||
float | systemVolume | ||
) |
Implements IAudioSystem.
void LegacyAudioSystem.UpdateAudioEngine | ( | ) |
Implements IAudioSystem.
void LegacyAudioSystem.UpdateCommonTrack | ( | bool | active, |
int | i, | ||
float | totalVolume, | ||
ref float | tempFade | ||
) |
Implements IAudioSystem.
void LegacyAudioSystem.UpdateCommonTrackTowardStopping | ( | int | i, |
float | totalVolume, | ||
ref float | tempFade, | ||
bool | isMainTrackAudible | ||
) |
Implements IAudioSystem.
void LegacyAudioSystem.UpdateMisc | ( | ) |
Implements IAudioSystem.
void LegacyAudioSystem.UseSources | ( | List< IContentSource > | sourcesFromLowestToHighest | ) |
Implements IAudioSystem.