|
static void | ClassInit (CComponentManager &componentManager) |
|
static IComponent * | Allocate (const ScriptInterface &, JS::HandleValue) |
|
static void | Deallocate (IComponent *cmp) |
|
static std::string | GetSchema () |
|
static std::string | GetSchema () |
|
static void | RegisterComponentType (CComponentManager &mgr, EInterfaceId iid, EComponentTypeId cid, AllocFunc alloc, DeallocFunc dealloc, const char *name, const std::string &schema) |
|
static void | RegisterComponentTypeScriptWrapper (CComponentManager &mgr, EInterfaceId iid, EComponentTypeId cid, AllocFunc alloc, DeallocFunc dealloc, const char *name, const std::string &schema) |
|
static u8 | GetSerializationVersion () |
|
◆ Allocate()
◆ ClassInit()
◆ Deallocate()
static void CCmpSoundManager::Deallocate |
( |
IComponent * |
cmp | ) |
|
|
inlinestatic |
◆ Deinit()
void CCmpSoundManager::Deinit |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Deserialize()
◆ GetComponentTypeId()
int CCmpSoundManager::GetComponentTypeId |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetSchema()
static std::string CCmpSoundManager::GetSchema |
( |
| ) |
|
|
inlinestatic |
◆ Init()
void CCmpSoundManager::Init |
( |
const CParamNode & |
paramNode | ) |
|
|
inlineoverridevirtual |
◆ PlaySoundGroup()
void CCmpSoundManager::PlaySoundGroup |
( |
const std::wstring & |
name, |
|
|
entity_id_t |
source |
|
) |
| |
|
inlineoverridevirtual |
Start playing audio defined by a sound group file.
- Parameters
-
name | VFS path of sound group .xml, relative to audio/. |
source | entity emitting the sound (used for positioning). |
Implements ICmpSoundManager.
◆ PlaySoundGroupAtPosition()
void CCmpSoundManager::PlaySoundGroupAtPosition |
( |
const std::wstring & |
name, |
|
|
const CFixedVector3D & |
sourcePos |
|
) |
| |
|
inlineoverridevirtual |
Start playing audio defined by a sound group file.
- Parameters
-
name | VFS path of sound group .xml, relative to audio/. |
sourcePos | 3d position of the sound emitter. |
Implements ICmpSoundManager.
◆ PlaySoundGroupForPlayer()
void CCmpSoundManager::PlaySoundGroupForPlayer |
( |
const VfsPath & |
groupPath, |
|
|
const player_id_t |
playerId |
|
) |
| const |
|
inlineoverridevirtual |
Start playing audio defined by a sound group file for a player.
- Parameters
-
name | VFS path of sound group .xml, relative to audio/. |
player | the player entity. |
Implements ICmpSoundManager.
◆ Serialize()
void CCmpSoundManager::Serialize |
( |
ISerializer & |
serialize | ) |
|
|
inlineoverridevirtual |
◆ StopMusic()
void CCmpSoundManager::StopMusic |
( |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: