64 if (!
player.GetCanBeDestroyed())
133 PluginTransmissionAgents
plugin = PluginTransmissionAgents.Cast(
GetPlugin(PluginTransmissionAgents));
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
bool m_TrackActivatedTime
void DisableDeactivateCheck()
void DisableActivateCheck()
eModifierSyncIDs m_SyncID
float m_TickIntervalActive
float m_TickIntervalInactive
const int DEFAULT_TICK_TIME_ACTIVE_SHORT
const int DEFAULT_TICK_TIME_INACTIVE_LONG
PluginBase GetPlugin(typename plugin_type)
void ApplyAgentsToBleedingSources(PlayerBase player, float deltaT)
const int EVENT_1_INTERVAL_MIN
const float AGENT_DOSE_PER_BS_SEC
const int EVENT_2_INTERVAL_MAX
float TransmitAgents(PlayerBase player, float count)
const int EVENT_2_INTERVAL_MIN
void BleedingSourceCreateCheck(PlayerBase player)
override void OnTick(PlayerBase player, float deltaT)
override bool DeactivateCondition(PlayerBase player)
override bool ActivateCondition(PlayerBase player)
const float AGENTS_PER_SEC
const int EVENT_1_INTERVAL_MAX
override void OnDeactivate(PlayerBase player)
override void OnActivate(PlayerBase player)
static JsonDataContaminatedAreas GetData()
const int AGT_AIRBOURNE_CHEMICAL
static float RandomFloat01()
Returns a random float number between and min [inclusive] and max [inclusive].
static float RandomFloatInclusive(float min, float max)
Returns a random float number between and min [inclusive] and max [inclusive].
static proto int GetNthBitSet(int value, int n)
returns the the index of n-th bit set in a bit mask counting from the right, for instance,...
static proto float Pow(float v, float power)
Return power of v ^ power.
static proto int GetNumberOfSetBits(int i)
returns the number of bits set in a bitmask i
static int RandomIntInclusive(int min, int max)
Returns a random int number between and min [inclusive] and max [inclusive].