Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
holdbreathevents.c
Go to the documentation of this file.
2 {
4  {
6  }
7 
8  override bool HasHoldBreathException()
9  {
10  return true;
11  }
12 
13 }
14 
15 
17 {
19  {
20  m_Type = EPlayerSoundEventType.GENERAL;
21  m_ID = EPlayerSoundEventID.HOLD_BREATH;
23  }
24 
25  override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
26  {
27  if (other_state_id == EPlayerSoundEventID.RELEASE_BREATH)
28  {
29  return false;
30  }
31  return true;
32  }
33 }
34 
36 {
38  {
39  m_Type = EPlayerSoundEventType.GENERAL;
40  m_ID = EPlayerSoundEventID.EXHAUSTED_BREATH;
42  }
43 
44  override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
45  {
46  return false;
47  }
48 }
49 
51 {
53  {
54  m_Type = EPlayerSoundEventType.GENERAL;
55  m_ID = EPlayerSoundEventID.RELEASE_BREATH;
57  }
58 
59  override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
60  {
61  if( other_state_id == EPlayerSoundEventID.HOLD_BREATH)
62  {
63  return false;
64  }
65  return true;
66  }
67 }
ReleaseBreathSoundEvent
class ExhaustedBreathSoundEvent extends HoldBreathSoundEventBase ReleaseBreathSoundEvent()
Definition: holdbreathevents.c:52
ExhaustedBreathSoundEvent
void ExhaustedBreathSoundEvent()
Definition: holdbreathevents.c:26
HoldBreathSoundEvent
class HoldBreathSoundEventBase extends PlayerSoundEventBase HoldBreathSoundEvent()
Definition: holdbreathevents.c:18
m_Type
eBleedingSourceType m_Type
Definition: bleedingsource.c:25
m_HasPriorityOverTypes
EPlayerSoundEventType m_HasPriorityOverTypes
Definition: playersoundeventbase.c:40
HasHoldBreathException
override bool HasHoldBreathException()
Definition: holdbreathevents.c:7
PlayerBase
Definition: playerbaseclient.c:1
HoldBreathSoundEventBase
void HoldBreathSoundEventBase()
Definition: holdbreathevents.c:2
PlayerSoundEventBase
Definition: damageevents.c:1
HasPriorityOverCurrent
override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
Definition: holdbreathevents.c:25
HoldBreathSoundEventBase
Definition: holdbreathevents.c:35
EPlayerSoundEventType
EPlayerSoundEventType
Definition: playersoundeventbase.c:1
EPlayerSoundEventID
EPlayerSoundEventID
Definition: playersoundeventhandler.c:1
m_ID
protected int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Definition: effect.c:49
m_SoundVoiceAnimEventClassID
int m_SoundVoiceAnimEventClassID
Definition: soundevents.c:5