Skip to content

OnCargoShipHarborApproach

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnCargoShipHarborApproach( CargoShip instance, CargoNotifier cn )
{
    Puts( "OnCargoShipHarborApproach works!" );
}

Location

  • CargoShip::StartHarborApproach(CargoNotifier cn)
csharp
private void StartHarborApproach(CargoNotifier cn)
{
	if (Interface.CallHook("OnCargoShipHarborApproach", this, cn) != null)
	{
		return;
	}
	this.PlayHorn();
	this.isDoingHarborApproach = true;
//---

Released under the MIT License.