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);
if (this.canAiHearIt)
{
float num = 0f;
if (component.projectileObject != null)
{
//---