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

Go to the source code of this file.

Classes

class  PlayerSoundEventBase
 
class  InjurySoundEvents
 

Functions

class InjurySoundEvents extends PlayerSoundEventBase InjuryLightSoundEvent ()
 
void InjurySoundEvents ()
 
override bool CanPlay (PlayerBase player)
 
override bool HasPriorityOverCurrent (PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
 
class InjuryMediumSoundEvent extends InjurySoundEvents InjuryHeavySoundEvent ()
 
void InjuryMediumSoundEvent ()
 

Function Documentation

◆ CanPlay()

override bool InjuryLightSoundEvent::CanPlay ( PlayerBase player)

Definition at line 31 of file InjuryEvents.c.

32{
34 {
void InjuryMediumSoundEvent()

◆ HasPriorityOverCurrent()

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

Definition at line 36 of file InjuryEvents.c.

◆ InjuryHeavySoundEvent()

Definition at line 31 of file InjuryEvents.c.

44 {
45 m_ID = EPlayerSoundEventID.INJURED_HIGH;
47 }
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().

◆ InjuryLightSoundEvent()

Definition at line 1 of file InjuryEvents.c.

24 {
25
26 m_ID = EPlayerSoundEventID.INJURED_LIGHT;
28 }

Referenced by PlayerSoundEventHandler().

◆ InjuryMediumSoundEvent()

void InjuryHeavySoundEvent::InjuryMediumSoundEvent ( )

Definition at line 44 of file InjuryEvents.c.

44 {
45 m_ID = EPlayerSoundEventID.INJURED_HIGH;
47 }
48}
49

References m_ID, and m_SoundVoiceAnimEventClassID.

Referenced by PlayerSoundEventHandler().

◆ InjurySoundEvents()

void InjuryLightSoundEvent::InjurySoundEvents ( )

Definition at line 25 of file InjuryEvents.c.