DayZ 1.24
|
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 } |
Variables | |
enum EPlayerSoundEventType | SKIP_CONTROLLED_PLAYER = 0x00000001 |
enum EPlayerSoundEventType | HIGHEST_PRIORITY = 0x00000002 |
enum EPlayerSoundEventType | ENUM_COUNT = 0x00000002 |
enum EPlayerSoundEventType | m_Player = 0x00000002 |
float | m_DummySoundLength |
float | m_DummyStartTime |
bool | m_IsDummyType |
bool | m_ProcessPlaybackEvent |
float | m_PlayTime |
ref HumanMovementState | m_Hms = new HumanMovementState() |
EPlayerSoundEventType | m_HasPriorityOverTypes |
Enumerator | |
---|---|
GENERAL | |
MELEE | |
STAMINA | |
DAMAGE | |
DUMMY | |
INJURY | |
DROWNING |
Definition at line 1 of file PlayerSoundEventBase.c.
bool CanPlay | ( | PlayerBase | player | ) |
Definition at line 111 of file PlayerSoundEventBase.c.
References PlayerSoundEventBase::HasHoldBreathException(), and m_Hms.
EPlayerSoundEventType GetPriorityOverTypes | ( | ) |
Definition at line 47 of file PlayerSoundEventBase.c.
References m_HasPriorityOverTypes.
int GetSoundVoiceAnimEventClassID | ( | ) |
Definition at line 69 of file PlayerSoundEventBase.c.
References m_SoundVoiceAnimEventClassID.
bool HasHoldBreathException | ( | ) |
Definition at line 53 of file PlayerSoundEventBase.c.
bool HasPriorityOverCurrent | ( | PlayerBase | player, |
EPlayerSoundEventID | other_state_id, | ||
EPlayerSoundEventType | type_other ) |
Definition at line 74 of file PlayerSoundEventBase.c.
void Init | ( | PlayerBase | player | ) |
void InitEx | ( | PlayerBase | player, |
int | param ) |
Definition at line 127 of file PlayerSoundEventBase.c.
References m_HasPriorityOverTypes, m_Param, and m_Player.
Referenced by Init().
bool IsDummy | ( | ) |
Definition at line 42 of file PlayerSoundEventBase.c.
References m_IsDummyType.
Referenced by IsFinished(), and Play().
bool IsDummyFinished | ( | ) |
Definition at line 87 of file PlayerSoundEventBase.c.
References GetGame(), m_DummySoundLength, and m_DummyStartTime.
Referenced by IsFinished().
bool IsFinished | ( | ) |
Definition at line 79 of file PlayerSoundEventBase.c.
References IsDummy(), IsDummyFinished(), and IsSoundCallbackExist().
void OnEnd | ( | ) |
Definition at line 135 of file PlayerSoundEventBase.c.
References m_ProcessPlaybackEvent, and SendEvent().
void OnInterupt | ( | ) |
override void OnPlay | ( | PlayerBase | player | ) |
!! beware of the ifdef above , most likely you want to put your code above it, otherwise it might not get executed !!!
Definition at line 156 of file PlayerSoundEventBase.c.
Definition at line 93 of file PlayerSoundEventBase.c.
References Math::Clamp(), AbstractWave::GetLength(), m_Player, m_PlayTime, m_ProcessPlaybackEvent, m_SoundSetCallback, SendEvent(), and AbstractWave::SetPosition().
Definition at line 164 of file PlayerSoundEventBase.c.
References GetGame(), AbstractWave::GetUserData(), IsDummy(), m_DummyStartTime, m_Player, m_SoundSetCallback, m_SoundVoiceAnimEventClassID, PlayerSoundEventBase::OnEnd(), OnInterupt(), and DayZPlayer::ProcessVoiceEvent().
void PlayerSoundEventBase | ( | ) |
Definition at line 141 of file PlayerSoundEventBase.c.
References m_Player, m_PlayTime, m_SoundSetCallback, and float::MAX.
void ~PlayerSoundEventBase | ( | ) |
Definition at line 63 of file PlayerSoundEventBase.c.
References m_SoundSetCallback, and PlayerSoundEventBase::OnEnd().
enum EPlayerSoundEventType ENUM_COUNT = 0x00000002 |
enum EPlayerSoundEventType HIGHEST_PRIORITY = 0x00000002 |
float m_DummySoundLength |
Definition at line 33 of file PlayerSoundEventBase.c.
Referenced by IsDummyFinished(), and StaminaSoundEventBase::StaminaNormalDummy().
float m_DummyStartTime |
Definition at line 34 of file PlayerSoundEventBase.c.
Referenced by IsDummyFinished(), and Play().
EPlayerSoundEventType m_HasPriorityOverTypes |
Definition at line 40 of file PlayerSoundEventBase.c.
Referenced by PlayerSoundEventBase::DamageSoundEvents(), PlayerSoundEventBase::DrowningEvents(), GetPriorityOverTypes(), HasPriorityOverCurrent(), PlayerSoundEventBase::HeatComfortEventsBase(), PlayerSoundEventBase::HoldBreathSoundEventBase(), InitEx(), PlayerSoundEventBase::InjurySoundEvents(), PlayerSoundEventBase::MeleeAttackSoundEvents(), PlayerSoundEventBase::PickupHeavySoundEvent(), PickupHeavySoundEvent(), StaminaSoundEventBase::StaminaNormalDummy(), PlayerSoundEventBase::StaminaSoundEventBase(), and PlayerSoundEventBase::SymptomSoundEventBase().
ref HumanMovementState m_Hms = new HumanMovementState() |
Definition at line 39 of file PlayerSoundEventBase.c.
Referenced by CanPlay().
bool m_IsDummyType |
Definition at line 35 of file PlayerSoundEventBase.c.
Referenced by IsDummy(), and StaminaSoundEventBase::StaminaNormalDummy().
enum EPlayerSoundEventType m_Player = 0x00000002 |
float m_PlayTime |
Definition at line 37 of file PlayerSoundEventBase.c.
Referenced by OnTick(), and SendEvent().
bool m_ProcessPlaybackEvent |
Definition at line 36 of file PlayerSoundEventBase.c.
Referenced by OnEnd(), OnTick(), and StaminaNormalDummy().
enum EPlayerSoundEventType SKIP_CONTROLLED_PLAYER = 0x00000001 |