ManiaScript Reference  2019-05
CAudioManager Struct Reference
Inheritance diagram for CAudioManager:
CNod

Public Types

enum  ELibSound {
  Alert, ShowDialog, HideDialog, ShowMenu,
  HideMenu, Focus, Valid, Start,
  Countdown, Victory, ScoreIncrease, Checkpoint
}
 

Public Member Functions

CAudioSource CreateSound (Text Url)
 
CAudioSource CreateSound (Text Url, Real VolumedB, Boolean IsMusic, Boolean IsLooping, Boolean IsSpatialized)
 
Void DestroySound (CAudioSource Sound)
 
CAudioSourceMusic CreateMusic (Text Url)
 
Void DestroyMusic (CAudioSourceMusic Music)
 
Void PlaySoundEvent (CAudioSource Sound, Real VolumedB)
 
Void PlaySoundEvent (Text Url, Real VolumedB)
 
Void PlaySoundEvent (ELibSound Sound, Integer SoundVariant, Real VolumedB)
 
Void PlaySoundEvent (CAudioSource Sound, Real VolumedB, Integer Delay)
 
Void PlaySoundEvent (Text Url, Real VolumedB, Integer Delay)
 
Void PlaySoundEvent (ELibSound Sound, Integer SoundVariant, Real VolumedB, Integer Delay)
 
Void PlaySoundEvent (CAudioSource Sound, Real VolumedB, Vec3 PanRadiusLfe)
 
Void PlaySoundEvent (Text Url, Real VolumedB, Vec3 PanRadiusLfe)
 
Void PlaySoundEvent (CAudioSource Sound, Real VolumedB, Vec3 PanRadiusLfe, Integer Delay)
 
Void PlaySoundEvent (Text Url, Real VolumedB, Vec3 PanRadiusLfe, Integer Delay)
 
Void ClearAllDelayedSoundsEvents ()
 

Public Attributes

const CAudioSource [] Sounds
 
Boolean ForceEnableMusic
 
Real LimitMusicVolumedB
 
Real LimitSceneSoundVolumedB
 
Real LimitUiSoundVolumedB
 
- Public Attributes inherited from CNod
const Ident Id
 

Member Enumeration Documentation

◆ ELibSound

Enumerator
Alert 
ShowDialog 
HideDialog 
ShowMenu 
HideMenu 
Focus 
Valid 
Start 
Countdown 
Victory 
ScoreIncrease 
Checkpoint 

Member Function Documentation

◆ ClearAllDelayedSoundsEvents()

Void CAudioManager::ClearAllDelayedSoundsEvents ( )

◆ CreateMusic()

CAudioSourceMusic CAudioManager::CreateMusic ( Text  Url)

◆ CreateSound() [1/2]

CAudioSource CAudioManager::CreateSound ( Text  Url)

◆ CreateSound() [2/2]

CAudioSource CAudioManager::CreateSound ( Text  Url,
Real  VolumedB,
Boolean  IsMusic,
Boolean  IsLooping,
Boolean  IsSpatialized 
)

◆ DestroyMusic()

Void CAudioManager::DestroyMusic ( CAudioSourceMusic  Music)

◆ DestroySound()

Void CAudioManager::DestroySound ( CAudioSource  Sound)

◆ PlaySoundEvent() [1/10]

Void CAudioManager::PlaySoundEvent ( CAudioSource  Sound,
Real  VolumedB 
)

◆ PlaySoundEvent() [2/10]

Void CAudioManager::PlaySoundEvent ( Text  Url,
Real  VolumedB 
)

◆ PlaySoundEvent() [3/10]

Void CAudioManager::PlaySoundEvent ( ELibSound  Sound,
Integer  SoundVariant,
Real  VolumedB 
)

◆ PlaySoundEvent() [4/10]

Void CAudioManager::PlaySoundEvent ( CAudioSource  Sound,
Real  VolumedB,
Integer  Delay 
)

◆ PlaySoundEvent() [5/10]

Void CAudioManager::PlaySoundEvent ( Text  Url,
Real  VolumedB,
Integer  Delay 
)

◆ PlaySoundEvent() [6/10]

Void CAudioManager::PlaySoundEvent ( ELibSound  Sound,
Integer  SoundVariant,
Real  VolumedB,
Integer  Delay 
)

◆ PlaySoundEvent() [7/10]

Void CAudioManager::PlaySoundEvent ( CAudioSource  Sound,
Real  VolumedB,
Vec3  PanRadiusLfe 
)

◆ PlaySoundEvent() [8/10]

Void CAudioManager::PlaySoundEvent ( Text  Url,
Real  VolumedB,
Vec3  PanRadiusLfe 
)

◆ PlaySoundEvent() [9/10]

Void CAudioManager::PlaySoundEvent ( CAudioSource  Sound,
Real  VolumedB,
Vec3  PanRadiusLfe,
Integer  Delay 
)

◆ PlaySoundEvent() [10/10]

Void CAudioManager::PlaySoundEvent ( Text  Url,
Real  VolumedB,
Vec3  PanRadiusLfe,
Integer  Delay 
)

Member Data Documentation

◆ ForceEnableMusic

Boolean CAudioManager::ForceEnableMusic

◆ LimitMusicVolumedB

Real CAudioManager::LimitMusicVolumedB

◆ LimitSceneSoundVolumedB

Real CAudioManager::LimitSceneSoundVolumedB

◆ LimitUiSoundVolumedB

Real CAudioManager::LimitUiSoundVolumedB

◆ Sounds

const CAudioSource [] CAudioManager::Sounds