Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
symptomevents.c
Go to the documentation of this file.
1
class
SymptomSoundEventBase
extends
PlayerSoundEventBase
2
{
3
void
SymptomSoundEventBase
()
4
{
5
m_Type
=
EPlayerSoundEventType
.GENERAL;
6
m_HasPriorityOverTypes
= -1;
7
}
8
9
override
bool
HasPriorityOverCurrent
(
PlayerBase
player,
EPlayerSoundEventID
other_state_id,
EPlayerSoundEventType
type_other)
10
{
11
return
true
;
12
}
13
}
14
15
class
CoughSoundEvent
extends
SymptomSoundEventBase
16
{
17
void
CoughSoundEvent
()
18
{
19
m_ID
=
EPlayerSoundEventID
.SYMPTOM_COUGH;
20
m_SoundVoiceAnimEventClassID
= 8;
21
}
22
}
23
24
class
LaugherSoundEvent
extends
SymptomSoundEventBase
25
{
26
void
LaugherSoundEvent
()
27
{
28
m_ID
=
EPlayerSoundEventID
.SYMPTOM_LAUGHTER;
29
m_SoundVoiceAnimEventClassID
= 10;
30
}
31
}
32
33
class
SneezeSoundEvent
extends
SymptomSoundEventBase
34
{
35
void
SneezeSoundEvent
()
36
{
37
m_ID
=
EPlayerSoundEventID
.SYMPTOM_SNEEZE;
38
m_SoundVoiceAnimEventClassID
= 9;
39
}
40
}
41
42
43
class
FatigueSoundEvent
extends
SymptomSoundEventBase
44
{
45
void
FatigueSoundEvent()
46
{
47
m_ID
=
EPlayerSoundEventID
.SYMPTOM_FATIGUE;
48
m_SoundVoiceAnimEventClassID
= 2;
49
}
50
51
override
void
OnPlay
(
PlayerBase
player)
52
{
53
super.OnPlay(player);
54
}
55
56
}
CoughSoundEvent
class SymptomSoundEventBase extends PlayerSoundEventBase CoughSoundEvent()
Definition:
symptomevents.c:17
SneezeSoundEvent
class LaugherSoundEvent extends SymptomSoundEventBase SneezeSoundEvent()
Definition:
symptomevents.c:35
m_Type
eBleedingSourceType m_Type
Definition:
bleedingsource.c:25
LaugherSoundEvent
void LaugherSoundEvent()
Definition:
symptomevents.c:2
SymptomSoundEventBase
void SymptomSoundEventBase()
Definition:
symptomevents.c:2
m_HasPriorityOverTypes
EPlayerSoundEventType m_HasPriorityOverTypes
Definition:
playersoundeventbase.c:40
SymptomSoundEventBase
Definition:
symptomevents.c:24
PlayerBase
Definition:
playerbaseclient.c:1
PlayerSoundEventBase
Definition:
damageevents.c:1
HasPriorityOverCurrent
override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
Definition:
symptomevents.c:8
OnPlay
override void OnPlay(PlayerBase player)
Definition:
jumpevents.c:16
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
DAYZ
scripts_v1.24.157551
scripts
world
classes
soundevents
playersoundevents
events
symptomevents.c
Generated by
1.8.17