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);
		CancelInvoke(CatchProcess);
		Interface.CallHook("OnFishCaught", currentFishTarget, this, ownerPlayer);
	}
}

Released under the MIT License.