MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / UpdateOnRemove

Method UpdateOnRemove

src/game/server/baseentity.cpp:2441–2534  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Called just prior to object destruction Entities that need to unlink themselves from other entities should do the unlinking here rather than in their destructor. The reason why is that when the global entity list is told to Clear(), it first takes a pass through all active entities and calls UTIL_Remove on each

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 11

RemovePooledStringFunction · 0.85
UnlinkFromParentFunction · 0.85
GetAllChildrenFunction · 0.85
UTIL_RemoveFunction · 0.85
IsDynamicModelIndexFunction · 0.85
NotifyRemoveEntityMethod · 0.80
RemoveInstanceMethod · 0.80
GlobalEntity_SetStateFunction · 0.70
DevMsgFunction · 0.70
CountMethod · 0.45
RemoveMethod · 0.45

Tested by

no test coverage detected