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

Inherits Terraria.Audio.IAudioTrack, and IDisposable.

Public Member Functions

 CueAudioTrack (SoundBank bank, string cueName)
 
void Dispose ()
 
void Pause ()
 
void Play ()
 
void Resume ()
 
void Reuse ()
 
void SetVariable (string variableName, float value)
 
void Stop (AudioStopOptions options)
 
void Update ()
 
void Pause ()
 
void Play ()
 
void Resume ()
 
void Reuse ()
 
void SetVariable (string variableName, float value)
 
void Stop (AudioStopOptions options)
 
void Update ()
 

Properties

bool IsPaused [get]
 
bool IsPlaying [get]
 
bool IsStopped [get]
 
- Properties inherited from Terraria.Audio.IAudioTrack
bool IsPaused [get]
 
bool IsPlaying [get]
 
bool IsStopped [get]
 

Member Function Documentation

◆ Pause()

void Terraria.Audio.CueAudioTrack.Pause ( )

◆ Play()

void Terraria.Audio.CueAudioTrack.Play ( )

◆ Resume()

void Terraria.Audio.CueAudioTrack.Resume ( )

◆ Reuse()

void Terraria.Audio.CueAudioTrack.Reuse ( )

◆ SetVariable()

void Terraria.Audio.CueAudioTrack.SetVariable ( string  variableName,
float  value 
)

◆ Stop()

void Terraria.Audio.CueAudioTrack.Stop ( AudioStopOptions  options)

◆ Update()

void Terraria.Audio.CueAudioTrack.Update ( )

Property Documentation

◆ IsPaused

bool Terraria.Audio.CueAudioTrack.IsPaused
get

◆ IsPlaying

bool Terraria.Audio.CueAudioTrack.IsPlaying
get

◆ IsStopped

bool Terraria.Audio.CueAudioTrack.IsStopped
get