Skip to content

OnFishCatch ​

Usage ​

  • No return behavior

Example Autogenerated ​

csharp
private void OnFishCatch(  )
{
    Puts( "OnFishCatch works!" );
}

Location ​

  • BaseFishingRod::CatchProcessBudgeted()
csharp
//---
			object OxideGen_15 = Interface.CallHook("CanCatchFish", ownerPlayer, this, item);
			if (OxideGen_15 is bool && !(bool)OxideGen_15)
			{
				return;
			}
			object OxideGen_16 = Interface.CallHook("OnFishCatch", item, this, ownerPlayer);
			if (OxideGen_16 is Item && OxideGen_16 as Item != item)
			{
				item.Remove(0f);
				item = (Item)OxideGen_16;
			}
//---

Released under the MIT License.