Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
anniversarymusicsource.c File Reference

Go to the source code of this file.

Enumerations

enum  EAnniversaryMusicStates { INVALID , LIGHT , INTENSE }

Functions

void AnniversaryMusicSource ()
override void EEDelete (EntityAI parent)
override void OnVariablesSynchronized ()
void PlayIntense ()
void PlayLight ()
void SetIntenseServer ()
void SetInvalidServer ()
void SetLightServer ()
void StopAllMusic ()
void UpdateMusic ()

Variables

EffectSound m_IntenseAmbientSound
EffectSound m_LightAmbientSound
int m_MusicState
int m_MusicStateLocal
enum EAnniversaryMusicStates SOUND_INTENSE = "AnniversaryMusic_Intense_SoundSet"
const string SOUND_LIGHT = "AnniversaryMusic_Light_SoundSet"

Enumeration Type Documentation

◆ EAnniversaryMusicStates

Enumerator
INVALID 
LIGHT 
INTENSE 

Definition at line 1 of file anniversarymusicsource.c.

Function Documentation

◆ AnniversaryMusicSource()

void AnniversaryMusicSource ( )
protected

◆ EEDelete()

override void EEDelete ( EntityAI parent)
protected

◆ OnVariablesSynchronized()

override void OnVariablesSynchronized ( )
protected

Definition at line 42 of file anniversarymusicsource.c.

References m_MusicState, m_MusicStateLocal, and UpdateMusic().

◆ PlayIntense()

void PlayIntense ( )
protected

Definition at line 102 of file anniversarymusicsource.c.

References m_IntenseAmbientSound, and m_LightAmbientSound.

Referenced by UpdateMusic().

◆ PlayLight()

void PlayLight ( )
protected

Definition at line 110 of file anniversarymusicsource.c.

References m_IntenseAmbientSound, and m_LightAmbientSound.

Referenced by UpdateMusic().

◆ SetIntenseServer()

void SetIntenseServer ( )
protected

Definition at line 82 of file anniversarymusicsource.c.

References m_MusicState.

◆ SetInvalidServer()

void SetInvalidServer ( )
protected

Definition at line 96 of file anniversarymusicsource.c.

References m_MusicState.

◆ SetLightServer()

void SetLightServer ( )
protected

Definition at line 89 of file anniversarymusicsource.c.

References m_MusicState.

◆ StopAllMusic()

void StopAllMusic ( )
protected

Definition at line 118 of file anniversarymusicsource.c.

References m_IntenseAmbientSound, and m_LightAmbientSound.

Referenced by UpdateMusic().

◆ UpdateMusic()

Variable Documentation

◆ m_IntenseAmbientSound

EffectSound m_IntenseAmbientSound
protected

Definition at line 15 of file anniversarymusicsource.c.

Referenced by EEDelete(), PlayIntense(), PlayLight(), StopAllMusic(), and UpdateMusic().

◆ m_LightAmbientSound

EffectSound m_LightAmbientSound
protected

Definition at line 14 of file anniversarymusicsource.c.

Referenced by EEDelete(), PlayIntense(), PlayLight(), StopAllMusic(), and UpdateMusic().

◆ m_MusicState

◆ m_MusicStateLocal

int m_MusicStateLocal
protected

Definition at line 19 of file anniversarymusicsource.c.

Referenced by AnniversaryMusicSource(), and OnVariablesSynchronized().

◆ SOUND_INTENSE

enum EAnniversaryMusicStates SOUND_INTENSE = "AnniversaryMusic_Intense_SoundSet"

Referenced by UpdateMusic().

◆ SOUND_LIGHT

const string SOUND_LIGHT = "AnniversaryMusic_Light_SoundSet"
private

Definition at line 11 of file anniversarymusicsource.c.

Referenced by UpdateMusic().