tModLoader v0.11.8.9
A mod to make and play Terraria mods
Terraria.ModLoader.Audio.MusicCue Class Reference
+ Inheritance diagram for Terraria.ModLoader.Audio.MusicCue:
+ Collaboration diagram for Terraria.ModLoader.Audio.MusicCue:

Public Member Functions

override void Pause ()
 
override void Play ()
 
override void Reset ()
 
override void Resume ()
 
override void SetVariable (string name, float value)
 
override void Stop (AudioStopOptions options)
 
- Public Member Functions inherited from Terraria.ModLoader.Audio.Music
virtual void CheckBuffer ()
 
abstract void Pause ()
 
abstract void Play ()
 
abstract void Reset ()
 
abstract void Resume ()
 
abstract void SetVariable (string name, float value)
 
abstract void Stop (AudioStopOptions options)
 

Properties

override bool IsPaused [get]
 
override bool IsPlaying [get]
 
- Properties inherited from Terraria.ModLoader.Audio.Music
abstract bool IsPaused [get]
 
abstract bool IsPlaying [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from Terraria.ModLoader.Audio.Music
static implicit operator Music (Cue cue)
 

Detailed Description

Definition at line 24 of file MusicWrappers.cs.

Member Function Documentation

◆ Pause()

override void Terraria.ModLoader.Audio.MusicCue.Pause ( )
virtual

◆ Play()

override void Terraria.ModLoader.Audio.MusicCue.Play ( )
virtual

◆ Reset()

override void Terraria.ModLoader.Audio.MusicCue.Reset ( )
virtual

Implements Terraria.ModLoader.Audio.Music.

Definition at line 36 of file MusicWrappers.cs.

36 {
37 cue.Stop(AudioStopOptions.Immediate);
38 cue = Main.soundBank.GetCue(cue.Name);
39 }

◆ Resume()

override void Terraria.ModLoader.Audio.MusicCue.Resume ( )
virtual

◆ SetVariable()

override void Terraria.ModLoader.Audio.MusicCue.SetVariable ( string  name,
float  value 
)
virtual

◆ Stop()

override void Terraria.ModLoader.Audio.MusicCue.Stop ( AudioStopOptions  options)
virtual

Property Documentation

◆ IsPaused

override bool Terraria.ModLoader.Audio.MusicCue.IsPaused
get

Definition at line 28 of file MusicWrappers.cs.

◆ IsPlaying

override bool Terraria.ModLoader.Audio.MusicCue.IsPlaying
get

Definition at line 29 of file MusicWrappers.cs.