OnMeleeThrown
Usage
- No return behavior
Example Autogenerated
csharp
private void OnMeleeThrown( BasePlayer player, Item item )
{
Puts( "OnMeleeThrown works!" );
}
Location
- BaseMelee::CLProject(BaseEntity/RPCMessage msg)
csharp
//---
if (projectileShoot != null)
{
projectileShoot.Dispose();
}
item.SetParent(null);
Interface.CallHook("OnMeleeThrown", player, item);
SingletonComponent<NpcNoiseManager>.Instance.OnWeaponThrown(player, this, this.canAiHearIt);
}