MCPcopy Create free account
hub / github.com/Illation/ETEngine / HasComponent

Method HasComponent

Engine/source/EtFramework/ECS/EcsController.cpp:497–500  ·  view source on GitHub ↗

----------------------------- EcsController::HasComponent

Source from the content-addressed store, hash-verified

495// EcsController::HasComponent
496//
497bool EcsController::HasComponent(T_EntityId const entity, T_CompTypeIdx const compType) const
498{
499 return m_Entities[entity].archetype->HasComponent(compType);
500}
501
502//---------------------------------
503// EcsController::GetComponentData

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected