![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Protected Member Functions | |
| override bool | AutoinfectCheck (float deltaT, PlayerBase player) |
| override bool | CanAutoinfectPlayer (PlayerBase player) |
| override float | GetDieOffSpeedEx (PlayerBase player) |
| override float | GetInvasibilityEx (PlayerBase player) |
| override EStatLevels | GetPotencyEx (PlayerBase player) |
| override void | Init () |
Protected Attributes | |
| const float | CONTRACT_HEATCOMFORT_MODIFIER [3] |
| const int | CONTRACT_TIME_THRESHOLD_MAX = 200 |
| min value of time [s] for subtraction from MAX_TIME_TO_CONTRACT (used for randomization) | |
| const int | CONTRACT_TIME_THRESHOLD_MIN = 10 |
| at this time [s], character will contract the disease | |
| const float | INVASIBILITY_DEC_COMMON_COLD = -0.3 |
| const float | INVASIBILITY_DEC_INFLUENZA = -0.3 |
| const float | INVASIBILITY_DEC_PNEUMONIA = 0.00 |
| const float | INVASIBILITY_INC_CRITICAL_HC = 0.70 |
| const float | INVASIBILITY_INC_LOW_HC = 0.40 |
| const float | INVASIBILITY_INC_MEDIUM_HC = 0.60 |
| int | m_ElapsedTime |
| int | m_TimeToContract = MAX_TIME_TO_CONTRACT |
| max value of time [s] for subtraction from MAX_TIME_TO_CONTRACT (used for randomization) | |
| const int | MAX_TIME_TO_CONTRACT = 8650 |
Private Attributes | |
| const float | INFLUENZA_AGENT_AUTOINFECT_THRESHOLD_HC = PlayerConstants.THRESHOLD_HEAT_COMFORT_MINUS_WARNING |
| Private Attributes inherited from AgentBase | |
| float | m_DieOffSpeed = 1 |
| grow when player's immune system is at this level or lower | |
| ref map< EMedicalDrugsType, float > | m_DrugResistances = new map<EMedicalDrugsType, float>() |
| [0..1], 0 means antibiotics have full effect, 1 means no effect - deprecated, use the m_DrugResistance map below for drug resistances | |
| EStatLevels | m_Potency = EStatLevels.MEDIUM |
Definition at line 1 of file influenzaagent.c.
|
inlineprotected |
Definition at line 44 of file influenzaagent.c.
References Math::Clamp(), CONTRACT_HEATCOMFORT_MODIFIER, CONTRACT_TIME_THRESHOLD_MAX, CONTRACT_TIME_THRESHOLD_MIN, m_ElapsedTime, m_TimeToContract, MAX, MAX_TIME_TO_CONTRACT, Math::RandomFloatInclusive(), PlayerConstants::THRESHOLD_HEAT_COMFORT_MINUS_CRITICAL, PlayerConstants::THRESHOLD_HEAT_COMFORT_MINUS_EMPTY, and PlayerConstants::THRESHOLD_HEAT_COMFORT_MINUS_WARNING.
|
inlineprotected |
Definition at line 84 of file influenzaagent.c.
References INFLUENZA_AGENT_AUTOINFECT_THRESHOLD_HC.
|
inlineprotected |
Definition at line 124 of file influenzaagent.c.
References AgentBase::GetDieOffSpeed().
|
inlineprotected |
Definition at line 92 of file influenzaagent.c.
References INVASIBILITY_DEC_COMMON_COLD, INVASIBILITY_DEC_INFLUENZA, INVASIBILITY_DEC_PNEUMONIA, INVASIBILITY_INC_CRITICAL_HC, INVASIBILITY_INC_LOW_HC, INVASIBILITY_INC_MEDIUM_HC, PlayerConstants::THRESHOLD_HEAT_COMFORT_MINUS_CRITICAL, PlayerConstants::THRESHOLD_HEAT_COMFORT_MINUS_EMPTY, and PlayerConstants::THRESHOLD_HEAT_COMFORT_MINUS_WARNING.
|
inlineprotected |
Definition at line 116 of file influenzaagent.c.
|
inlineprotected |
Definition at line 27 of file influenzaagent.c.
References CommonColdMdfr::AGENT_THRESHOLD_ACTIVATE, AgentBase::m_AntibioticsResistance, AgentBase::m_AutoinfectCount, AgentBase::m_DieOffSpeed, AgentBase::m_Digestibility, AgentBase::m_DrugResistances, m_ElapsedTime, AgentBase::m_Invasibility, AgentBase::m_MaxCount, AgentBase::m_Potency, AgentBase::m_TransferabilityAirOut, AgentBase::m_TransferabilityIn, AgentBase::m_TransferabilityOut, and AgentBase::m_Type.
|
protected |
Definition at line 19 of file influenzaagent.c.
Referenced by AutoinfectCheck().
|
protected |
min value of time [s] for subtraction from MAX_TIME_TO_CONTRACT (used for randomization)
Definition at line 15 of file influenzaagent.c.
Referenced by AutoinfectCheck().
|
protected |
at this time [s], character will contract the disease
Definition at line 14 of file influenzaagent.c.
Referenced by AutoinfectCheck().
|
private |
Definition at line 3 of file influenzaagent.c.
Referenced by CanAutoinfectPlayer().
|
protected |
Definition at line 9 of file influenzaagent.c.
Referenced by GetInvasibilityEx().
|
protected |
Definition at line 10 of file influenzaagent.c.
Referenced by GetInvasibilityEx().
|
protected |
Definition at line 11 of file influenzaagent.c.
Referenced by GetInvasibilityEx().
|
protected |
Definition at line 7 of file influenzaagent.c.
Referenced by GetInvasibilityEx().
|
protected |
Definition at line 5 of file influenzaagent.c.
Referenced by GetInvasibilityEx().
|
protected |
Definition at line 6 of file influenzaagent.c.
Referenced by GetInvasibilityEx().
|
protected |
Definition at line 25 of file influenzaagent.c.
Referenced by AutoinfectCheck(), and Init().
|
protected |
max value of time [s] for subtraction from MAX_TIME_TO_CONTRACT (used for randomization)
Definition at line 17 of file influenzaagent.c.
Referenced by AutoinfectCheck().
|
protected |
Definition at line 13 of file influenzaagent.c.
Referenced by AutoinfectCheck().