DayZ 1.24
|
Go to the source code of this file.
Enumerations | |
enum | EPlayerSoundEventID { HOLD_BREATH = 1 , EXHAUSTED_BREATH , RELEASE_BREATH , STAMINA_DOWN_LIGHT , STAMINA_DOWN_HEAVY , STAMINA_UP_LIGHT , STAMINA_UP_HEAVY , STAMINA_UP_END , STAMINA_NORMAL_DUMMY , TAKING_DMG_LIGHT , TAKING_DMG_HEAVY , SYMPTOM_COUGH , SYMPTOM_LAUGHTER , SYMPTOM_SNEEZE , JUMP , MELEE_ATTACK_LIGHT , INJURED_LIGHT , INJURED_MEDIUM , INJURED_HIGH , FREEZING , HOT , SYMPTOM_FATIGUE , STAMINA_LOW_FILTER_UPPER , STAMINA_LOW_FILTER_MID , STAMINA_LOW_FILTER_LOWER , DROWNING_BREATH , DROWNING_PAIN , PICKUP_HEAVY , THIRST , ENUM_COUNT } |
Definition at line 1 of file PlayerSoundEventHandler.c.
Definition at line 112 of file PlayerSoundEventHandler.c.
References m_ConfigIDToScriptIDmapping.
Definition at line 122 of file PlayerSoundEventHandler.c.
References m_CurrentState.
Definition at line 129 of file PlayerSoundEventHandler.c.
References m_CurrentState.
|
static |
Definition at line 117 of file PlayerSoundEventHandler.c.
References m_AvailableStates.
Definition at line 101 of file PlayerSoundEventHandler.c.
References m_CurrentState.
void PlayerSoundEventHandler | ( | PlayerBase | player | ) |
Definition at line 49 of file PlayerSoundEventHandler.c.
References CoughSoundEvent(), DamageLightSoundEvent(), DrowningEvent1(), ExhaustedBreathSoundEvent(), FreezingSoundEvent(), HoldBreathSoundEvent(), InjuryHeavySoundEvent(), InjuryLightSoundEvent(), InjuryMediumSoundEvent(), JumpSoundEvent(), LaugherSoundEvent(), m_Player, m_UpdateTimer, MeleeAttackLightEvent(), PickupHeavySoundEvent(), RegisterState(), ReleaseBreathSoundEvent(), SneezeSoundEvent(), StaminaDownHeavy(), StaminaDownLight(), StaminaLowFilterMid(), StaminaLowFilterUpper(), StaminaNormalDummy(), StaminaUpEnd(), StaminaUpHeavy(), StaminaUpLight(), and ThirstSoundEvent().
Referenced by ManBase::OnPlayerLoaded().
override bool PlayRequest | ( | EPlayerSoundEventID | id, |
bool | sent_from_server = false ) |
Definition at line 173 of file PlayerSoundEventHandler.c.
References PlayRequestEx().
override bool PlayRequestEx | ( | EPlayerSoundEventID | id, |
bool | sent_from_server = false, | ||
int | param = 0 ) |
Definition at line 136 of file PlayerSoundEventHandler.c.
References Error(), m_AvailableStates, m_CurrentState, m_Player, and SOUND_EVENTS_MAX.
Referenced by PlayRequest().
void RegisterState | ( | PlayerSoundEventBase | state | ) |
Definition at line 93 of file PlayerSoundEventHandler.c.
References m_AvailableStates, and m_ConfigIDToScriptIDmapping.
Referenced by PlayerSoundEventHandler().
|
static |
Definition at line 43 of file PlayerSoundEventHandler.c.
Definition at line 44 of file PlayerSoundEventHandler.c.
Referenced by ConvertAnimIDtoEventID(), and RegisterState().
ref PlayerSoundEventBase m_CurrentState |
Definition at line 45 of file PlayerSoundEventHandler.c.
enum EPlayerSoundEventID m_Player |
Definition at line 46 of file PlayerSoundEventHandler.c.
const int SOUND_EVENTS_MAX = EPlayerSoundEventID.ENUM_COUNT |
Definition at line 42 of file PlayerSoundEventHandler.c.