|
DayZ 1.24
|
Go to the source code of this file.
Enumerations | |
| enum | EInfectedSoundEventID { MINDSTATE_CALM_IDLE = 1 , MINDSTATE_CALM_MOVE , MINDSTATE_DISTURBED_IDLE , MINDSTATE_CHASE_MOVE , MINDSTATE_ALERTED_IDLE , MINDSTATE_ALERTED_MOVE , ENUM_COUNT } |
Functions | |
| void | InfectedSoundEventHandler (ZombieBase pInfected) |
| static override int | GetSoundEventType (int id) |
| override int | GetCurrentStateEventID () |
| override int | GetCurrentStateEventType () |
| void | Stop () |
| void | SoftStop () |
| bool | IsPlaying () |
| override bool | PlayRequest (int id, bool sent_from_server=false) |
| Enumerator | |
|---|---|
| MINDSTATE_CALM_IDLE | |
| MINDSTATE_CALM_MOVE | |
| MINDSTATE_DISTURBED_IDLE | |
| MINDSTATE_CHASE_MOVE | |
| MINDSTATE_ALERTED_IDLE | |
| MINDSTATE_ALERTED_MOVE | |
| ENUM_COUNT | |
Definition at line 1 of file InfectedSoundEventHandler.c.
Definition at line 38 of file InfectedSoundEventHandler.c.
References m_CurrentState.
Referenced by PlayRequest().
Definition at line 45 of file InfectedSoundEventHandler.c.
References m_CurrentState.
Definition at line 33 of file InfectedSoundEventHandler.c.
References m_AvailableStates.
| void InfectedSoundEventHandler | ( | ZombieBase | pInfected | ) |
Definition at line 21 of file InfectedSoundEventHandler.c.
References AlertedIdleSoundEvent(), CalmIdleSoundEvent(), CalmMoveSoundEvent(), ChaseMoveSoundEvent(), DisturbedIdleSoundEvent(), m_AvailableStates, and m_Infected.
Referenced by DayZInfected::Init().
| bool IsPlaying | ( | ) |
Definition at line 64 of file InfectedSoundEventHandler.c.
References m_CurrentState.
same sound event - skip
Definition at line 72 of file InfectedSoundEventHandler.c.
References GetCurrentStateEventID(), m_AvailableStates, m_CurrentState, and m_Infected.
| void SoftStop | ( | ) |
Definition at line 58 of file InfectedSoundEventHandler.c.
References m_CurrentState.
| void Stop | ( | ) |
Definition at line 52 of file InfectedSoundEventHandler.c.
References m_CurrentState.
|
static |
Definition at line 17 of file InfectedSoundEventHandler.c.
Referenced by GetSoundEventType(), GetSoundEventType(), InfectedSoundEventHandler(), PlayRequest(), PlayRequestEx(), and RegisterState().
| ref InfectedSoundEventBase m_CurrentState |
Definition at line 18 of file InfectedSoundEventHandler.c.
Referenced by GetCurrentStateEventID(), GetCurrentStateEventType(), IsPlaying(), OnTick(), PlayRequest(), PlayRequestEx(), SoftStop(), and Stop().
| ZombieBase m_Infected |
Definition at line 19 of file InfectedSoundEventHandler.c.
| enum EInfectedSoundEventID SOUND_EVENTS_MAX = EInfectedSoundEventID.ENUM_COUNT |
Referenced by PlayRequestEx().