Space Engineers
Classes | Public Member Functions | Public Attributes | Properties | List of all members
Sandbox.Game.Audio.MyMusicController Class Reference

Public Member Functions

 MyMusicController (Dictionary< MyStringId, List< MyCueId >> musicCues=null)
 
void Update ()
 
void Building (int amount)
 
void MeteorShowerIncoming ()
 
void Fighting (bool heavy, int amount)
 
void IncreaseCategory (MyStringId category, int amount)
 
void PlaySpecificMusicTrack (MyCueId cue, bool playAtLeastOnce)
 
void PlaySpecificMusicCategory (MyStringId category, bool playAtLeastOnce)
 
void SetSpecificMusicCategory (MyStringId category)
 
void MusicStopped ()
 
void ClearMusicCues ()
 
void AddMusicCue (MyStringId category, MyCueId cueId)
 
void SetMusicCues (Dictionary< MyStringId, List< MyCueId >> musicCues)
 
void Unload ()
 

Public Attributes

bool Active = false
 
bool CanChangeCategoryGlobal = true
 

Properties

static MyMusicController Static [get, set]
 
MyStringId CategoryPlaying [get]
 
MyStringId CategoryLast [get]
 
MyCueId CueIdPlaying [get]
 
float NextMusicTrackIn [get]
 
bool CanChangeCategory [get]
 
bool MusicIsPlaying [get]
 

Detailed Description

Definition at line 18 of file MyMusicController.cs.

Constructor & Destructor Documentation

Sandbox.Game.Audio.MyMusicController.MyMusicController ( Dictionary< MyStringId, List< MyCueId >>  musicCues = null)
inline

Definition at line 135 of file MyMusicController.cs.

Member Function Documentation

void Sandbox.Game.Audio.MyMusicController.AddMusicCue ( MyStringId  category,
MyCueId  cueId 
)
inline

Definition at line 495 of file MyMusicController.cs.

void Sandbox.Game.Audio.MyMusicController.Building ( int  amount)
inline

Definition at line 235 of file MyMusicController.cs.

void Sandbox.Game.Audio.MyMusicController.ClearMusicCues ( )
inline

Definition at line 489 of file MyMusicController.cs.

void Sandbox.Game.Audio.MyMusicController.Fighting ( bool  heavy,
int  amount 
)
inline

Definition at line 259 of file MyMusicController.cs.

void Sandbox.Game.Audio.MyMusicController.IncreaseCategory ( MyStringId  category,
int  amount 
)
inline

Definition at line 276 of file MyMusicController.cs.

void Sandbox.Game.Audio.MyMusicController.MeteorShowerIncoming ( )
inline

Definition at line 247 of file MyMusicController.cs.

void Sandbox.Game.Audio.MyMusicController.MusicStopped ( )
inline

Definition at line 475 of file MyMusicController.cs.

void Sandbox.Game.Audio.MyMusicController.PlaySpecificMusicCategory ( MyStringId  category,
bool  playAtLeastOnce 
)
inline

Definition at line 412 of file MyMusicController.cs.

void Sandbox.Game.Audio.MyMusicController.PlaySpecificMusicTrack ( MyCueId  cue,
bool  playAtLeastOnce 
)
inline

Definition at line 397 of file MyMusicController.cs.

void Sandbox.Game.Audio.MyMusicController.SetMusicCues ( Dictionary< MyStringId, List< MyCueId >>  musicCues)
inline

Definition at line 502 of file MyMusicController.cs.

void Sandbox.Game.Audio.MyMusicController.SetSpecificMusicCategory ( MyStringId  category)
inline

Definition at line 428 of file MyMusicController.cs.

void Sandbox.Game.Audio.MyMusicController.Unload ( )
inline

Definition at line 508 of file MyMusicController.cs.

void Sandbox.Game.Audio.MyMusicController.Update ( )
inline

Definition at line 172 of file MyMusicController.cs.

Member Data Documentation

bool Sandbox.Game.Audio.MyMusicController.Active = false

Definition at line 97 of file MyMusicController.cs.

bool Sandbox.Game.Audio.MyMusicController.CanChangeCategoryGlobal = true

Definition at line 99 of file MyMusicController.cs.

Property Documentation

bool Sandbox.Game.Audio.MyMusicController.CanChangeCategory
get

Definition at line 101 of file MyMusicController.cs.

MyStringId Sandbox.Game.Audio.MyMusicController.CategoryLast
get

Definition at line 95 of file MyMusicController.cs.

MyStringId Sandbox.Game.Audio.MyMusicController.CategoryPlaying
get

Definition at line 94 of file MyMusicController.cs.

MyCueId Sandbox.Game.Audio.MyMusicController.CueIdPlaying
get

Definition at line 96 of file MyMusicController.cs.

bool Sandbox.Game.Audio.MyMusicController.MusicIsPlaying
get

Definition at line 115 of file MyMusicController.cs.

float Sandbox.Game.Audio.MyMusicController.NextMusicTrackIn
get

Definition at line 98 of file MyMusicController.cs.

MyMusicController Sandbox.Game.Audio.MyMusicController.Static
staticgetset

Definition at line 67 of file MyMusicController.cs.


The documentation for this class was generated from the following file: