MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / exist

Method exist

modules/engine/runtime/src/ecs/storage.cpp:310–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308}
309
310bool sugoi_storage_t::exist(sugoi_entity_t e) const noexcept
311{
312 using namespace sugoi;
313 return entities.entries.size() > e_id(e) && entities.entries[e_id(e)].version == e_version(e);
314}
315
316void sugoi_storage_t::validate_meta()
317{

Callers 1

sugoiS_existFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected