UTIL_ClientPrintAll
0x00b2c010 · 121 bytes · __cdecl
_Z19UTIL_ClientPrintAlliPKcS0_S0_S0_S0_
Decompiled
undefined (6 params)
/* UTIL_ClientPrintAll(int, char const*, char const*, char const*, char const*, char const*) */
void UTIL_ClientPrintAll(int param_1,char *param_2,char *param_3,char *param_4,char *param_5,
char *param_6)
{
undefined **local_2c [8];
CRecipientFilter::CRecipientFilter((CRecipientFilter *)local_2c);
local_2c[0] = &PTR__CBroadcastRecipientFilter_00c09928;
/* try { // try from 00b2c02d to 00b2c031 has its CatchHandler @ 00b2c089 */
CRecipientFilter::AddAllPlayers((CRecipientFilter *)local_2c);
local_2c[0] = &PTR__CReliableBroadcastRecipientFilter_00c157a8;
/* try { // try from 00b2c03c to 00b2c040 has its CatchHandler @ 00b2c0b4 */
CRecipientFilter::MakeReliable((CRecipientFilter *)local_2c);
/* try { // try from 00b2c06e to 00b2c072 has its CatchHandler @ 00b2c09b */
UTIL_ClientPrintFilter
((IRecipientFilter *)local_2c,param_1,param_2,param_3,param_4,param_5,param_6);
local_2c[0] = &PTR__CBroadcastRecipientFilter_00c09928;
CRecipientFilter::~CRecipientFilter((CRecipientFilter *)local_2c);
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.