41 if (tmp.Find(part) == -1)
67 if (batchCounter == 0)
70 count = updatePartsArray.Count();
71 for (
int i = count - 1; i > -1; --i)
73 if (batchCounter == 0)
77 con.UpdateSpecificPartPhysics(part);
79 con.UpdateSpecificPartVisuals(part);
81 updatePartsArray.Remove(i);
84 if (updatePartsArray.Count() == 0)
95 cleanupCon.UpdateNavmesh();
void ConstructionBase(EntityAI parent)
static ref map< ConstructionBase, ref array< ConstructionPart > > m_QueueConstructionMap
static bool m_Initialized
static void ProcessUpdateQueues()
static bool m_IsServerBatchProcessing
static const int UPDATE_QUEUE_BATCH_SIZE_DEFAULT
static void AddPartToProcess(ConstructionBase con, ConstructionPart part)
static ScriptInvoker m_UpdateQueue
static void RemoveFromProcessing(ConstructionBase con)
Unremoved objects can become NULL.
static ref array< ConstructionBase > m_CleanupQueue
Static part of the construction system, for global handling mostly.
Instanced construction part data classes for dynamic data, statics now stored on EntityType level in ...
ScriptInvoker Class provide list of callbacks usage:
Result for an object found in CGame.IsBoxCollidingGeometryProxy.