Terraria ModLoader
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 ()

Public Attributes

override bool IsPaused => cue.IsPaused
override bool IsPlaying => cue.IsPlaying

Additional Inherited Members

- Static Public Member Functions inherited from Terraria.ModLoader.Audio.Music
static implicit operator Music (Cue cue)
- Properties inherited from Terraria.ModLoader.Audio.Music
abstract bool IsPaused [get]
abstract bool IsPlaying [get]

Detailed Description

Definition at line 24 of file MusicWrappers.cs.

Member Function Documentation

override void Terraria.ModLoader.Audio.MusicCue.Pause ( )
override void Terraria.ModLoader.Audio.MusicCue.Play ( )
override void Terraria.ModLoader.Audio.MusicCue.Reset ( )

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  }
override void Terraria.ModLoader.Audio.MusicCue.Resume ( )
override void Terraria.ModLoader.Audio.MusicCue.SetVariable ( string  name,
float  value 
override void Terraria.ModLoader.Audio.MusicCue.Stop ( AudioStopOptions  options)

Member Data Documentation

override bool Terraria.ModLoader.Audio.MusicCue.IsPaused => cue.IsPaused

Definition at line 28 of file MusicWrappers.cs.

override bool Terraria.ModLoader.Audio.MusicCue.IsPlaying => cue.IsPlaying

Definition at line 29 of file MusicWrappers.cs.