ManiaScript
Script language used in ManiaPlanet
 All Classes Namespaces Files Functions Variables Enumerations Enumerator
Public Types | Public Member Functions | Public Attributes | List of all members
CAudioManager Struct Reference

#include <big.h>

Inheritance diagram for CAudioManager:
CNod

Public Types

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

Public Member Functions

CAudioSound CreateSound (Text Url)
 
CAudioSound CreateSound (Text Url, Real VolumedB, Boolean IsMusic, Boolean IsLooping, Boolean IsSpatialized)
 
Void DestroySound (CAudioSound Sound)
 
Void PlaySoundEvent (CAudioSound Sound, Real VolumedB)
 
Void PlaySoundEvent (Text Url, Real VolumedB)
 
Void PlaySoundEvent (ELibSound Sound, Integer SoundVariant, Real VolumedB)
 
Void PlaySoundEvent (CAudioSound Sound, Real VolumedB, Integer Delay)
 
Void PlaySoundEvent (Text Url, Real VolumedB, Integer Delay)
 
Void PlaySoundEvent (ELibSound Sound, Integer SoundVariant, Real VolumedB, Integer Delay)
 
Void ClearAllDelayedSoundsEvents ()
 

Public Attributes

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

Member Enumeration Documentation

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

Member Function Documentation

Void CAudioManager::ClearAllDelayedSoundsEvents ( )
CAudioSound CAudioManager::CreateSound ( Text  Url)
CAudioSound CAudioManager::CreateSound ( Text  Url,
Real  VolumedB,
Boolean  IsMusic,
Boolean  IsLooping,
Boolean  IsSpatialized 
)
Void CAudioManager::DestroySound ( CAudioSound  Sound)
Void CAudioManager::PlaySoundEvent ( CAudioSound  Sound,
Real  VolumedB 
)
Void CAudioManager::PlaySoundEvent ( Text  Url,
Real  VolumedB 
)
Void CAudioManager::PlaySoundEvent ( ELibSound  Sound,
Integer  SoundVariant,
Real  VolumedB 
)
Void CAudioManager::PlaySoundEvent ( CAudioSound  Sound,
Real  VolumedB,
Integer  Delay 
)
Void CAudioManager::PlaySoundEvent ( Text  Url,
Real  VolumedB,
Integer  Delay 
)
Void CAudioManager::PlaySoundEvent ( ELibSound  Sound,
Integer  SoundVariant,
Real  VolumedB,
Integer  Delay 
)

Member Data Documentation

Boolean CAudioManager::ForceEnableMusic
Real CAudioManager::LimitMusicVolumedB
const CAudioSound [] CAudioManager::Sounds

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