DayZ 1.24
Loading...
Searching...
No Matches
SoundEventBase Class Reference
Collaboration diagram for SoundEventBase:
[legend]

Private Member Functions

void ~SoundEventBase ()
 
bool IsSkipForControlled ()
 
void Tick ()
 
bool IsSoundCallbackExist ()
 
bool IsDestroyRequested ()
 
bool CanPlay ()
 
bool Play ()
 
void OnPlay (PlayerBase player)
 
void Stop ()
 
int GetSoundEventID ()
 
int GetSoundEventType ()
 
AbstractWave GetSoundSetCallback ()
 

Private Attributes

AbstractWave m_SoundSetCallback
 
int m_Type
 
int m_ID
 
int m_SoundVoiceAnimEventClassID
 
bool m_RequestDestroy
 
string m_SoundSetNameRoot
 
bool m_SkipForControlledCharacter
 
int m_Param
 

Detailed Description

Definition at line 1 of file SoundEvents.c.

Constructor & Destructor Documentation

◆ ~SoundEventBase()

void SoundEventBase::~SoundEventBase ( )
inlineprivate

Definition at line 13 of file SoundEvents.c.

14 {
16 }
proto void Stop()
AbstractWave m_SoundSetCallback
Definition SoundEvents.c:3

References m_SoundSetCallback, and AbstractWave::Stop().

Member Function Documentation

◆ CanPlay()

bool SoundEventBase::CanPlay ( )
inlineprivate

Definition at line 43 of file SoundEvents.c.

44 {
45 return true;
46 }

◆ GetSoundEventID()

int SoundEventBase::GetSoundEventID ( )
inlineprivate

Definition at line 61 of file SoundEvents.c.

62 {
63 return m_ID;
64 }

References m_ID.

◆ GetSoundEventType()

int SoundEventBase::GetSoundEventType ( )
inlineprivate

Definition at line 66 of file SoundEvents.c.

67 {
68 return m_Type;
69 }

References m_Type.

◆ GetSoundSetCallback()

AbstractWave SoundEventBase::GetSoundSetCallback ( )
inlineprivate

Definition at line 71 of file SoundEvents.c.

72 {
73 return m_SoundSetCallback;
74 }

References m_SoundSetCallback.

◆ IsDestroyRequested()

bool SoundEventBase::IsDestroyRequested ( )
inlineprivate

Definition at line 38 of file SoundEvents.c.

39 {
40 return m_RequestDestroy;
41 }
bool m_RequestDestroy
Definition SoundEvents.c:7

References m_RequestDestroy.

◆ IsSkipForControlled()

bool SoundEventBase::IsSkipForControlled ( )
inlineprivate

Definition at line 19 of file SoundEvents.c.

20 {
22 }
bool m_SkipForControlledCharacter
Definition SoundEvents.c:9

References m_SkipForControlledCharacter.

◆ IsSoundCallbackExist()

bool SoundEventBase::IsSoundCallbackExist ( )
inlineprivate

Definition at line 30 of file SoundEvents.c.

31 {
33 return true;
34
35 return false;
36 }

References m_SoundSetCallback.

◆ OnPlay()

void SoundEventBase::OnPlay ( PlayerBase player)
private

◆ Play()

bool SoundEventBase::Play ( )
inlineprivate

Definition at line 48 of file SoundEvents.c.

49 {
50 return true;
51 }

◆ Stop()

void SoundEventBase::Stop ( )
inlineprivate

Definition at line 55 of file SoundEvents.c.

56 {
59 }

References m_SoundSetCallback, and AbstractWave::Stop().

◆ Tick()

void SoundEventBase::Tick ( )
inlineprivate

Definition at line 24 of file SoundEvents.c.

25 {
27 m_RequestDestroy = true;
28 }

References m_RequestDestroy, and m_SoundSetCallback.

Member Data Documentation

◆ m_ID

int SoundEventBase::m_ID
private

Definition at line 5 of file SoundEvents.c.

Referenced by GetSoundEventID().

◆ m_Param

int SoundEventBase::m_Param
private

Definition at line 10 of file SoundEvents.c.

◆ m_RequestDestroy

bool SoundEventBase::m_RequestDestroy
private

Definition at line 7 of file SoundEvents.c.

Referenced by IsDestroyRequested(), and Tick().

◆ m_SkipForControlledCharacter

bool SoundEventBase::m_SkipForControlledCharacter
private

Definition at line 9 of file SoundEvents.c.

Referenced by IsSkipForControlled().

◆ m_SoundSetCallback

AbstractWave SoundEventBase::m_SoundSetCallback
private

Definition at line 3 of file SoundEvents.c.

Referenced by GetSoundSetCallback(), IsSoundCallbackExist(), Stop(), Tick(), and ~SoundEventBase().

◆ m_SoundSetNameRoot

string SoundEventBase::m_SoundSetNameRoot
private

Definition at line 8 of file SoundEvents.c.

◆ m_SoundVoiceAnimEventClassID

int SoundEventBase::m_SoundVoiceAnimEventClassID
private

Definition at line 6 of file SoundEvents.c.

◆ m_Type

int SoundEventBase::m_Type
private

Definition at line 4 of file SoundEvents.c.

Referenced by GetSoundEventType().


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