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

Method entity

source/game/StarWorldServer.cpp:752–754  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

750}
751
752EntityPtr WorldServer::entity(EntityId entityId) const {
753 return m_entityMap->entity(entityId);
754}
755
756void WorldServer::addEntity(EntityPtr const& entity, EntityId entityId) {
757 if (!entity)

Callers 5

handleIncomingPacketsMethod · 0.45
removeEntityMethod · 0.45
sendEntityMessageMethod · 0.45
monitoringRegionsMethod · 0.45
interactMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected