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
//---
	{
		fishingBobber.Kill(BaseNetworkable.DestroyMode.None);
		this.currentBobber.Set(null);
	}
	base.ClientRPC<int>(RpcTarget.NetworkGroup("Client_ResetLine"), (int)reason);
	Interface.CallHook("OnFishingStopped", this, reason);
}

Released under the MIT License.