.. default-domain:: cs .. highlight:: csharp .. namespace:: KRPC.Client.Services.SpaceCenter Communications ============== .. class:: Comms Used to interact with CommNet for a given vessel. Obtained by calling :prop:`Vessel.Comms`. .. property:: bool CanCommunicate { get; } Whether the vessel can communicate with KSC. :Game Scenes: Flight .. property:: bool CanTransmitScience { get; } Whether the vessel can transmit science data to KSC. :Game Scenes: Flight .. property:: double SignalStrength { get; } Signal strength to KSC. :Game Scenes: Flight .. property:: double SignalDelay { get; } Signal delay to KSC in seconds. :Game Scenes: Flight .. property:: double Power { get; } The combined power of all active antennae on the vessel. :Game Scenes: Flight .. property:: System.Collections.Generic.IList ControlPath { get; } The communication path used to control the vessel. :Game Scenes: Flight .. class:: CommLink Represents a communication link between two nodes in the network. .. property:: CommLinkType Type { get; } The type of link. :Game Scenes: All .. property:: double SignalStrength { get; } Signal strength of the link. :Game Scenes: All .. property:: CommNode Start { get; } Start point of the link. :Game Scenes: All .. property:: CommNode End { get; } End point of the link. :Game Scenes: All .. enum:: CommLinkType The type of a communication link. See :prop:`CommLink.Type`. .. enumerator:: Home Link is to a base station on Kerbin. .. enumerator:: Control Link is to a control source, for example a manned spacecraft. .. enumerator:: Relay Link is to a relay satellite. .. struct:: CommNode Represents a communication node in the network. For example, a vessel or the KSC. .. function:: CommNode(string name, bool isHome, bool isControlPoint, bool isVessel, Vessel vessel) Construct a CommNode from the values of its fields. .. property:: string Name { get; } Name of the communication node. .. property:: bool IsHome { get; } Whether the communication node is on Kerbin. .. property:: bool IsControlPoint { get; } Whether the communication node is a control point, for example a manned vessel. .. property:: bool IsVessel { get; } Whether the communication node is a vessel. .. property:: Vessel Vessel { get; } The vessel for this communication node, or null if the node is not a vessel.