Terraria ModLoader  0.11.4
A framework for 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 ( )
virtual
override void Terraria.ModLoader.Audio.MusicCue.Play ( )
virtual
override void Terraria.ModLoader.Audio.MusicCue.Reset ( )
virtual

Implements Terraria.ModLoader.Audio.Music.

Definition at line 36 of file MusicWrappers.cs.

36  {
37  cue = Main.soundBank.GetCue(cue.Name);
38  }
override void Terraria.ModLoader.Audio.MusicCue.Resume ( )
virtual
override void Terraria.ModLoader.Audio.MusicCue.SetVariable ( string  name,
float  value 
)
virtual
override void Terraria.ModLoader.Audio.MusicCue.Stop ( AudioStopOptions  options)
virtual

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.