class SymptomManagerSource
Constructors 1
void SymptomManager(PlayerBase player)Referenced by PlayerBase.Init()
Constants 1
const int STORAGE_VERSION = 121Referenced by GetStorageVersion()
Members 15
PlayerBase m_Playerref map<int, ref SymptomBase> m_AvailableSymptomsfor each type(symptom id), keep track of how many times it is in queue
Referenced by DecreaseSymptomCount(), GetSymptomCount(), IncreaseSymptomCount()
Show 2 more
, OnTick(), and SymptomManager()ref array<ref SymptomBase> m_SymptomQueuePrimaryref array<ref SymptomBase> m_SymptomQueueSecondaryref map<int , SymptomBase > m_SymptomsUIDsReferenced by GetSymptomByUID(), IsUIDUsed(), OnSymptomExit()
Show 3 more
, RequestSymptomExit(), SpawnSymptom(), and SymptomManager()ref Timer m_Timerint m_ActiveSymptomIndexPrimary = -1int m_CurrentCommandIDbool m_ShowDebug = falsebool m_ShowDebug2 = falseref SmptAnimMetaBase m_AnimMetaMethods 50
int GetStorageVersion()References STORAGE_VERSION
void AutoactivateSymptoms()Referenced by SymptomManager()
void OnPlayerKilled()References SymptomBase.OnOwnerKilled(), SymptomBase.OnOwnerKilled(), m_SymptomQueuePrimary
Show 1 more
, m_SymptomQueueSecondaryReferenced by PlayerBase.EEKilled()
SymptomBase GetSymptomByUID(int SYMPTOM_uid)PlayerBase GetPlayer()References m_Player
Referenced by DebugRequestActivateSymptom(), DebugRequestExitSymptom(), and SendServerDebugToClient()
void RegisterSymptom(SymptomBase Symptom)References map.Contains(), ErrorEx(), string.Format()
Show 6 more
, SymptomBase.GetName(), SymptomBase.GetType(), SymptomBase.Init(), map.Insert(), m_AvailableSymptoms, and m_PlayerReferenced by Init()
void OnAnimationFinished(eAnimFinishType type = eAnimFinishType.SUCCESS)Referenced by SmptAnimMetaADD.Update(), SmptAnimMetaBase.PlayRequest(), SymptomCB.OnFinish()
Show 1 more
, OnTick()void OnAnimationStarted()SmptAnimMetaBase SpawnAnimMetaObject(int symptom_id)References map.Get(), SpawnAnimMetaObject(), m_AvailableSymptoms
Show 1 more
, SmptAnimMetaBase.m_StateTypeReferenced by SetAnimation()
void RequestSymptomExit(int SYMPTOM_uid)Exits a specific Symptom with a given UID
Referenced by OnRPCDebug()
void OnInputUserDataReceived(ParamsReadContext ctx)int GetCurrentCommandID()References m_CurrentCommandID
void OnTick(float deltatime, int pCurrentCommandID, HumanMovementState movement_state)References SymptomBase.CanActivate(), CleanAvailableSymptoms(), CleanDebug1()
Show 34 more
, CleanDebug2(), DisplayDebug1(), DisplayDebug2(), FindFirstAvailableSymptomIndex(), map.Get(), map.Get(), array.Get(), DiagMenu.GetBool(), Human.GetCurrentCommandID(), DiagMenu.GetRangeValue(), GetType(), SmptAnimMetaBase.IsDestroyReqested(), SmptAnimMetaBase.IsPlaying(), IsSyncToRemotes(), OnAnimationFinished(), SmptAnimMetaBase.PlayRequest(), PrepareClientDebug(), QueueUpSecondarySymptomEx(), RemoveSecondarySymptom(), PlayerBase.SetActivePrimarySymptomID(), ShowAvailableSymptoms(), SmptAnimMetaBase.Update(), UpdateActiveSymptoms(), m_ActiveSymptomIndexPrimary, m_ActiveSymptomTypes, m_AnimMeta, m_AvailableSymptoms, m_CurrentCommandID, m_Player, SmptAnimMetaBase.m_StateType, m_SymptomQueuePrimary, m_SymptomQueueSecondary, m_SymptomQueueServerDbgPrimary, and m_SymptomQueueServerDbgSecondaryReferenced by PlayerBase.OnCommandHandlerTick()
void SetAnimation(ParamsReadContext ctx)References SmptAnimMetaBase.Init(), Serializer.Read(), SpawnAnimMetaObject()
Show 2 more
, m_AnimMeta, and m_PlayerReferenced by PlayerBase.OnSyncJuncture()
void UpdateActiveSymptoms(float deltatime)Referenced by OnTick()
void OnSymptomExit(SymptomBase Symptom, int uid)References map.Contains(), array.Count(), array.Count()
Show 16 more
, DecreaseSymptomCount(), array.Get(), array.Get(), SymptomBase.GetType(), SymptomBase.IsPrimary(), Debug.LogError(), map.Remove(), array.RemoveOrdered(), array.RemoveOrdered(), SendServerDebugToClient(), PlayerBase.SetActivePrimarySymptomID(), m_ActiveSymptomIndexPrimary, m_Player, m_SymptomQueuePrimary, m_SymptomQueueSecondary, and m_SymptomsUIDsReferenced by SymptomBase.OnDestructed()
void IncreaseSymptomCount(int symptom_id)Referenced by SpawnSymptom()
void DecreaseSymptomCount(int symptom_id)Referenced by OnSymptomExit()
SymptomBase SpawnSymptom(int symptom_id, int uid = -1)References Class.Cast(), Class.ClassName(), map.Contains()
Show 13 more
, CreateUniqueID(), Error(), ErrorEx(), string.Format(), map.Get(), IncreaseSymptomCount(), SymptomBase.Init(), map.Insert(), Spawn(), string.ToType(), m_AvailableSymptoms, m_Player, and m_SymptomsUIDsvoid CleanUpPrimaryQueue()Referenced by OnRPC()
SymptomBase QueueUpPrimarySymptom(int symptom_id, int uid = -1)References SymptomBase.AllowInUnconscious(), CanBeInterupted(), ComparePriority()
Show 16 more
, array.Count(), map.Get(), array.Get(), GetPriority(), GetSymptomCount(), GetSymptomMaxCount(), GetSymptomPriority(), array.Insert(), array.InsertAt(), PlayerBase.IsUnconscious(), SymptomBase.RequestDestroy(), SendServerDebugToClient(), SpawnSymptom(), m_AvailableSymptoms, m_Player, and m_SymptomQueuePrimaryReferenced by AreaExposureMdfr.OnActivate(), AreaExposureMdfr.OnTick(), BrainDiseaseMdfr.OnActivate()
Show 31 more
, BrainDiseaseMdfr.OnTick(), CholeraMdfr.OnActivate(), CholeraMdfr.OnTick(), CommonColdMdfr.OnActivate(), CommonColdMdfr.OnTick(), ContaminationStage1Mdfr.OnActivate(), ContaminationStage2Mdfr.OnTick(), ContaminationStage3Mdfr.OnActivate(), EmoteVomit.EmoteStartOverride(), FeverMdfr.OnTick(), HeatComfortAnimHandler.ProcessFreeze(), HeatComfortAnimHandler.ProcessFreezeRattle(), HeatComfortAnimHandler.ProcessHot(), HeavyMetalPhase1Mdfr.OnTick(), HeavyMetalPhase2Mdfr.OnTick(), HeavyMetalPhase3Mdfr.OnTick(), InfluenzaMdfr.OnTick(), PneumoniaMdfr.OnTick(), PoisoningMdfr.OnTick(), SalmonellaMdfr.OnActivate(), SalmonellaMdfr.OnTick(), OnRPC(), OnRPCDebug(), OnStoreLoad(), TestDiseaseMdfr.OnTick(), TestingMdfr.OnActivate(), ToxicityMdfr.OnTick(), VomitStuffedMdfr.OnActivate(), WoundInfectStage1Mdfr.OnActivate(), WoundInfectStage1Mdfr.OnTick(), and WoundInfectStage2Mdfr.OnTick()References QueueUpSecondarySymptomEx()
Referenced by FeverMdfr.OnActivate(), HeavyMetalPhase2Mdfr.OnTick(), HeavyMetalPhase3Mdfr.OnActivate()
Show 4 more
, AutoactivateSymptoms(), OnRPC(), OnRPCDebug(), and OnStoreLoad()SymptomBase QueueUpSecondarySymptomEx(int symptom_id, int uid = -1)void RemoveSecondarySymptom(int symptom_id)Removes a single Symptom
References array.Count(), array.Get(), GetType()
Show 2 more
, SymptomBase.RequestDestroy(), and m_SymptomQueueSecondaryReferenced by FeverMdfr.OnDeactivate(), HeavyMetalPhase2Mdfr.OnTick(), HeavyMetalPhase3Mdfr.OnDeactivate()
Show 3 more
, OnRPC(), OnTick(), and WoundInfectStage2Mdfr.OnDeactivate()SymptomBase GetCurrentPrimaryActiveSymptom()References array.Count(), array.Get(), CGame.IsDedicatedServer()
Show 3 more
, CGame.IsServer(), m_ActiveSymptomIndexPrimary, and m_SymptomQueuePrimaryReferenced by ContaminationStage3Mdfr.OnTick(), SmptAnimMetaBase.AnimFinished(), OnAnimationStarted()
Show 1 more
, UpdateActiveSymptoms()Referenced by QueueUpPrimarySymptom()
Referenced by QueueUpPrimarySymptom()
void OnRPC(int rpc_type, ParamsReadContext ctx)Referenced by PlayerBase.OnRPC()
void OnStoreSave(ParamsWriteContext ctx)References array.Count(), array.Count(), array.Get()
Show 9 more
, array.Get(), GetType(), GetType(), array.Insert(), IsPersistent(), IsPersistent(), Serializer.Write(), m_SymptomQueuePrimary, and m_SymptomQueueSecondaryReferenced by PlayerBase.OnStoreSave()
bool OnStoreLoad(ParamsReadContext ctx, int version)References array.Count(), array.Get(), IsSymptomPrimary()
Show 3 more
, QueueUpPrimarySymptom(), QueueUpSecondarySymptom(), and Serializer.Read()Referenced by PlayerBase.OnStoreLoad()
protected bool CanUpdateSymptom(SymptomBase symptom)Referenced by UpdateActiveSymptoms()
void OnRPCDebug(int rpc_type, ParamsReadContext ctx)DIAG_DEVELOPERvoid SendServerDebugToClient()DIAG_DEVELOPERvoid DebugRequestExitSymptom(int SYMPTOM_uid)DIAG_DEVELOPERReferences Man.GetIdentity(), GetPlayer(), CGame.RPCSingleParam()
Show 1 more
, CachedObjectsParams.PARAM1_INTReferenced by DisplayDebug2()
array<ref Param> PrepareClientDebug(array<ref SymptomBase> Symptoms)DIAG_DEVELOPERReferences array.Count(), array.Get(), GetType()
Show 3 more
, GetUID(), array.Insert(), and SymptomBase.IsPrimary()Referenced by OnTick()
void DisplayDebug1(string name, int y_offset, array<ref Param> Symptoms_primary, array<ref Param> Symptoms_secondary)DIAG_DEVELOPERReferences DbgUI.Begin(), DbgUI.BeginCleanupScope(), Class.Cast()
Show 8 more
, array.Count(), array.Count(), DbgUI.End(), DbgUI.EndCleanupScope(), array.Get(), array.Get(), GetSymptomName(), and DbgUI.Text()Referenced by OnTick()
void DisplayDebug2(string name, int y_offset, array<ref Param> Symptoms_primary, array<ref Param> Symptoms_secondary)DIAG_DEVELOPERReferenced by OnTick()
void ShowAvailableSymptoms()DIAG_DEVELOPERReferenced by OnTick()
void CleanAvailableSymptoms()DIAG_DEVELOPERReferences DbgUI.Begin(), DbgUI.BeginCleanupScope(), DbgUI.End()
Show 1 more
, DbgUI.EndCleanupScope()Referenced by OnTick()
void CleanDebug1(string name, int y_offset)DIAG_DEVELOPERReferences DbgUI.Begin(), DbgUI.BeginCleanupScope(), DbgUI.End()
Show 1 more
, DbgUI.EndCleanupScope()Referenced by OnTick()
void CleanDebug2(string name, int y_offset)DIAG_DEVELOPERReferences DbgUI.Begin(), DbgUI.BeginCleanupScope(), DbgUI.End()
Show 1 more
, DbgUI.EndCleanupScope()Referenced by OnTick()
void DebugRequestActivateSymptom(int symptom_id)DIAG_DEVELOPERReferences Man.GetIdentity(), GetPlayer(), CGame.RPCSingleParam()
Show 1 more
, CachedObjectsParams.PARAM1_INTReferenced by ShowAvailableSymptoms()