Skip to content

OnFishCatch

Usage

  • No return behavior

Example Autogenerated

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

Location

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

Released under the MIT License.