CPropVehicleDriveable::PassengerShouldReceiveDamage
0x00b35b80 · 10 bytes · __thiscall
_ZThn5452_N21CPropVehicleDriveable28PassengerShouldReceiveDamageER15CTakeDamageInfo
Decompiled
undefined (2 params)
/* non-virtual thunk to CPropVehicleDriveable::PassengerShouldReceiveDamage(CTakeDamageInfo&) */
void __thiscall
CPropVehicleDriveable::PassengerShouldReceiveDamage
(CPropVehicleDriveable *this,CTakeDamageInfo *param_1)
{
PassengerShouldReceiveDamage((CTakeDamageInfo *)(this + -0x154c));
return;
}
SourceMod gamedata
paste intoaddons/sourcemod/gamedata/<your_plugin>.txt
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.
Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.