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

Released under the MIT License.