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 () |
| Stops all elements this effect consists of. | |
| void | SoftStop () |
| bool | IsPlaying () |
| override bool | PlayRequest (int id, bool sent_from_server=false) |
| override int GetCurrentStateEventID | ( | ) |
References m_CurrentState.
Referenced by PlayRequest().
| override int GetCurrentStateEventType | ( | ) |
References m_CurrentState.
References m_AvailableStates.
| void InfectedSoundEventHandler | ( | ZombieBase | pInfected | ) |
References AlertedIdleSoundEvent(), CalmIdleSoundEvent(), CalmMoveSoundEvent(), ChaseMoveSoundEvent(), DisturbedIdleSoundEvent(), m_AvailableStates, and m_Infected.
Referenced by DayZInfected::Init().
| bool IsPlaying | ( | ) |
References m_CurrentState.
same sound event - skip
References InfectedSoundEventBase::CanPlay(), GetCurrentStateEventID(), m_AvailableStates, m_CurrentState, and m_Infected.
| void SoftStop | ( | ) |
References m_CurrentState.
|
static |
Referenced by GetSoundEventType(), GetSoundEventType(), InfectedSoundEventHandler(), PlayRequest(), PlayRequestEx(), and RegisterState().
| ref InfectedSoundEventBase m_CurrentState |
Referenced by GetCurrentStateEventID(), GetCurrentStateEventType(), IsPlaying(), OnTick(), PlayRequest(), PlayRequestEx(), SoftStop(), and Stop().
| ZombieBase m_Infected |
| enum EInfectedSoundEventID SOUND_EVENTS_MAX = EInfectedSoundEventID.ENUM_COUNT |
Referenced by PlayRequestEx().