Antenna

krpc_RemoteTech_Antenna_t

A RemoteTech antenna. Obtained by calling krpc_RemoteTech_Comms_Antennas() or krpc_RemoteTech_Antenna().

krpc_error_t krpc_RemoteTech_Antenna_Part(krpc_connection_t connection, krpc_SpaceCenter_Part_t * result)

Get the part containing this antenna.

Game Scenes:All
krpc_error_t krpc_RemoteTech_Antenna_HasConnection(krpc_connection_t connection, bool * result)

Whether the antenna has a connection.

Game Scenes:All
krpc_error_t krpc_RemoteTech_Antenna_Target(krpc_connection_t connection, krpc_RemoteTech_Target_t * result)
void krpc_RemoteTech_Antenna_set_Target(krpc_RemoteTech_Target_t value)

The object that the antenna is targetting. This property can be used to set the target to KRPC_REMOTETECH_TARGET_NONE or KRPC_REMOTETECH_TARGET_ACTIVEVESSEL. To set the target to a celestial body, ground station or vessel see krpc_RemoteTech_Antenna_TargetBody(), krpc_RemoteTech_Antenna_TargetGroundStation() and krpc_RemoteTech_Antenna_TargetVessel().

Game Scenes:All
krpc_error_t krpc_RemoteTech_Antenna_TargetBody(krpc_connection_t connection, krpc_SpaceCenter_CelestialBody_t * result)
void krpc_RemoteTech_Antenna_set_TargetBody(krpc_SpaceCenter_CelestialBody_t value)

The celestial body the antenna is targetting.

Game Scenes:All
krpc_error_t krpc_RemoteTech_Antenna_TargetGroundStation(krpc_connection_t connection, char * * result)
void krpc_RemoteTech_Antenna_set_TargetGroundStation(const char * value)

The ground station the antenna is targetting.

Game Scenes:All
krpc_error_t krpc_RemoteTech_Antenna_TargetVessel(krpc_connection_t connection, krpc_SpaceCenter_Vessel_t * result)
void krpc_RemoteTech_Antenna_set_TargetVessel(krpc_SpaceCenter_Vessel_t value)

The vessel the antenna is targetting.

Game Scenes:All
krpc_RemoteTech_Target_t

The type of object an antenna is targetting. See krpc_RemoteTech_Antenna_Target().

KRPC_REMOTETECH_TARGET_ACTIVEVESSEL

The active vessel.

KRPC_REMOTETECH_TARGET_CELESTIALBODY

A celestial body.

KRPC_REMOTETECH_TARGET_GROUNDSTATION

A ground station.

KRPC_REMOTETECH_TARGET_VESSEL

A specific vessel.

KRPC_REMOTETECH_TARGET_NONE

No target.