class ModifiersManagerSource
Constructors 1
void ModifiersManager(PlayerBase player)Referenced by PlayerBase.Init()
Constants 1
const int STORAGE_VERSION = 121Referenced by GetStorageVersion()
Members 5
bool m_AllowModifierTickPlayerBase m_Playerref map<int, ref ModifierBase> m_ModifierListref array< ref ModifierBase> m_ModifierListArrayReferenced by AddModifier(), DeactivateAllModifiers(), ModifiersManager()
Show 2 more
, OnScheduledTick(), and OnStoreSave()Referenced by ModifierBase.MakeParamObjectPersistent(), ModifiersManager(), OnStoreLoad()
Show 1 more
, OnStoreSave()Methods 18
void SetModifiers(bool enable)References map.Count(), map.GetElement(), ModifierBase.ResetLastTickTime()
Show 3 more
, DiagMenu.SetValue(), m_AllowModifierTick, and m_ModifierListint GetStorageVersion()References STORAGE_VERSION
bool IsModifiersEnable()References m_AllowModifierTick
void AddModifier(ModifierBase modifier)Referenced by Init()
bool IsModifierActive(eModifiers modifier_id)Referenced by ActionDisinfectSelf.OnFinishProgressServer(), AntiChemInjector.OnApply(), CharcoalTablets.OnConsume()
Show 33 more
, ChelatingTablets.OnConsume(), ChemicalAgent.GetDieOffSpeedEx(), CommonColdMdfr.OnTick(), CoughSymptom.IsContaminationActive(), DisinfectionMdfr.OnDeactivate(), DisinfectionMdfr.OnTick(), EmoteManager.InterruptWaterCheck(), Environment.ProcessHeatBuffer(), Environment.ProcessHeatComfort(), Epinephrine.OnApply(), FatigueMdfr.ActivateCondition(), FeverMdfr.ActivateCondition(), FoodPoisonAgent.GetDieOffSpeedEx(), FoodPoisonAgent.GetDigestibilityEx(), HeavyMetalAgent.GetDieOffSpeedEx(), HeavyMetalAgent.GetInvasibilityEx(), HeavyMetalAgent.GetPotencyEx(), InfluenzaAgent.GetDieOffSpeedEx(), InfluenzaAgent.GetInvasibilityEx(), InfluenzaAgent.GetPotencyEx(), InfluenzaMdfr.OnTick(), MaskMdfr.OnTick(), ResetAll(), Morphine.OnApply(), PainkillerTablets.OnConsume(), PlayerBase.EEHitBy(), PlayerBase.SaveAreaPersistenceFlag(), TetracyclineAntibiotics.OnConsume(), VitaminBottle.OnConsume(), VomitSymptom.IsContaminationActive(), WoundAgent.GetAntibioticsResistanceEx(), WoundAgent.GrowDuringMedicalDrugsAttack(), and WoundInfectStage1Mdfr.ActivateCondition()void OnScheduledTick(float delta_time)Referenced by PlayerBase.OnScheduledTick()
void DeactivateAllModifiers()void ActivateModifier(int modifier_id, bool triggerEvent = EActivationType.TRIGGER_EVENT_ON_ACTIVATION)Referenced by ActionDisinfectSelf.OnFinishProgressServer(), ActionDisinfectTarget.OnFinishProgressServer(), ActionDrinkAlcohol.ApplyModifiers()
Show 21 more
, ActionDrinkDisinfectant.ApplyModifiers(), ActionDrinkDisinfectant2.ApplyModifiers(), ActionForceDrinkDisinfectant.ApplyModifiers(), ActionGiveBloodSelf.OnEndServer(), ActionGiveBloodTarget.OnEndServer(), ActionGiveSalineSelf.OnFinishProgressServer(), ActionGiveSalineTarget.OnFinishProgressServer(), BrokenLegsMdfr.Delayed(), CharcoalTablets.OnConsume(), ChelatingTablets.OnConsume(), Epinephrine.OnApply(), OnStoreLoad(), ResetAll(), Morphine.OnApply(), PainkillerTablets.OnConsume(), PlayerBase.EEHitBy(), PlayerBase.EEItemAttached(), PlayerBase.OnContaminatedAreaEnterServer(), PluginDeveloperSync.ActivateModifier(), TetracyclineAntibiotics.OnConsume(), and VitaminBottle.OnConsume()Referenced by ActionBiteCharcoalTablets.ApplyModifiers(), ActionDisinfectSelf.OnFinishProgressServer(), ActionEatCharcoalTablets.ApplyModifiers()
Show 12 more
, ActionFeedCharcoalTablets.ApplyModifiers(), ActionForceBiteCharcoalTablets.ApplyModifiers(), ChelatingTablets.OnConsume(), Epinephrine.OnApply(), Morphine.OnApply(), PainkillerTablets.OnConsume(), PlayerBase.EEHitBy(), PlayerBase.EEItemDetached(), PlayerBase.OnContaminatedAreaExitServer(), PluginDeveloperSync.DeactivateModifier(), TetracyclineAntibiotics.OnConsume(), and VitaminBottle.OnConsume()void OnStoreSave(ParamsWriteContext ctx)References array.Clear(), array.Count(), array.Count()
Show 13 more
, array.Get(), array.Get(), ModifierBase.GetAttachedTime(), ModifierBase.GetModifierID(), array.Insert(), ModifierBase.IsActive(), ModifierBase.IsPersistent(), ModifierBase.IsTrackAttachedTime(), Serialize(), Serializer.Write(), CachedObjectsArrays.ARRAY_INT, m_ModifierListArray, and m_ParamListReferenced by PlayerBase.OnStoreSave()
bool OnStoreLoad(ParamsReadContext ctx, int version)Referenced by PlayerBase.OnStoreLoad()
ModifierBase GetModifier(int modifier_id)Referenced by BrokenLegsMdfr.DelayedRequest(), OnStoreLoad(), and PluginDeveloperSync.SendRPCModsDetail()
PlayerBase GetPlayer()References m_Player
Referenced by PluginDeveloperSync.LockModifier()
Referenced by PluginDeveloperSync.IsModifierLocked()
void DbgGetModifiers(array<ref ModifierDebugObj> modifiers)Referenced by PluginDeveloperSync.SendRPCMods()
void ResetAll()