Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
MaskMdfr Class Reference
Inheritance diagram for MaskMdfr:
ModifierBase

Private Member Functions

override bool ActivateCondition (PlayerBase player)
override bool DeactivateCondition (PlayerBase player)
void HandleSounds (PlayerBase player, float deltaT, MaskBase mask)
override void Init ()
override void OnActivate (PlayerBase player)
override void OnDeactivate (PlayerBase player)
override void OnReconnect (PlayerBase player)
override void OnTick (PlayerBase player, float deltaT)

Private Attributes

const float IN_AREA_CONSUME_FILTER_QUANTITY_PER_SEC = 0.3
const float LOW_FILTER_SOUND_EVENT_MAX = 9
const float LOW_FILTER_SOUND_EVENT_MIN = 3
const float LOW_FILTER_SOUND_THRESHOLD = 0.2
float m_NextSoundEventTime
float m_SoundTimeAccu1
const float OUT_AREA_CONSUME_FILTER_QUANTITY_PER_SEC = 0.03
const float STAMINA_DEPLETION_MODIFIER = 1.25
const float STAMINA_RECOVERY_MODIFIER = 0.5

Detailed Description

Definition at line 1 of file mask.c.

Member Function Documentation

◆ ActivateCondition()

override bool ActivateCondition ( PlayerBase player)
inlineprivate

Definition at line 26 of file mask.c.

Referenced by DeactivateCondition().

◆ DeactivateCondition()

override bool DeactivateCondition ( PlayerBase player)
inlineprivate

Definition at line 31 of file mask.c.

References ActivateCondition().

◆ HandleSounds()

void HandleSounds ( PlayerBase player,
float deltaT,
MaskBase mask )
inlineprivate

◆ Init()

◆ OnActivate()

override void OnActivate ( PlayerBase player)
inlineprivate

Definition at line 106 of file mask.c.

◆ OnDeactivate()

override void OnDeactivate ( PlayerBase player)
inlineprivate

Definition at line 111 of file mask.c.

◆ OnReconnect()

override void OnReconnect ( PlayerBase player)
inlineprivate

Definition at line 101 of file mask.c.

References OnActivate().

◆ OnTick()

override void OnTick ( PlayerBase player,
float deltaT )
inlineprivate

Field Documentation

◆ IN_AREA_CONSUME_FILTER_QUANTITY_PER_SEC

const float IN_AREA_CONSUME_FILTER_QUANTITY_PER_SEC = 0.3
private

Definition at line 3 of file mask.c.

Referenced by OnTick().

◆ LOW_FILTER_SOUND_EVENT_MAX

const float LOW_FILTER_SOUND_EVENT_MAX = 9
private

Definition at line 10 of file mask.c.

Referenced by HandleSounds().

◆ LOW_FILTER_SOUND_EVENT_MIN

const float LOW_FILTER_SOUND_EVENT_MIN = 3
private

Definition at line 9 of file mask.c.

Referenced by HandleSounds().

◆ LOW_FILTER_SOUND_THRESHOLD

const float LOW_FILTER_SOUND_THRESHOLD = 0.2
private

Definition at line 12 of file mask.c.

Referenced by HandleSounds().

◆ m_NextSoundEventTime

float m_NextSoundEventTime
private

Definition at line 15 of file mask.c.

Referenced by HandleSounds().

◆ m_SoundTimeAccu1

float m_SoundTimeAccu1
private

Definition at line 14 of file mask.c.

Referenced by HandleSounds().

◆ OUT_AREA_CONSUME_FILTER_QUANTITY_PER_SEC

const float OUT_AREA_CONSUME_FILTER_QUANTITY_PER_SEC = 0.03
private

Definition at line 4 of file mask.c.

Referenced by OnTick().

◆ STAMINA_DEPLETION_MODIFIER

const float STAMINA_DEPLETION_MODIFIER = 1.25
private

Definition at line 7 of file mask.c.

Referenced by StaminaHandler::Init().

◆ STAMINA_RECOVERY_MODIFIER

const float STAMINA_RECOVERY_MODIFIER = 0.5
private

Definition at line 6 of file mask.c.

Referenced by StaminaHandler::Init().


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/4_world/classes/playermodifiers/modifiers/mask.c