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

Function CompareSpawnOrder

src/game/server/mapentities.cpp:107–127  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Callback function for qsort, used to sort entities by their depth in the movement hierarchy. Input : pEnt1 - pEnt2 - Output : Returns -1, 0, or 1 per qsort spec. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

GetStringIDMethod · 0.80
GetClassnameMethod · 0.45

Tested by

no test coverage detected