DIFF

class InfluenzaAgentSource

InfluenzaAgent AgentBase MessageReceiverBase

All members, including inherited

Constants 11

const float INFLUENZA_AGENT_AUTOINFECT_THRESHOLD_HC = PlayerConstants.THRESHOLD_HEAT_COMFORT_MINUS_WARNING
Referenced by CanAutoinfectPlayer()
protected const float INVASIBILITY_INC_LOW_HC = 0.40
Referenced by GetInvasibilityEx()
protected const float INVASIBILITY_INC_MEDIUM_HC = 0.60
Referenced by GetInvasibilityEx()
protected const float INVASIBILITY_INC_CRITICAL_HC = 0.70
Referenced by GetInvasibilityEx()
protected const float INVASIBILITY_DEC_COMMON_COLD = -0.3
Referenced by GetInvasibilityEx()
protected const float INVASIBILITY_DEC_INFLUENZA = -0.3
Referenced by GetInvasibilityEx()
protected const float INVASIBILITY_DEC_PNEUMONIA = 0.00
Referenced by GetInvasibilityEx()
protected const int MAX_TIME_TO_CONTRACT = 8650

at this time [s], character will contract the disease

Referenced by AutoinfectCheck()
protected const int CONTRACT_TIME_THRESHOLD_MIN = 10

min value of time [s] for subtraction from MAX_TIME_TO_CONTRACT (used for randomization)

Referenced by AutoinfectCheck()
protected const int CONTRACT_TIME_THRESHOLD_MAX = 200

max value of time [s] for subtraction from MAX_TIME_TO_CONTRACT (used for randomization)

Referenced by AutoinfectCheck()
protected const float CONTRACT_HEATCOMFORT_MODIFIER[3] = { 0.25, // low 0.6, // medium 1.0, // critical }
Referenced by AutoinfectCheck()

Members 2

protected int m_TimeToContract = MAX_TIME_TO_CONTRACT
Referenced by AutoinfectCheck()
protected int m_ElapsedTime
Referenced by AutoinfectCheck(), and Init()

Methods 6