◆ DetermineInjuryZone()
37 {
40
44
45
46
47 if( speed == 0 )
49
51
53 {
55 }
56
58 {
60 }
62 {
64 }
67 }
DayZPlayer m_Player
Definition Hand_Events.c:42
eInjuryHandlerLevels
Definition InjuryHandler.c:19
eInjurySoundZones
Definition InjurySoundHandler.c:2
ref HumanMovementState m_MovementState
Definition InjurySoundHandler.c:30
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:602
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.
Перекрестные ссылки Math::Clamp(), m_MovementState и m_Player.
◆ PlaySound()
112 {
114 }
EPlayerSoundEventID
Definition PlayerSoundEventHandler.c:2
bool PlaySoundEvent(EPlayerSoundEventID id, bool from_anim_system=false, bool is_from_server=false)
Definition DayZPlayerImplement.c:493
Перекрестные ссылки m_Player и DayZPlayer::PlaySoundEvent().
◆ ProcessSound()
82 {
83
84
86 {
89 {
92 return;
93 }
95 {
97 }
99 {
101 }
103 {
105 }
108 }
109 }
void PlaySound()
Definition HungerSoundHandler.c:38
float GetTime()
Definition NotificationSystem.c:35
float m_SoundTime
Definition InjurySoundHandler.c:33
const float SOUND_INTERVALS_LIGHT_MAX
Definition InjurySoundHandler.c:26
const float SOUND_INTERVALS_HEAVY_MIN
Definition InjurySoundHandler.c:28
const float SOUND_INTERVALS_MEDIUM_MAX
Definition InjurySoundHandler.c:27
const float SOUND_INTERVALS_MEDIUM_MIN
Definition InjurySoundHandler.c:27
const float SOUND_INTERVALS_HEAVY_MAX
Definition InjurySoundHandler.c:28
const float SOUND_INTERVALS_LIGHT_MIN
Definition InjurySoundHandler.c:26
proto native CGame GetGame()
static float RandomFloatInclusive(float min, float max)
Returns a random float number between and min [inclusive] and max [inclusive].
Definition EnMath.c:106
Перекрестные ссылки GetGame(), GetTime(), m_SoundTime, PlaySound(), Math::RandomFloatInclusive(), SOUND_INTERVALS_LIGHT_MAX и SOUND_INTERVALS_LIGHT_MIN.
◆ Update()
71 {
73
75 {
78 }
79 }
void ProcessSound()
Definition HungerSoundHandler.c:28
eInjuryHandlerLevels m_InjuryLevel
Definition InjurySoundHandler.c:32
eInjurySoundZones DetermineInjuryZone(eInjuryHandlerLevels level)
Definition InjurySoundHandler.c:36
Перекрестные ссылки m_Player и ProcessSound().
◆ m_InjuryLevel
◆ m_InjurySoundZone
◆ m_MovementState
◆ m_SoundTime
◆ SOUND_INTERVALS_HEAVY_MAX
◆ SOUND_INTERVALS_HEAVY_MIN
◆ SOUND_INTERVALS_LIGHT_MAX
◆ SOUND_INTERVALS_LIGHT_MIN
◆ SOUND_INTERVALS_MEDIUM_MAX
◆ SOUND_INTERVALS_MEDIUM_MIN
Объявления и описания членов класса находятся в файле: