CPrecacheRegister::LevelInitPreEntity
0x00496ed0 · 94 bytes · __cdecl
_ZN17CPrecacheRegister18LevelInitPreEntityEv
Decompiled
undefined (0 params)
/* CPrecacheRegister::LevelInitPreEntity() */
void CPrecacheRegister::LevelInitPreEntity(void)
{
char *pcStack00000004;
COM_TimestampedLog("LevelInitPreEntity - PreCache - Start");
(**(code **)(*g_pPrecacheSystem + 0x14))(g_pPrecacheSystem,g_pPrecacheHandler,1,0,1,0xffffffff,0);
pcStack00000004 = "LevelInitPreEntity - PreCache - Finish";
COM_TimestampedLog();
return;
}
SourceMod gamedata
paste intoaddons/sourcemod/gamedata/<your_plugin>.txt
used as the SourceMod key — change to fit your plugin's convention
SourceMod library name (server / engine / matchmaking)
Just a Signatures{} block, ready to drop into a gamedata
file. Wire it up in your plugin however you like - SDKCall, DHooks,
raw memory ops, or anything else.
Signatures + Functions block. The plugin uses
DHookCreateFromConf - DHooks reads return type, this-type,
calling convention, and argument types straight from the gamedata. Less
boilerplate in the plugin, types travel with the gamedata.
Gamedata KeyValues
DHooks plugin example
Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.