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

Function DispatchSpawn

src/game/server/util.cpp:1827–1932  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Spawns an entity into the game, initializing it with the map ent data block Input : *pEntity - the newly created entity *mapData - pointer a block of entity map data Output : -1 if the entity was not successfully created; 0 on success -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

SpewBarsMethod · 0.85
CreateMethod · 0.85
CreateMethod · 0.85
PrimaryAttackMethod · 0.85
EquipMethod · 0.85
CreateMethod · 0.85
SecondaryAttackMethod · 0.85
ManageStopwatchTimerMethod · 0.85
FOR_EACH_VECFunction · 0.85
DropHalloweenSoulPackMethod · 0.85
DropSpellPickupMethod · 0.85

Calls 15

EntityFactoryDictionaryFunction · 0.85
GlobalEntity_GetMapFunction · 0.85
RunGameEventCallbacksMethod · 0.80
RunPrecacheScriptsMethod · 0.80
SetBoneCacheFlagsMethod · 0.80
ClearBoneCacheFlagsMethod · 0.80
MakeDormantMethod · 0.80
NotifySpawnMethod · 0.80
RunOnPostSpawnScriptsMethod · 0.80
GlobalEntity_GetIndexFunction · 0.70
GlobalEntity_GetStateFunction · 0.70
FStrEqFunction · 0.70

Tested by

no test coverage detected