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

Method script_fetch

iterators/dynamic_query.cpp:305–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303}
304
305void DynamicQuery::script_fetch(uint32_t p_entity_id) {
306#ifdef DEBUG_ENABLED
307 ERR_FAIL_COND_MSG(has(p_entity_id) == false, "[FATAL] This entity " + itos(p_entity_id) + " can't be fetched by this query. Please check it using the functin `has`.");
308#endif
309 fetch(p_entity_id);
310}
311
312void DynamicQuery::fetch(EntityID p_entity_id) {
313 for (uint32_t i = 0; i < storages.size(); i += 1) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected