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

Function UTIL_RemoveImmediate

src/game/server/util.cpp:524–555  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: deletes an entity, without any delay. WARNING! Only use this when sure no pointers rely on this entity. Input : *oldObj - the entity to delete -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

RestoreMethod · 0.85
SpawnMethod · 0.85
CreateInstanceMethod · 0.85
Test_SpawnRandomEntitiesFunction · 0.85
InitDynamicLinksMethod · 0.85
FreeContainingEntityFunction · 0.85
MapEntity_PrecacheEntityFunction · 0.85
ReturnTestHullMethod · 0.85
SpawnMethod · 0.85
RemoveEntityImmediateMethod · 0.85
ChildPostSpawnMethod · 0.85

Calls 5

UTIL_RemoveFunction · 0.85
AssertFunction · 0.85
IsEFlagSetMethod · 0.45
AddEFlagsMethod · 0.45
UpdateOnRemoveMethod · 0.45

Tested by 1

Test_SpawnRandomEntitiesFunction · 0.68