DayZ 1.24
|
Private Member Functions | |
override void | Init () |
override bool | ActivateCondition (PlayerBase player) |
override bool | DeactivateCondition (PlayerBase player) |
override void | OnTick (PlayerBase player, float deltaT) |
void | HandleSounds (PlayerBase player, float deltaT, MaskBase mask) |
override void | OnReconnect (PlayerBase player) |
override void | OnActivate (PlayerBase player) |
override void | OnDeactivate (PlayerBase player) |
Private Attributes | |
const float | IN_AREA_CONSUME_FILTER_QUANTITY_PER_SEC = 0.3 |
const float | OUT_AREA_CONSUME_FILTER_QUANTITY_PER_SEC = 0.03 |
const float | STAMINA_RECOVERY_MODIFIER = 0.5 |
const float | STAMINA_DEPLETION_MODIFIER = 1.25 |
const float | LOW_FILTER_SOUND_EVENT_MIN = 3 |
const float | LOW_FILTER_SOUND_EVENT_MAX = 9 |
const float | LOW_FILTER_SOUND_THRESHOLD = 0.2 |
float | m_SoundTimeAccu1 |
float | m_NextSoundEventTime |
|
inlineprivate |
Definition at line 25 of file Mask.c.
Referenced by DeactivateCondition().
|
inlineprivate |
|
inlineprivate |
Definition at line 66 of file Mask.c.
References Math::InverseLerp(), Math::Lerp(), LOW_FILTER_SOUND_EVENT_MAX, LOW_FILTER_SOUND_EVENT_MIN, LOW_FILTER_SOUND_THRESHOLD, m_NextSoundEventTime, and m_SoundTimeAccu1.
Referenced by OnTick().
Definition at line 17 of file Mask.c.
References DEFAULT_TICK_TIME_ACTIVE_SHORT, DEFAULT_TICK_TIME_INACTIVE, m_ID, m_TickIntervalActive, m_TickIntervalInactive, and m_TrackActivatedTime.
|
inlineprivate |
|
inlineprivate |
Definition at line 104 of file Mask.c.
|
inlineprivate |
Definition at line 94 of file Mask.c.
References OnActivate().
|
inlineprivate |
Definition at line 35 of file Mask.c.
References HandleSounds(), IN_AREA_CONSUME_FILTER_QUANTITY_PER_SEC, m_Manager, and OUT_AREA_CONSUME_FILTER_QUANTITY_PER_SEC.
Definition at line 10 of file Mask.c.
Referenced by HandleSounds().
Definition at line 9 of file Mask.c.
Referenced by HandleSounds().
Definition at line 12 of file Mask.c.
Referenced by HandleSounds().
|
private |
Definition at line 15 of file Mask.c.
Referenced by HandleSounds().
|
private |
Definition at line 14 of file Mask.c.
Referenced by HandleSounds().
Definition at line 7 of file Mask.c.
Referenced by StaminaHandler::Init().
Definition at line 6 of file Mask.c.
Referenced by StaminaHandler::Init().