OnFishCatch
Usage
- No return behavior
Example Autogenerated
csharp
private void OnFishCatch( )
{
Puts( "OnFishCatch works!" );
}Location
- BaseFishingRod::CatchProcessBudgeted()
csharp
//---
object obj = Interface.CallHook("CanCatchFish", ownerPlayer, this, item);
if (obj is bool && !(bool)obj)
{
return;
}
object obj2 = Interface.CallHook("OnFishCatch", item, this, ownerPlayer);
if (obj2 is Item && obj2 as Item != item)
{
item.Remove();
item = (Item)obj2;
}
//---