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

Protected Member Functions

override bool ActivateCondition (PlayerBase player)
void ApplyAgentsToBleedingSources (PlayerBase player, float deltaT)
void BleedingSourceCreateCheck (PlayerBase player)
override bool DeactivateCondition (PlayerBase player)
override void Init ()
override void OnActivate (PlayerBase player)
override void OnDeactivate (PlayerBase player)
override void OnTick (PlayerBase player, float deltaT)
float TransmitAgents (PlayerBase player, float count)

Protected Attributes

const float AGENT_DOSE_PER_BS_SEC = 0.33
const int EVENT_2_INTERVAL_MAX = 18
const int EVENT_2_INTERVAL_MIN = 13
float m_NextEvent1
float m_NextEvent2
float m_Time1
float m_Time2

Private Attributes

const float AGENTS_PER_SEC = 5
const int EVENT_1_INTERVAL_MAX = 5
const int EVENT_1_INTERVAL_MIN = 3

Detailed Description

Definition at line 1 of file areaexposure.c.

Member Function Documentation

◆ ActivateCondition()

override bool ActivateCondition ( PlayerBase player)
inlineprotected

Definition at line 34 of file areaexposure.c.

◆ ApplyAgentsToBleedingSources()

void ApplyAgentsToBleedingSources ( PlayerBase player,
float deltaT )
inlineprotected

Definition at line 107 of file areaexposure.c.

References AGENT_DOSE_PER_BS_SEC.

Referenced by OnTick().

◆ BleedingSourceCreateCheck()

void BleedingSourceCreateCheck ( PlayerBase player)
inlineprotected

◆ DeactivateCondition()

override bool DeactivateCondition ( PlayerBase player)
inlineprotected

Definition at line 60 of file areaexposure.c.

◆ Init()

◆ OnActivate()

◆ OnDeactivate()

override void OnDeactivate ( PlayerBase player)
inlineprotected

Definition at line 56 of file areaexposure.c.

◆ OnTick()

◆ TransmitAgents()

float TransmitAgents ( PlayerBase player,
float count )
inlineprotected

Definition at line 141 of file areaexposure.c.

References AGT_AIRBOURNE_CHEMICAL, and GetPlugin().

Referenced by OnActivate(), and OnTick().

Field Documentation

◆ AGENT_DOSE_PER_BS_SEC

const float AGENT_DOSE_PER_BS_SEC = 0.33
protected

Definition at line 14 of file areaexposure.c.

Referenced by ApplyAgentsToBleedingSources().

◆ AGENTS_PER_SEC

const float AGENTS_PER_SEC = 5
private

Definition at line 6 of file areaexposure.c.

Referenced by OnTick().

◆ EVENT_1_INTERVAL_MAX

const int EVENT_1_INTERVAL_MAX = 5
private

Definition at line 4 of file areaexposure.c.

Referenced by OnActivate(), and OnTick().

◆ EVENT_1_INTERVAL_MIN

const int EVENT_1_INTERVAL_MIN = 3
private

Definition at line 3 of file areaexposure.c.

Referenced by OnActivate(), and OnTick().

◆ EVENT_2_INTERVAL_MAX

const int EVENT_2_INTERVAL_MAX = 18
protected

Definition at line 11 of file areaexposure.c.

Referenced by OnTick().

◆ EVENT_2_INTERVAL_MIN

const int EVENT_2_INTERVAL_MIN = 13
protected

Definition at line 10 of file areaexposure.c.

Referenced by OnTick().

◆ m_NextEvent1

float m_NextEvent1
protected

Definition at line 7 of file areaexposure.c.

Referenced by OnActivate(), and OnTick().

◆ m_NextEvent2

float m_NextEvent2
protected

Definition at line 16 of file areaexposure.c.

Referenced by OnTick().

◆ m_Time1

float m_Time1
protected

Definition at line 8 of file areaexposure.c.

Referenced by OnTick().

◆ m_Time2

float m_Time2
protected

Definition at line 17 of file areaexposure.c.

Referenced by OnTick().


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