MCPcopy Create free account
hub / github.com/GodotECS/godex / has

Method has

storage/entity_list.cpp:88–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88bool EntityList::has(EntityID p_entity) const {
89 if (entity_to_data.size() <= p_entity) {
90 return false;
91 }
92 return entity_to_data[p_entity] != UINT32_MAX;
93}
94
95bool EntityList::is_empty() const {
96 return dense_list.size() == 0;

Callers 15

collidesFunction · 0.45
has_componentMethod · 0.45
_setMethod · 0.45
_getMethod · 0.45
has_entity_componentMethod · 0.45
sync_3d_transformsMethod · 0.45
bt_teleport_bodiesFunction · 0.45
bt_overlap_checkFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected