Skip to content

OnCargoShipHarborLeave

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnCargoShipHarborLeave( CargoShip instance )
{
    Puts( "OnCargoShipHarborLeave works!" );
}

Location

  • CargoShip::LeaveHarbor()
csharp
//---
	}
	this.PlayHorn();
	base.SetFlag(BaseEntity.Flags.Reserved1, false, false, true);
	base.SetFlag(BaseEntity.Flags.Reserved2, true, false, true);
	this.currentHarborApproachNode++;
	Interface.CallHook("OnCargoShipHarborLeave", this);
}

Released under the MIT License.