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

Go to the source code of this file.

Classes

class  PlayerSoundEventBase
 
class  DrowningSoundEventBase
 

Functions

class DrowningSoundEventBase extends PlayerSoundEventBase DrowningEvent1 ()
 
void DrowningEvents ()
 
override bool CanPlay (PlayerBase player)
 
override bool HasPriorityOverCurrent (PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
 

Function Documentation

◆ CanPlay()

override bool DrowningEvent1::CanPlay ( PlayerBase player)

Definition at line 29 of file DrowningEvents.c.

30{
31 void DrowningEvent2()
32 {

◆ DrowningEvent1()

Definition at line 1 of file DrowningEvents.c.

23 {
24 m_ID = EPlayerSoundEventID.DROWNING_BREATH;
26 }
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().

◆ DrowningEvents()

void DrowningEvent1::DrowningEvents ( )

Definition at line 23 of file DrowningEvents.c.

23 {
24 m_ID = EPlayerSoundEventID.DROWNING_BREATH;
26 }
27}

References m_ID, and m_SoundVoiceAnimEventClassID.

◆ HasPriorityOverCurrent()

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

Definition at line 34 of file DrowningEvents.c.