Keeps track of agents and their simulation. Подробнее...
Защищенные члены | |
| void | PlayerAgentPool (PlayerBase player) |
| int | GetStorageVersion () |
| void | ImmuneSystemTick (float value, float deltaT) |
| Agent pool simulation entry point. | |
| void | GrowAgents (float deltaT) |
| Agent's growth/death simulation. | |
| void | ProcessTemporaryResistance (float deltaTime) |
| Temporary resistance simulation. | |
| void | OnStoreSave (ParamsWriteContext ctx) |
| bool | OnStoreLoad (ParamsReadContext ctx, int version) |
| void | DigestAgent (int agent_id, float count) |
| Digest (add) agent from food/drink in PlayerStomach into Agent Pool. | |
| void | AddAgent (int agent_id, float count) |
| Add agent into Agent Pool. | |
| void | RemoveAgent (int agent_id) |
| Remove agent from Agent Pool. | |
| void | RemoveAllAgents () |
| Remove all agents from Agent Pool. | |
| void | ReduceAgent (int id, float percent) |
| Reduce count of specified agent by a given percentage from Agent Pool. | |
| int | GetAgents () |
| Reduce bitmask of currently active agents. | |
| int | GetSingleAgentCount (int agent_id) |
| Number of agents of specified id. | |
| float | GetTotalAgentCount () |
| Total number of agents active. | |
| void | SpawnAgents (float deltaT) |
| Autoinfection mechanism for agents with that attribute enabled. | |
| void | SetAgentCount (int agent_id, float count) |
| Directly set the count of agents for give id in pool. | |
| void | AntibioticsAttack (float attack_value) |
| Antibiotics treatment agains agents which are not resistent to it (see agent attributes) | |
| void | DrugsAttack (EMedicalDrugsType drugType, float attackValue) |
| Drugs treatment logic. | |
| void | SetTemporaryResistance (int agentId, float time) |
| Sets temporary resistance time against specified agent contraction. | |
| float | GetTemporaryResistance (int agentId) |
| Returns remaining temporary resistance time for specified agent. | |
Защищенные данные | |
| ref map< int, float > | m_AgentTemporaryResistance |
| PluginTransmissionAgents | m_PluginTransmissionAgents = PluginTransmissionAgents.Cast(GetPlugin(PluginTransmissionAgents)) |
Закрытые члены | |
| void | ResetTemporaryResistance () |
| Resets temporary resistance for all agents (internal usage only) | |
| void | RemoteGrowRequestDebug (ParamsReadContext ctx) |
| void | GetDebugObject (array< ref Param > object_out) |
| void | PrintAgents () |
Закрытые данные | |
| const int | STORAGE_VERSION = 137 |
| int | m_AgentMask |
| float | m_LastTicked |
| float | m_TotalAgentCount |
| PlayerBase | m_Player |
| ref map< int, float > | m_VirusPool |
| ref array< int > | m_VirusPoolArray = new array<int>() |
| DEPRECATED. | |
Keeps track of agents and their simulation.
См. определение в файле PlayerAgentPool.c строка 8