![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Enumerations | |
| enum | EPlayerSoundEventType { GENERAL = 0x00000001 , MELEE = 0x00000002 , STAMINA = 0x00000004 , DAMAGE = 0x00000008 , DUMMY = 0x00000010 , INJURY = 0x00000020 , DROWNING = 0x00000040 } |
Functions | |
| void | ~PlayerSoundEventBase () |
| bool | CanPlay (PlayerBase player) |
| EPlayerSoundEventType | GetPriorityOverTypes () |
| int | GetSoundVoiceAnimEventClassID () |
| bool | HasHoldBreathException () |
| bool | HasPriorityOverCurrent (PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other) |
| void | Init (PlayerBase player) |
| void | InitEx (PlayerBase player, int param) |
| bool | IsDummy () |
| bool | IsDummyFinished () |
| bool | IsFinished () |
| void | OnEnd () |
| void | OnInterupt () |
| override void | OnPlay (PlayerBase player) |
| void | OnTick (float delta_time) |
| override bool | Play () |
| void | PlayerSoundEventBase () |
| void | SendEvent (float time) |
Variables | |
| enum EPlayerSoundEventType | ENUM_COUNT = 0x00000004 |
| enum EPlayerSoundEventType | HIGHEST_PRIORITY = 0x00000002 |
| float | m_DummySoundLength |
| float | m_DummyStartTime |
| EPlayerSoundEventType | m_HasPriorityOverTypes |
| ref HumanMovementState | m_Hms = new HumanMovementState() |
| bool | m_IsDummyType |
| enum EPlayerSoundEventType | m_Player = 0x00000004 |
| float | m_PlayTime |
| bool | m_ProcessPlaybackEvent |
| enum EPlayerSoundEventType | SKIP_CONTROLLED_PLAYER = 0x00000001 |
| enum EPlayerSoundEventType | STOP_PLAYBACK = 0x00000004 |
| Enumerator | |
|---|---|
| GENERAL | |
| MELEE | |
| STAMINA | |
| DAMAGE | |
| DUMMY | |
| INJURY | |
| DROWNING | |
Definition at line 1 of file playersoundeventbase.c.
| void ~PlayerSoundEventBase | ( | ) |
Definition at line 64 of file playersoundeventbase.c.
References m_SoundSetCallback, and PlayerSoundEventBase::OnEnd().
| bool CanPlay | ( | PlayerBase | player | ) |
Definition at line 116 of file playersoundeventbase.c.
References HasHoldBreathException(), and m_Hms.
| EPlayerSoundEventType GetPriorityOverTypes | ( | ) |
Definition at line 48 of file playersoundeventbase.c.
References m_HasPriorityOverTypes.
| int GetSoundVoiceAnimEventClassID | ( | ) |
Definition at line 70 of file playersoundeventbase.c.
References m_SoundVoiceAnimEventClassID.
| bool HasHoldBreathException | ( | ) |
Definition at line 54 of file playersoundeventbase.c.
| bool HasPriorityOverCurrent | ( | PlayerBase | player, |
| EPlayerSoundEventID | other_state_id, | ||
| EPlayerSoundEventType | type_other ) |
Definition at line 75 of file playersoundeventbase.c.
| void Init | ( | PlayerBase | player | ) |
Definition at line 131 of file playersoundeventbase.c.
References InitEx().
| void InitEx | ( | PlayerBase | player, |
| int | param ) |
Definition at line 136 of file playersoundeventbase.c.
References m_HasPriorityOverTypes, and m_Param.
Referenced by Init().
| bool IsDummy | ( | ) |
Definition at line 43 of file playersoundeventbase.c.
References m_IsDummyType.
Referenced by IsFinished(), and Play().
| bool IsDummyFinished | ( | ) |
Definition at line 92 of file playersoundeventbase.c.
References g_Game, m_DummySoundLength, and m_DummyStartTime.
Referenced by IsFinished().
| bool IsFinished | ( | ) |
Definition at line 80 of file playersoundeventbase.c.
References IsDummy(), IsDummyFinished(), and IsSoundCallbackExist().
| void OnEnd | ( | ) |
Definition at line 146 of file playersoundeventbase.c.
References m_ProcessPlaybackEvent, and SendEvent().
| void OnInterupt | ( | ) |
Definition at line 162 of file playersoundeventbase.c.
Referenced by Play().
| override void OnPlay | ( | PlayerBase | player | ) |
Definition at line 167 of file playersoundeventbase.c.
| void OnTick | ( | float | delta_time | ) |
Definition at line 98 of file playersoundeventbase.c.
References Math::Clamp(), m_PlayTime, m_ProcessPlaybackEvent, m_SoundSetCallback, and SendEvent().
| void PlayerSoundEventBase | ( | ) |
Definition at line 59 of file playersoundeventbase.c.
References m_Type.
| void SendEvent | ( | float | time | ) |
Definition at line 152 of file playersoundeventbase.c.
References m_PlayTime, and m_SoundSetCallback.
| enum EPlayerSoundEventType ENUM_COUNT = 0x00000004 |
| enum EPlayerSoundEventType HIGHEST_PRIORITY = 0x00000002 |
| float m_DummySoundLength |
Definition at line 34 of file playersoundeventbase.c.
Referenced by IsDummyFinished(), and StaminaSoundEventBase::StaminaNormalDummy().
| float m_DummyStartTime |
Definition at line 35 of file playersoundeventbase.c.
Referenced by IsDummyFinished(), and Play().
| EPlayerSoundEventType m_HasPriorityOverTypes |
Definition at line 41 of file playersoundeventbase.c.
Referenced by PlayerSoundEventBase::DamageSoundEvents(), PlayerSoundEventBase::DrowningEvents(), PlayerSoundEventBase::ForceConsumeSoundEvent(), GetPriorityOverTypes(), HasPriorityOverCurrent(), PlayerSoundEventBase::HeatComfortEventsBase(), PlayerSoundEventBase::HoldBreathSoundEventBase(), InitEx(), PlayerSoundEventBase::InjurySoundEvents(), PlayerSoundEventBase::MeleeAttackSoundEvents(), PickupHeavySoundEvent(), PlayerSoundEventBase::PickupHeavySoundEvent(), StaminaSoundEventBase::StaminaNormalDummy(), PlayerSoundEventBase::StaminaSoundEventBase(), and PlayerSoundEventBase::SymptomSoundEventBase().
| ref HumanMovementState m_Hms = new HumanMovementState() |
Definition at line 40 of file playersoundeventbase.c.
Referenced by CanPlay().
| bool m_IsDummyType |
Definition at line 36 of file playersoundeventbase.c.
Referenced by IsDummy(), and StaminaSoundEventBase::StaminaNormalDummy().
| enum EPlayerSoundEventType m_Player = 0x00000004 |
| float m_PlayTime |
Definition at line 38 of file playersoundeventbase.c.
Referenced by OnTick(), and SendEvent().
| bool m_ProcessPlaybackEvent |
Definition at line 37 of file playersoundeventbase.c.
Referenced by OnEnd(), OnTick(), and StaminaNormalDummy().
| enum EPlayerSoundEventType SKIP_CONTROLLED_PLAYER = 0x00000001 |
| enum EPlayerSoundEventType STOP_PLAYBACK = 0x00000004 |