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

Method entity

source/game/StarWorldClient.cpp:1356–1361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1354}
1355
1356EntityPtr WorldClient::entity(EntityId entityId) const {
1357 if (!inWorld())
1358 return {};
1359
1360 return m_entityMap->entity(entityId);
1361}
1362
1363void WorldClient::addEntity(EntityPtr const& entity, EntityId entityId) {
1364 if (!entity)

Callers 6

updateMethod · 0.95
resendEntityMethod · 0.45
removeEntityMethod · 0.45
handleIncomingPacketsMethod · 0.45
interactMethod · 0.45
sendEntityMessageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected