MCPcopy Create free account
hub / github.com/ddnet/ddnet / ~CEntity

Method ~CEntity

src/game/server/entity.cpp:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28CEntity::~CEntity()
29{
30 GameWorld()->RemoveEntity(this);
31 Server()->SnapFreeId(m_Id);
32}
33
34bool CEntity::NetworkClipped(int SnappingClient) const
35{

Callers

nothing calls this directly

Calls 3

SnapFreeIdMethod · 0.80
ServerClass · 0.50
RemoveEntityMethod · 0.45

Tested by

no test coverage detected