PluginBase GetPlugin(typename plugin_type)
bool IsPluginManagerExists()
static ref Param1< int > PARAM1_INT
static void Log(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message with normal prio.
ref map< int, float > m_VirusPool
void OnStoreSave(ParamsWriteContext ctx)
void RemoteGrowRequestDebug(ParamsReadContext ctx)
float GetTotalAgentCount()
void PlayerAgentPool(PlayerBase player)
PluginTransmissionAgents m_PluginTransmissionAgents
void RemoveAgent(int agent_id)
ref array< int > m_VirusPoolArray
void AddAgent(int agent_id, float count)
void ImmuneSystemTick(float value, float deltaT)
void AntibioticsAttack(float attack_value)
bool OnStoreLoad(ParamsReadContext ctx, int version)
void DigestAgent(int agent_id, float count)
const int STORAGE_VERSION
void SetAgentCount(int agent_id, float count)
void GetDebugObject(array< ref Param > object_out)
int GetSingleAgentCount(int agent_id)
void SpawnAgents(float deltaT)
void GrowAgents(float deltaT)
Serialization general interface. Serializer API works with:
static proto int AbsInt(int i)
Returns absolute value.
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.