#include <sounds.h>
|
| int | Sizeof () const override |
| |
| void | OnInit () override |
| |
| void | OnReset () override |
| |
| void | OnStateChange (int NewState, int OldState) override |
| |
| void | OnRender () override |
| |
| void | ClearQueue () |
| |
| void | Enqueue (int Channel, int SetId) |
| |
| void | Play (int Channel, int SetId, float Volume) |
| |
| void | PlayAt (int Channel, int SetId, float Volume, vec2 Position) |
| |
| void | PlayAndRecord (int Channel, int SetId, float Volume, vec2 Position) |
| |
| void | Stop (int SetId) |
| |
| bool | IsPlaying (int SetId) |
| |
| ISound::CVoiceHandle | PlaySample (int Channel, int SampleId, int Flags, float Volume) |
| |
| ISound::CVoiceHandle | PlaySampleAt (int Channel, int SampleId, int Flags, float Volume, vec2 Position) |
| |
| virtual | ~CComponent ()=default |
| |
| virtual void | OnConsoleInit () |
| |
| virtual void | OnShutdown () |
| |
| virtual void | OnWindowResize () |
| |
| virtual void | OnUpdate () |
| |
| virtual void | OnNewSnapshot () |
| |
| virtual void | OnRelease () |
| |
| virtual void | OnMapLoad () |
| |
| virtual void | OnMessage (int Msg, void *pRawMsg) |
| |
| virtual bool | OnCursorMove (float x, float y, IInput::ECursorType CursorType) |
| |
| virtual bool | OnInput (const IInput::CEvent &Event) |
| |
| virtual bool | OnTouchState (const std::vector< IInput::CTouchFingerState > &vTouchFingerStates) |
| |
| virtual void | OnInterfacesInit (CGameClient *pClient) |
| |
| virtual | ~CComponentInterfaces ()=default |
| |
◆ anonymous enum
◆ anonymous enum
| Enumerator |
|---|
| CHN_GUI | |
| CHN_MUSIC | |
| CHN_WORLD | |
| CHN_GLOBAL | |
| CHN_MAPSOUND | |
◆ ClearQueue()
| void CSounds::ClearQueue |
( |
| ) |
|
◆ Enqueue()
◆ GetSampleId()
| int CSounds::GetSampleId |
( |
int |
SetId | ) |
|
|
private |
◆ IsPlaying()
| bool CSounds::IsPlaying |
( |
int |
SetId | ) |
|
◆ OnInit()
Called to let the components run initialization code.
Reimplemented from CComponent.
◆ OnRender()
| void CSounds::OnRender |
( |
| ) |
|
|
overridevirtual |
Called when the component should get rendered.
The render order depends on the component insertion order.
Reimplemented from CComponent.
◆ OnReset()
| void CSounds::OnReset |
( |
| ) |
|
|
overridevirtual |
Called to reset the component. This method is usually called on your component constructor to avoid code duplication.
- See also
- CHud::CHud()
-
CHud::OnReset()
Reimplemented from CComponent.
◆ OnStateChange()
| void CSounds::OnStateChange |
( |
int |
NewState, |
|
|
int |
OldState |
|
) |
| |
|
overridevirtual |
◆ Play()
◆ PlayAndRecord()
◆ PlayAt()
◆ PlaySample()
◆ PlaySampleAt()
◆ Sizeof()
| int CSounds::Sizeof |
( |
| ) |
const |
|
inlineoverridevirtual |
Gets the size of the non-abstract component.
Implements CComponent.
◆ Stop()
◆ UpdateChannels()
| void CSounds::UpdateChannels |
( |
| ) |
|
|
private |
◆ m_aQueue
◆ m_BackgroundMusicVolume
| float CSounds::m_BackgroundMusicVolume = -1.0f |
|
private |
◆ m_GameSoundVolume
| float CSounds::m_GameSoundVolume = -1.0f |
|
private |
◆ m_GuiSoundVolume
| float CSounds::m_GuiSoundVolume = -1.0f |
|
private |
◆ m_MapSoundVolume
| float CSounds::m_MapSoundVolume = -1.0f |
|
private |
◆ m_pSoundJob
◆ m_QueuePos
◆ m_QueueWaitTime
◆ m_WaitForSoundJob
| bool CSounds::m_WaitForSoundJob |
|
private |
The documentation for this class was generated from the following files: