Example #1
0
 /// <summary>
 /// Determines whether Computer has a certain mod port.
 /// </summary>
 /// <returns><c>true</c>, if Computer has the port, <c>false</c> otherwise.</returns>
 /// <param name="id">The modded port's registry id to search by.</param>
 public static bool HasModPort(this Hacknet.Computer comp, string id) => comp.HasModPort(Port.Handler.GetPort(id));