| 465 | ////////////////////////////////////////////////////////////////////////// |
| 466 | |
| 467 | void CGameObjectSystem::GetMemoryUsage(ICrySizer* s) const |
| 468 | { |
| 469 | SIZER_SUBCOMPONENT_NAME(s, "GameObjectSystem"); |
| 470 | |
| 471 | s->AddObject(this, sizeof(*this)); |
| 472 | s->AddObject(m_nameToID); |
| 473 | s->AddObject(m_extensionInfo); |
| 474 | s->AddObject(m_dispatch); |
| 475 | s->AddObject(m_postUpdateObjects); |
| 476 | s->AddObject(m_schedulingParams); |
| 477 | |
| 478 | IEntityItPtr pIt = gEnv->pEntitySystem->GetEntityIterator(); |
| 479 | while (IEntity* pEnt = pIt->Next()) |
| 480 | { |
| 481 | s->AddObject((CGameObject*)pEnt->GetProxy(ENTITY_PROXY_USER)); |
| 482 | } |
| 483 | } |
| 484 | |
| 485 | ////////////////////////////////////////////////////////////////////// |
| 486 | void CGameObjectSystem::AddSink(IGameObjectSystemSink* pSink) |
nothing calls this directly
no test coverage detected