Enumerations | |
enum | EPlayerSoundEventType { GENERAL = 0x00000001 , MELEE = 0x00000002 , STAMINA = 0x00000004 , DAMAGE = 0x00000008 , DUMMY = 0x00000010 , INJURY = 0x00000020 , DROWNING = 0x00000040 } |
Functions | |
bool | IsDummy () |
EPlayerSoundEventType | GetPriorityOverTypes () |
bool | HasHoldBreathException () |
void | PlayerSoundEventBase () |
void | ~PlayerSoundEventBase () |
int | GetSoundVoiceAnimEventClassID () |
bool | HasPriorityOverCurrent (PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other) |
bool | IsFinished () |
bool | IsDummyFinished () |
void | OnTick (float delta_time) |
bool | CanPlay (PlayerBase player) |
void | Init (PlayerBase player) |
void | InitEx (PlayerBase player, int param) |
void | OnEnd () |
void | SendEvent (float time) |
void | OnInterupt () |
override void | OnPlay (PlayerBase player) |
override bool | Play () |
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 |
bool CanPlay | ( | PlayerBase | player | ) |
EPlayerSoundEventType GetPriorityOverTypes | ( | ) |
References m_HasPriorityOverTypes.
int GetSoundVoiceAnimEventClassID | ( | ) |
References m_SoundVoiceAnimEventClassID.
bool HasHoldBreathException | ( | ) |
bool HasPriorityOverCurrent | ( | PlayerBase | player, |
EPlayerSoundEventID | other_state_id, | ||
EPlayerSoundEventType | type_other | ||
) |
void Init | ( | PlayerBase | player | ) |
References InitEx().
void InitEx | ( | PlayerBase | player, |
int | param | ||
) |
References m_HasPriorityOverTypes, m_Param, and m_Player.
Referenced by Init().
bool IsDummy | ( | ) |
References m_IsDummyType.
Referenced by IsFinished(), and Play().
bool IsDummyFinished | ( | ) |
References GetGame(), CGame::GetTime(), m_DummySoundLength, and m_DummyStartTime.
Referenced by IsFinished().
bool IsFinished | ( | ) |
References IsDummy(), IsDummyFinished(), and IsSoundCallbackExist().
void OnEnd | ( | ) |
References m_ProcessPlaybackEvent, and SendEvent().
void OnInterupt | ( | ) |
Referenced by Play().
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 !!!
void OnTick | ( | float | delta_time | ) |
References Math::Clamp(), m_Player, m_PlayTime, m_ProcessPlaybackEvent, m_SoundSetCallback, and SendEvent().
void PlayerSoundEventBase | ( | ) |
References m_Type.
void SendEvent | ( | float | time | ) |
References m_Player, m_PlayTime, m_SoundSetCallback, and float::MAX.
void ~PlayerSoundEventBase | ( | ) |
References m_SoundSetCallback, and PlayerSoundEventBase::OnEnd().
enum EPlayerSoundEventType ENUM_COUNT = 0x00000002 |
enum EPlayerSoundEventType HIGHEST_PRIORITY = 0x00000002 |
float m_DummySoundLength |
Referenced by IsDummyFinished(), and StaminaSoundEventBase::StaminaNormalDummy().
float m_DummyStartTime |
Referenced by IsDummyFinished(), and Play().
EPlayerSoundEventType m_HasPriorityOverTypes |
Referenced by PlayerSoundEventBase::DamageSoundEvents(), PlayerSoundEventBase::DrowningEvents(), PlayerSoundEventBase::ForceConsumeSoundEvent(), 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() |
Referenced by CanPlay().
bool m_IsDummyType |
Referenced by IsDummy(), and StaminaSoundEventBase::StaminaNormalDummy().
enum EPlayerSoundEventType m_Player = 0x00000002 |
float m_PlayTime |
Referenced by OnTick(), and SendEvent().
bool m_ProcessPlaybackEvent |
Referenced by OnEnd(), OnTick(), and StaminaNormalDummy().
enum EPlayerSoundEventType SKIP_CONTROLLED_PLAYER = 0x00000001 |