Skip to content

OnFishingRodCast

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnFishingRodCast( BaseFishingRod instance, BasePlayer ownerPlayer, Item currentLure )
{
    Puts( "OnFishingRodCast works!" );
}

Location

  • BaseFishingRod::Server_RequestCast(BaseEntity/RPCMessage msg)
csharp
//---
	this.playerStartPosition = ownerPlayer.transform.position;
	base.SetFlag(BaseEntity.Flags.Busy, true, false, true);
	this.CurrentState = BaseFishingRod.CatchState.Waiting;
	base.InvokeRepeating(new Action(this.CatchProcess), 0f, 0f);
	this.inQueue = false;
	Interface.CallHook("OnFishingRodCast", this, ownerPlayer, currentLure);
}

Released under the MIT License.