4 const int BLUR_DURATION = 3000;
13 m_ID = SymptomIDs.SYMPTOM_BLOODLOSS;
19 if ( !
GetGame().IsDedicatedServer() )
33 if ( player.IsPlayerSelected() && player.GetTransferValues() && player.GetTransferValues().GetBlood() !=
m_BloodSet )
35 m_BloodSet = player.GetTransferValues().GetBlood();
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()
override void OnGetActivatedClient(PlayerBase player)
override void OnGetActivatedServer(PlayerBase player)
gets called once on an Symptom which is being activated
bool m_DestroyOnAnimFinish
override void OnGetDeactivatedServer(PlayerBase player)
override void OnUpdateClient(PlayerBase player, float deltatime)
PPERequester_BloodLoss m_RequesterBloodLoss
override void OnUpdateServer(PlayerBase player, float deltatime)
gets called every frame
override void OnGetDeactivatedClient(PlayerBase player)
only gets called once on an active Symptom that is being deactivated
proto native CGame GetGame()
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.