CAI_BehaviorBase::BehaviorBridge_OnFriendDamaged
0x005a70a0 · 7 bytes · __thiscall
_ZThn8_N16CAI_BehaviorBase30BehaviorBridge_OnFriendDamagedEP20CBaseCombatCharacterP11CBaseEntity
Decompiled
undefined (3 params)
/* non-virtual thunk to CAI_BehaviorBase::BehaviorBridge_OnFriendDamaged(CBaseCombatCharacter*,
CBaseEntity*) */
void __thiscall
CAI_BehaviorBase::BehaviorBridge_OnFriendDamaged
(CAI_BehaviorBase *this,CBaseCombatCharacter *param_1,CBaseEntity *param_2)
{
BehaviorBridge_OnFriendDamaged((CBaseCombatCharacter *)(this + -8),(CBaseEntity *)param_1);
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.