Skip to content

OnFishCaught ​

Usage ​

  • No return behavior

Example Autogenerated ​

csharp
private void OnFishCaught( ItemDefinition currentFishTarget, BaseFishingRod instance, BasePlayer ownerPlayer )
{
    Puts( "OnFishCaught works!" );
}

Location ​

  • BaseFishingRod::CatchProcessBudgeted()
csharp
//---
		}
		ownerPlayer.SignalBroadcast(Signal.Alt_Attack);
		Invoke(ResetLine, 6f);
		fishingBobber.Kill();
		currentBobber.Set(null);
		Interface.CallHook("OnFishCaught", currentFishTarget, this, ownerPlayer);
		CancelInvoke(CatchProcess);
	}
}

Released under the MIT License.