DayZ 1.24
Loading...
Searching...
No Matches
DamageEvents.c File Reference

Go to the source code of this file.

Classes

class  PlayerSoundEventBase
 
class  DamageSoundEvents
 

Functions

class DamageSoundEvents extends PlayerSoundEventBase DamageLightSoundEvent ()
 
void DamageSoundEvents ()
 
override bool CanPlay (PlayerBase player)
 
override bool HasPriorityOverCurrent (PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
 

Function Documentation

◆ CanPlay()

override bool DamageLightSoundEvent::CanPlay ( PlayerBase player)

Definition at line 31 of file DamageEvents.c.

32{
33 void DamageHeavySoundEvent()
34 {

◆ DamageLightSoundEvent()

Definition at line 1 of file DamageEvents.c.

24 {
25
26 m_ID = EPlayerSoundEventID.TAKING_DMG_LIGHT;
28 }
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Definition Effect.c:49
int m_SoundVoiceAnimEventClassID
Definition SoundEvents.c:83

Referenced by PlayerSoundEventHandler().

◆ DamageSoundEvents()

void DamageLightSoundEvent::DamageSoundEvents ( )

Definition at line 25 of file DamageEvents.c.

◆ HasPriorityOverCurrent()

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

Definition at line 36 of file DamageEvents.c.