MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / despawnEntity

Method despawnEntity

source/game/StarWorldGeneration.cpp:638–640  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

636}
637
638void SpawnerWorld::despawnEntity(EntityId entityId) {
639 m_worldServer->removeEntity(entityId, false);
640}
641
642EntityPtr SpawnerWorld::getEntity(EntityId entityId) const {
643 return m_worldServer->entity(entityId);

Callers 2

uninitMethod · 0.80
updateMethod · 0.80

Calls 1

removeEntityMethod · 0.45

Tested by

no test coverage detected