Table of Contents

Class MusicPlayer

Namespace
Music
Assembly
Assembly-CSharp.dll
public class MusicPlayer : MainLoopProcess
Inheritance
MusicPlayer
Inherited Members

Constructors

MusicPlayer(ProcessManager)

public MusicPlayer(ProcessManager manager)

Parameters

manager ProcessManager

Fields

ASSETBUNDLE_MUSIC_PROCEDURAL

public const string ASSETBUNDLE_MUSIC_PROCEDURAL = "music_procedural"

Field Value

string

ASSETBUNDLE_MUSIC_SONGS

public const string ASSETBUNDLE_MUSIC_SONGS = "music_songs"

Field Value

string

droneGoalMix

public float droneGoalMix

Field Value

float

gameObj

public GameObject gameObj

Field Value

GameObject

hasPlayedASongThisCycle

public bool hasPlayedASongThisCycle

Field Value

bool

mainSongMix

public float mainSongMix

Field Value

float

multiplayerDJ

public MultiplayerDJ multiplayerDJ

Field Value

MultiplayerDJ

musicContext

public MusicPlayer.MusicContext musicContext

Field Value

MusicPlayer.MusicContext

nextProcedural

public string nextProcedural

Field Value

string

nextSong

public Song nextSong

Field Value

Song

proceduralMusic

public ProceduralMusic proceduralMusic

Field Value

ProceduralMusic

requestedAssetBundlesLoad

public bool requestedAssetBundlesLoad

Field Value

bool

song

public Song song

Field Value

Song

threatTracker

public PlayerThreatTracker threatTracker

Field Value

PlayerThreatTracker

Properties

assetBundlesLoaded

public bool assetBundlesLoaded { get; set; }

Property Value

bool

Methods

DeathEvent()

public void DeathEvent()

FadeOutAllNonGhostSongs(float)

public void FadeOutAllNonGhostSongs(float fadeOutTime)

Parameters

fadeOutTime float

FadeOutAllSongs(float)

public void FadeOutAllSongs(float fadeOutTime)

Parameters

fadeOutTime float

GameRequestsSong(MusicEvent)

public void GameRequestsSong(MusicEvent musicEvent)

Parameters

musicEvent MusicEvent

GameRequestsSongStop(StopMusicEvent)

public void GameRequestsSongStop(StopMusicEvent stopMusicEvent)

Parameters

stopMusicEvent StopMusicEvent

GateEvent()

public void GateEvent()

MenuRequestsSong(string, float, float)

public void MenuRequestsSong(string name, float priority, float fadeInTime)

Parameters

name string
priority float
fadeInTime float

NewCycleEvent()

public void NewCycleEvent()

NewRegion(string)

public void NewRegion(string newRegion)

Parameters

newRegion string

RainRequestStopSong()

public void RainRequestStopSong()

RequestArenaSong(string, float)

public void RequestArenaSong(string songName, float fadeInTime)

Parameters

songName string
fadeInTime float

RequestGhostSong(string)

public void RequestGhostSong(string ghostSongName)

Parameters

ghostSongName string

RequestHalcyonSong(string)

public void RequestHalcyonSong(string songName)

Parameters

songName string

RequestIntroRollMusic()

public void RequestIntroRollMusic()

RequestMSSirenSong()

public void RequestMSSirenSong()

RequestSMEndingSong()

public void RequestSMEndingSong()

RequestSSSong()

public void RequestSSSong()

RequestSaintEndingSong()

public void RequestSaintEndingSong()

RequestVoidSeaMusic(VoidSeaScene)

public void RequestVoidSeaMusic(VoidSeaScene scene)

Parameters

scene VoidSeaScene

StopSongIfItShouldStop(StopMusicEvent, Song)

public void StopSongIfItShouldStop(StopMusicEvent stopMusicEvent, Song testSong)

Parameters

stopMusicEvent StopMusicEvent
testSong Song

Update()

public override void Update()

UpdateMusicContext(MainLoopProcess)

public void UpdateMusicContext(MainLoopProcess currentProcess)

Parameters

currentProcess MainLoopProcess