21 m_ID = SymptomIDs.SYMPTOM_HMP_SEVERE;
26 if (!
GetGame().IsDedicatedServer())
Super root of all classes in Enforce script.
static void SymptomLog(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
static bool IsSymptomLogEnable()
const int EFFECT_DURATION_TIME_MAX
override void OnGetActivatedClient(PlayerBase player)
const int EFFECT_DURATION_TIME_MIN
override void OnGetActivatedServer(PlayerBase player)
gets called once on an Symptom which is being activated
override void OnGetDeactivatedServer(PlayerBase player)
const int MAX_TIME_BETWEEN_EFFECTS
override void OnUpdateClient(PlayerBase player, float deltatime)
PPERequester_FeverEffects m_Requester
override void OnGetDeactivatedClient(PlayerBase player)
only gets called once on an active Symptom that is being deactivated
const int MIN_TIME_BETWEEN_EFFECTS
proto native CGame GetGame()
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
static float RandomFloatInclusive(float min, float max)
Returns a random float number between and min [inclusive] and max [inclusive].
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'.