Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
heatcomfortevents.c
Go to the documentation of this file.
1
class
HeatComfortEventsBase
extends
PlayerSoundEventBase
2
{
3
4
void
HeatComfortEventsBase
()
5
{
6
m_HasPriorityOverTypes
=
EPlayerSoundEventType
.DUMMY |
EPlayerSoundEventType
.INJURY |
EPlayerSoundEventType
.STAMINA |
EPlayerSoundEventType
.GENERAL;
//-1 for all
7
m_Type
=
EPlayerSoundEventType
.GENERAL;
8
}
9
10
override
bool
HasPriorityOverCurrent
(
PlayerBase
player,
EPlayerSoundEventID
other_state_id,
EPlayerSoundEventType
type_other )
11
{
12
return
true
;
13
}
14
}
15
16
class
FreezingSoundEvent
extends
HeatComfortEventsBase
17
{
18
void
FreezingSoundEvent
()
19
{
20
m_ID
=
EPlayerSoundEventID
.FREEZING;
21
m_SoundVoiceAnimEventClassID
= 11;
22
}
23
}
24
25
class
HotSoundEvent
extends
HeatComfortEventsBase
26
{
27
void
HotSoundEvent()
28
{
29
m_ID
=
EPlayerSoundEventID
.HOT;
30
m_SoundVoiceAnimEventClassID
= 30;
31
}
32
}
HeatComfortEventsBase
void HeatComfortEventsBase()
Definition:
heatcomfortevents.c:3
m_Type
eBleedingSourceType m_Type
Definition:
bleedingsource.c:25
m_HasPriorityOverTypes
EPlayerSoundEventType m_HasPriorityOverTypes
Definition:
playersoundeventbase.c:40
FreezingSoundEvent
class HeatComfortEventsBase extends PlayerSoundEventBase FreezingSoundEvent()
Definition:
heatcomfortevents.c:18
PlayerBase
Definition:
playerbaseclient.c:1
PlayerSoundEventBase
Definition:
damageevents.c:1
HasPriorityOverCurrent
override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
Definition:
heatcomfortevents.c:9
EPlayerSoundEventType
EPlayerSoundEventType
Definition:
playersoundeventbase.c:1
EPlayerSoundEventID
EPlayerSoundEventID
Definition:
playersoundeventhandler.c:1
HeatComfortEventsBase
Definition:
heatcomfortevents.c:25
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
heatcomfortevents.c
Generated by
1.8.17