DayZ
1.29
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
ActionEatEvents.c
См. документацию.
1
class
EatingVoiceOverrideDefault
:
EatingVoiceOverrideBase
2
{
3
void
EatingVoiceOverrideDefault
()
4
{
5
m_ID
= EReplaceSoundEventID.EAT_DEFAULT;
6
m_SoundAnimEventClassID
= 888;
7
}
8
}
9
10
class
EatingVoiceOverrideFruit
:
EatingVoiceOverrideBase
11
{
12
void
EatingVoiceOverrideFruit
()
13
{
14
m_ID
= EReplaceSoundEventID.EAT_FRUIT;
15
m_SoundAnimEventClassID = 889;
16
}
17
}
18
19
class
EatingVoiceOverrideBase
:
ReplaceSoundEventBase
20
{
21
void
EatingVoiceOverrideBase
()
22
{
23
m_EventType
=
ESoundEventType
.SOUND_VOICE;
24
m_UserString
=
"StopOnAnimEnd"
;
25
}
26
27
override
protected
void
SelectSoundID
()
28
{
29
string
cfgPath =
"cfgVehicles "
+
m_Player
.GetItemInHands().GetType() +
" AnimEvents Sound VoiceEatOverride eating_loop_default"
;
30
if
(
GetGame
().ConfigIsExisting(cfgPath))
31
m_ReplacedSoundAnimID
=
GetGame
().ConfigGetInt(cfgPath);
32
}
33
}
EatingVoiceOverrideFruit
EatingVoiceOverrideDefault EatingVoiceOverrideBase EatingVoiceOverrideFruit()
Определения
ActionEatEvents.c:12
m_ID
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Определения
Effect.c:51
ESoundEventType
ESoundEventType
Определения
ReplaceSoundEventHandler.c:2
EatingVoiceOverrideBase::EatingVoiceOverrideBase
void EatingVoiceOverrideBase()
Определения
ActionEatEvents.c:21
EatingVoiceOverrideBase::SelectSoundID
void SelectSoundID()
Определения
ActionEatEvents.c:27
EatingVoiceOverrideBase
Определения
ActionEatEvents.c:20
EatingVoiceOverrideDefault::EatingVoiceOverrideDefault
void EatingVoiceOverrideDefault()
Определения
ActionEatEvents.c:3
ReplaceSoundEventBase::m_Player
PlayerBase m_Player
Определения
ReplaceSoundEventBase.c:8
ReplaceSoundEventBase::m_EventType
ESoundEventType m_EventType
Определения
ReplaceSoundEventBase.c:3
ReplaceSoundEventBase::m_UserString
string m_UserString
Определения
ReplaceSoundEventBase.c:7
ReplaceSoundEventBase::m_SoundAnimEventClassID
int m_SoundAnimEventClassID
Определения
ReplaceSoundEventBase.c:5
ReplaceSoundEventBase::m_ID
EReplaceSoundEventID m_ID
Определения
ReplaceSoundEventBase.c:4
ReplaceSoundEventBase::m_ReplacedSoundAnimID
int m_ReplacedSoundAnimID
Определения
ReplaceSoundEventBase.c:6
ReplaceSoundEventBase
Определения
ActionSurfaceEvents.c:24
GetGame
DayZGame GetGame()
Определения
gameplay.c:636
Ishodniki
scripts
4_World
DayZ
Classes
SoundEvents
ReplaceSoundEvents
Events
ActionEatEvents.c
Создано системой
1.13.2