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