PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
PlayerSoundEventBase Class Reference

Private Member Functions

void DamageSoundEvents ()
 
override bool CanPlay (PlayerBase player)
 
override bool HasPriorityOverCurrent (PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
 
void DrowningEvents ()
 
override bool CanPlay (PlayerBase player)
 
override bool HasPriorityOverCurrent (PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
 
void HeatComfortEventsBase ()
 
override bool HasPriorityOverCurrent (PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
 
void HoldBreathSoundEventBase ()
 
override bool HasHoldBreathException ()
 
void InjurySoundEvents ()
 
override bool CanPlay (PlayerBase player)
 
override bool HasPriorityOverCurrent (PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
 
override bool HasPriorityOverCurrent (PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
 
override bool CanPlay (PlayerBase player)
 
override void OnPlay (PlayerBase player)
 
override void OnEnd ()
 
void MeleeAttackSoundEvents ()
 
override bool CanPlay (PlayerBase player)
 
override bool HasPriorityOverCurrent (PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
 
override void OnEnd ()
 
void PickupHeavySoundEvent ()
 
void ForceConsumeSoundEvent ()
 
void StaminaSoundEventBase ()
 
override bool HasPriorityOverCurrent (PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
 
override void OnPlay (PlayerBase player)
 
void SymptomSoundEventBase ()
 
override bool HasPriorityOverCurrent (PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
 

Private Attributes

const int MAX_VOLUME = 4
 

Member Function Documentation

◆ CanPlay() [1/5]

override bool CanPlay ( PlayerBase  player)
inlineprivate

Referenced by PlayRequestEx().

◆ CanPlay() [2/5]

override bool CanPlay ( PlayerBase  player)
inlineprivate

◆ CanPlay() [3/5]

override bool CanPlay ( PlayerBase  player)
inlineprivate

◆ CanPlay() [4/5]

override bool CanPlay ( PlayerBase  player)
inlineprivate

◆ CanPlay() [5/5]

override bool CanPlay ( PlayerBase  player)
inlineprivate

◆ DamageSoundEvents()

void DamageSoundEvents ( )
inlineprivate

References m_HasPriorityOverTypes, and m_Type.

◆ DrowningEvents()

void DrowningEvents ( )
inlineprivate

References m_HasPriorityOverTypes, and m_Type.

◆ ForceConsumeSoundEvent()

void ForceConsumeSoundEvent ( )
inlineprivate

References m_HasPriorityOverTypes, and m_Type.

◆ HasHoldBreathException()

override bool HasHoldBreathException ( )
inlineprivate

Referenced by CanPlay().

◆ HasPriorityOverCurrent() [1/8]

override bool HasPriorityOverCurrent ( PlayerBase  player,
EPlayerSoundEventID  other_state_id,
EPlayerSoundEventType  type_other 
)
inlineprivate

Referenced by PlayRequestEx().

◆ HasPriorityOverCurrent() [2/8]

override bool HasPriorityOverCurrent ( PlayerBase  player,
EPlayerSoundEventID  other_state_id,
EPlayerSoundEventType  type_other 
)
inlineprivate

◆ HasPriorityOverCurrent() [3/8]

override bool HasPriorityOverCurrent ( PlayerBase  player,
EPlayerSoundEventID  other_state_id,
EPlayerSoundEventType  type_other 
)
inlineprivate

◆ HasPriorityOverCurrent() [4/8]

override bool HasPriorityOverCurrent ( PlayerBase  player,
EPlayerSoundEventID  other_state_id,
EPlayerSoundEventType  type_other 
)
inlineprivate

◆ HasPriorityOverCurrent() [5/8]

override bool HasPriorityOverCurrent ( PlayerBase  player,
EPlayerSoundEventID  other_state_id,
EPlayerSoundEventType  type_other 
)
inlineprivate

◆ HasPriorityOverCurrent() [6/8]

override bool HasPriorityOverCurrent ( PlayerBase  player,
EPlayerSoundEventID  other_state_id,
EPlayerSoundEventType  type_other 
)
inlineprivate

◆ HasPriorityOverCurrent() [7/8]

override bool HasPriorityOverCurrent ( PlayerBase  player,
EPlayerSoundEventID  other_state_id,
EPlayerSoundEventType  type_other 
)
inlineprivate

◆ HasPriorityOverCurrent() [8/8]

override bool HasPriorityOverCurrent ( PlayerBase  player,
EPlayerSoundEventID  other_state_id,
EPlayerSoundEventType  type_other 
)
inlineprivate

◆ HeatComfortEventsBase()

void HeatComfortEventsBase ( )
inlineprivate

References m_HasPriorityOverTypes, and m_Type.

◆ HoldBreathSoundEventBase()

void HoldBreathSoundEventBase ( )
inlineprivate

◆ InjurySoundEvents()

void InjurySoundEvents ( )
inlineprivate

References m_HasPriorityOverTypes, and m_Type.

◆ MeleeAttackSoundEvents()

void MeleeAttackSoundEvents ( )
inlineprivate

References m_HasPriorityOverTypes, and m_Type.

◆ OnEnd() [1/2]

override void OnEnd ( )
inlineprivate

References m_Player.

Referenced by Play(), and ~PlayerSoundEventBase().

◆ OnEnd() [2/2]

override void OnEnd ( )
inlineprivate

References m_Player.

◆ OnPlay() [1/2]

override void OnPlay ( PlayerBase  player)
inlineprivate

◆ OnPlay() [2/2]

override void OnPlay ( PlayerBase  player)
inlineprivate

!! beware of the ifdef above , most likely you want to put your code above it, otherwise it might not get executed !!!

References DiagMenu::GetBool(), InventorySlots::GetSlotIdFromString(), Math::Lerp(), m_SoundSetCallback, and MAX_VOLUME.

◆ PickupHeavySoundEvent()

void PickupHeavySoundEvent ( )
inlineprivate

◆ StaminaSoundEventBase()

void StaminaSoundEventBase ( )
inlineprivate

References m_HasPriorityOverTypes, and m_Type.

◆ SymptomSoundEventBase()

void SymptomSoundEventBase ( )
inlineprivate

References m_HasPriorityOverTypes, and m_Type.

Field Documentation

◆ MAX_VOLUME

const int MAX_VOLUME = 4
private

The documentation for this class was generated from the following files: