class ConstructionManagerStatic
Static part of the construction system, for global handling mostly
Constants 1
protected static const int UPDATE_QUEUE_BATCH_SIZE_DEFAULT = 15parts processed in a single simulation step
Referenced by ProcessUpdateQueues()
Members 5
protected static bool m_Initializedprotected static bool m_IsServerBatchProcessingis server?
protected static ScriptInvoker m_UpdateQueueprotected static ref map<ConstructionBase, ref array<ConstructionPart>> m_QueueConstructionMapprotected static ref array<ConstructionBase> m_CleanupQueueMethods 4
static void Init()References DayZGame.GetUpdateQueue(), CGame.IsMultiplayer(), CGame.IsServer()
Show 5 more
, m_CleanupQueue, m_Initialized, m_IsServerBatchProcessing, m_QueueConstructionMap, and m_UpdateQueuestatic void AddPartToProcess(ConstructionBase con, ConstructionPart part)References ScriptInvoker.Count(), map.Find(), array.Find()
Show 7 more
, Init(), ScriptInvoker.Insert(), array.Insert(), map.Set(), m_Initialized, m_QueueConstructionMap, and m_UpdateQueuestatic void RemoveFromProcessing(ConstructionBase con)Unremoved objects can become NULL
Referenced by ConstructionBase.~ConstructionBase()
protected static void ProcessUpdateQueues()References array.Clear(), map.Clear(), map.Count()