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

Public Member Functions

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)
 

Static Public Member Functions

static implicit operator Music (Cue cue)
 

Properties

abstract bool IsPaused [get]
 
abstract bool IsPlaying [get]
 

Detailed Description

Definition at line 10 of file MusicWrappers.cs.

Member Function Documentation

◆ CheckBuffer()

virtual void Terraria.ModLoader.Audio.Music.CheckBuffer ( )
virtual

Reimplemented in Terraria.ModLoader.Audio.MusicStreaming.

Definition at line 21 of file MusicWrappers.cs.

21{ }

◆ operator Music()

static implicit Terraria.ModLoader.Audio.Music.operator Music ( Cue  cue)
static

Definition at line 12 of file MusicWrappers.cs.

12{ return new MusicCue() { cue = cue }; }

◆ Pause()

abstract void Terraria.ModLoader.Audio.Music.Pause ( )
pure virtual

◆ Play()

abstract void Terraria.ModLoader.Audio.Music.Play ( )
pure virtual

◆ Reset()

abstract void Terraria.ModLoader.Audio.Music.Reset ( )
pure virtual

◆ Resume()

abstract void Terraria.ModLoader.Audio.Music.Resume ( )
pure virtual

◆ SetVariable()

abstract void Terraria.ModLoader.Audio.Music.SetVariable ( string  name,
float  value 
)
pure virtual

◆ Stop()

abstract void Terraria.ModLoader.Audio.Music.Stop ( AudioStopOptions  options)
pure virtual

Property Documentation

◆ IsPaused

abstract bool Terraria.ModLoader.Audio.Music.IsPaused
get

Definition at line 13 of file MusicWrappers.cs.

13{ get; }

◆ IsPlaying

abstract bool Terraria.ModLoader.Audio.Music.IsPlaying
get

Definition at line 14 of file MusicWrappers.cs.

14{ get; }