tModLoader v2022.09
A mod to make and play Terraria mods
|
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 > 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 Terraria.Audio.LegacyAudioSystem.IsTrackPlaying | ( | int | trackIndex | ) |
Implements Terraria.Audio.IAudioSystem.
void Terraria.Audio.LegacyAudioSystem.LoadCue | ( | int | cueIndex, |
string | cueName | ||
) |
Implements Terraria.Audio.IAudioSystem.
void Terraria.Audio.LegacyAudioSystem.LoadFromSources | ( | ) |
Implements Terraria.Audio.IAudioSystem.
void Terraria.Audio.LegacyAudioSystem.PauseAll | ( | ) |
Implements Terraria.Audio.IAudioSystem.
IEnumerator Terraria.Audio.LegacyAudioSystem.PrepareWaveBank | ( | ) |
Implements Terraria.Audio.IAudioSystem.
void Terraria.Audio.LegacyAudioSystem.ResumeAll | ( | ) |
Implements Terraria.Audio.IAudioSystem.
void Terraria.Audio.LegacyAudioSystem.Update | ( | ) |
Implements Terraria.Audio.IAudioSystem.
void Terraria.Audio.LegacyAudioSystem.UpdateAmbientCueState | ( | int | i, |
bool | gameIsActive, | ||
ref float | trackVolume, | ||
float | systemVolume | ||
) |
Implements Terraria.Audio.IAudioSystem.
void Terraria.Audio.LegacyAudioSystem.UpdateAmbientCueTowardStopping | ( | int | i, |
float | stoppingSpeed, | ||
ref float | trackVolume, | ||
float | systemVolume | ||
) |
Implements Terraria.Audio.IAudioSystem.
void Terraria.Audio.LegacyAudioSystem.UpdateAudioEngine | ( | ) |
Implements Terraria.Audio.IAudioSystem.
void Terraria.Audio.LegacyAudioSystem.UpdateCommonTrack | ( | bool | active, |
int | i, | ||
float | totalVolume, | ||
ref float | tempFade | ||
) |
Implements Terraria.Audio.IAudioSystem.
void Terraria.Audio.LegacyAudioSystem.UpdateCommonTrackTowardStopping | ( | int | i, |
float | totalVolume, | ||
ref float | tempFade, | ||
bool | isMainTrackAudible | ||
) |
Implements Terraria.Audio.IAudioSystem.
void Terraria.Audio.LegacyAudioSystem.UpdateMisc | ( | ) |
Implements Terraria.Audio.IAudioSystem.
void Terraria.Audio.LegacyAudioSystem.UseSources | ( | List< IContentSource > | sourcesFromLowestToHighest | ) |
Implements Terraria.Audio.IAudioSystem.