![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
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 | |
| override int | GetCurrentStateEventID () |
| override int | GetCurrentStateEventType () |
| static override int | GetSoundEventType (int id) |
| void | InfectedSoundEventHandler (ZombieBase pInfected) |
| bool | IsPlaying () |
| override bool | PlayRequest (int id, bool sent_from_server=false) |
| void | SoftStop () |
| void | Stop () |
| Stops all elements this effect consists of. | |
| 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.
| override int GetCurrentStateEventID | ( | ) |
Definition at line 38 of file infectedsoundeventhandler.c.
References m_CurrentState.
Referenced by PlayRequest().
| override int GetCurrentStateEventType | ( | ) |
Definition at line 47 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 72 of file infectedsoundeventhandler.c.
References m_CurrentState.
same sound event - skip
Definition at line 82 of file infectedsoundeventhandler.c.
References InfectedSoundEventBase::CanPlay(), GetCurrentStateEventID(), m_AvailableStates, m_CurrentState, and m_Infected.
| void SoftStop | ( | ) |
Definition at line 64 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(), Stop(), and StopRequest().
| ZombieBase m_Infected |
Definition at line 19 of file infectedsoundeventhandler.c.
| enum EInfectedSoundEventID SOUND_EVENTS_MAX = EInfectedSoundEventID.ENUM_COUNT |
Referenced by PlayRequestEx().