tModLoader v2024.05
A mod to make and play Terraria mods
CueAudioTrack Class Reference

Inherits 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 IAudioTrack
bool IsPaused [get]
 
bool IsPlaying [get]
 
bool IsStopped [get]
 

Member Function Documentation

◆ Pause()

void CueAudioTrack.Pause ( )

Implements IAudioTrack.

◆ Play()

void CueAudioTrack.Play ( )

Implements IAudioTrack.

◆ Resume()

void CueAudioTrack.Resume ( )

Implements IAudioTrack.

◆ Reuse()

void CueAudioTrack.Reuse ( )

Implements IAudioTrack.

◆ SetVariable()

void CueAudioTrack.SetVariable ( string  variableName,
float  value 
)

Implements IAudioTrack.

◆ Stop()

void CueAudioTrack.Stop ( AudioStopOptions  options)

Implements IAudioTrack.

◆ Update()

void CueAudioTrack.Update ( )

Implements IAudioTrack.

Property Documentation

◆ IsPaused

bool CueAudioTrack.IsPaused
get

Implements IAudioTrack.

◆ IsPlaying

bool CueAudioTrack.IsPlaying
get

Implements IAudioTrack.

◆ IsStopped

bool CueAudioTrack.IsStopped
get

Implements IAudioTrack.