Skip to content

OnFishingStopped

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnFishingStopped( BaseFishingRod instance, FailReason reason )
{
    Puts( "OnFishingStopped works!" );
}

Location

  • BaseFishingRod::Server_Cancel(BaseFishingRod/FailReason reason)
csharp
//---
	BasePlayer ownerPlayer = base.GetOwnerPlayer();
	if (ownerPlayer != null)
	{
		Facepunch.Rust.Analytics.Azure.OnFailedFish(ownerPlayer, reason);
	}
	Interface.CallHook("OnFishingStopped", this, reason);
}

Released under the MIT License.