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(BaseEntity.Signal.Alt_Attack, null);
		base.Invoke(new Action(this.ResetLine), 6f);
		fishingBobber.Kill(BaseNetworkable.DestroyMode.None);
		this.currentBobber.Set(null);
		base.CancelInvoke(new Action(this.CatchProcess));
		Interface.CallHook("OnFishCaught", this.currentFishTarget, this, ownerPlayer);
		return;
	}
}

Released under the MIT License.