◆ AgentBase()
◆ AutoinfectCheck()
85 {
87 return false;
88
90
93
94 return false;
95 }
bool CanAutoinfectPlayer(PlayerBase player)
Definition AgentBase.c:97
float m_AutoinfectProbability
number of agents injected during the autoinfection
Definition AgentBase.c:10
static float RandomFloat01()
Returns a random float number between and min [inclusive] and max [inclusive].
Definition EnMath.c:126
Перекрестные ссылки CanAutoinfectPlayer(), m_AutoinfectProbability и Math::RandomFloat01().
◆ CalculateAutoinfectProbability()
float CalculateAutoinfectProbability |
( |
float | userprob | ) |
|
|
inlineprivate |
80 {
82 }
static proto float Pow(float v, float power)
Return power of v ^ power.
Перекрестные ссылки Math::Pow().
◆ CanAutoinfectPlayer()
◆ GetAgentType()
25 {
27 }
float m_Type
Definition AgentBase.c:3
Перекрестные ссылки m_Type.
◆ GetAntibioticsResistanceEx()
◆ GetAntiboticsResistance()
float GetAntiboticsResistance |
( |
| ) |
|
|
inlineprivate |
◆ GetAutoinfectCount()
int GetAutoinfectCount |
( |
| ) |
|
|
inlineprivate |
123 {
125 }
int m_AutoinfectCount
Definition AgentBase.c:9
Перекрестные ссылки m_AutoinfectCount.
◆ GetDieOffSpeed()
◆ GetDieOffSpeedEx() [1/2]
30 {
32 }
float GetDieOffSpeed()
Definition AgentBase.c:49
Перекрестные ссылки GetDieOffSpeed().
◆ GetDieOffSpeedEx() [2/2]
17 {
18 if(
player.GetModifiersManager().IsModifierActive(
eModifiers.MDF_CONTAMINATION2) ||
player.GetModifiersManager().IsModifierActive(
eModifiers.MDF_CONTAMINATION3))
19 {
20 return 0;
21 }
22 else
23 {
25 }
26 }
eModifiers
Definition eModifiers.c:2
◆ GetDigestibility()
float GetDigestibility |
( |
| ) |
|
|
inlineprivate |
75 {
77 }
float m_Digestibility
Definition AgentBase.c:7
Перекрестные ссылки m_Digestibility.
◆ GetInvasibility()
float GetInvasibility |
( |
| ) |
|
|
inlineprivate |
◆ GetInvasibilityEx()
40 {
42 }
float GetInvasibility()
Definition AgentBase.c:63
Перекрестные ссылки GetInvasibility().
◆ GetMaxCount()
118 {
120 }
int m_MaxCount
Definition AgentBase.c:8
Перекрестные ссылки m_MaxCount.
◆ GetName()
128 {
129 return ClassName();
130 }
◆ GetPotency()
45 {
47 }
EStatLevels m_Potency
Definition AgentBase.c:14
Перекрестные ссылки m_Potency.
Используется в GetPotencyEx().
◆ GetPotencyEx()
35 {
37 }
EStatLevels GetPotency()
Definition AgentBase.c:44
Перекрестные ссылки GetPotency().
◆ GetTransferabilityAirOut()
float GetTransferabilityAirOut |
( |
| ) |
|
|
inlineprivate |
◆ GetTransferabilityIn()
float GetTransferabilityIn |
( |
| ) |
|
|
inlineprivate |
103 {
105 }
float m_TransferabilityIn
Definition AgentBase.c:5
Перекрестные ссылки m_TransferabilityIn.
◆ GetTransferabilityOut()
float GetTransferabilityOut |
( |
| ) |
|
|
inlineprivate |
108 {
110 }
float m_TransferabilityOut
Definition AgentBase.c:6
Перекрестные ссылки m_TransferabilityOut.
◆ GrowDuringAntibioticsAttack()
should this agent grow based on invasibility even during antibiotics attack
DEPRECATED
138 {
139 return true;
140 }
◆ GrowDuringMedicalDrugsAttack()
should this agent grow based on invasibility even during usage of specific medical drugs attack
70 {
71 return true;
72 }
◆ Init() [1/7]
◆ Init() [2/7]
4 {
13 }
eAgents
Definition EAgents.c:3
EStatLevels
Definition EStatLevels.c:2
Перекрестные ссылки m_Type.
◆ Init() [3/7]
◆ Init() [4/7]
◆ Init() [5/7]
◆ Init() [6/7]
◆ Init() [7/7]
◆ m_AntibioticsResistance
float m_AntibioticsResistance = 1 |
|
private |
◆ m_AutoinfectCount
int m_AutoinfectCount = 1 |
|
private |
◆ m_AutoinfectProbability
◆ m_DieOffSpeed
◆ m_Digestibility
float m_Digestibility = 0.1 |
|
private |
◆ m_Invasibility
◆ m_MaxCount
◆ m_Potency
◆ m_TransferabilityAirOut
float m_TransferabilityAirOut |
|
private |
◆ m_TransferabilityIn
float m_TransferabilityIn |
|
private |
◆ m_TransferabilityOut
float m_TransferabilityOut |
|
private |
◆ m_Type
Объявления и описания членов классов находятся в файлах:
- D:/Ishodniki/scripts/4_World/Classes/TransmissionAgents/Agents/AgentBase.c
- D:/Ishodniki/scripts/4_World/Classes/TransmissionAgents/Agents/BrainAgent.c
- D:/Ishodniki/scripts/4_World/Classes/TransmissionAgents/Agents/ChemicalAgent.c
- D:/Ishodniki/scripts/4_World/Classes/TransmissionAgents/Agents/CholeraAgent.c
- D:/Ishodniki/scripts/4_World/Classes/TransmissionAgents/Agents/FoodPoisonAgent.c
- D:/Ishodniki/scripts/4_World/Classes/TransmissionAgents/Agents/NerveAgent.c
- D:/Ishodniki/scripts/4_World/Classes/TransmissionAgents/Agents/SalmonellaAgent.c