Antenna#

type krpc_RemoteTech_Antenna_t#

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

KRPC_CLASS_REMOTETECH_ANTENNA#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_RemoteTech_Antenna_Name(krpc_connection_t connection, char **returnValue, krpc_RemoteTech_Antenna_t instance)#

Name of the PartModule. For example, “ModuleEngines”.

Inherited from krpc_SpaceCenter_Module_Name().

krpc_error_t krpc_RemoteTech_Antenna_Part(krpc_connection_t connection, krpc_SpaceCenter_Part_t *returnValue, krpc_RemoteTech_Antenna_t instance)#

The part that contains this module.

Inherited from krpc_SpaceCenter_Module_Part().

krpc_error_t krpc_RemoteTech_Antenna_Config(krpc_connection_t connection, krpc_SpaceCenter_ConfigNode_t *returnValue, krpc_RemoteTech_Antenna_t instance)#

The static configuration of the module, as found in the part’s cfg file. This provides access to data that is not exposed as a field, such as the resources produced by a generator. Returns nullptr if the module’s configuration node cannot be found.

Inherited from krpc_SpaceCenter_Module_Config().

krpc_error_t krpc_RemoteTech_Antenna_FieldList(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_RemoteTech_Antenna_t instance)#

A list of all the fields of the module, including those not visible in the right-click menu of the part. Filter by krpc_SpaceCenter_PartField_Visible() to get just the visible ones.

Inherited from krpc_SpaceCenter_Module_FieldList().

krpc_error_t krpc_RemoteTech_Antenna_EventList(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_RemoteTech_Antenna_t instance)#

A list of all the events of the module, including those not currently visible or active. Events are the clickable buttons visible in the right-click menu of the part. Filter by krpc_SpaceCenter_PartEvent_Visible() and krpc_SpaceCenter_PartEvent_Active() to get just the ones shown in the menu.

Inherited from krpc_SpaceCenter_Module_EventList().

krpc_error_t krpc_RemoteTech_Antenna_ActionList(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_RemoteTech_Antenna_t instance)#

A list of all the actions of the module. These are the parts actions that can be assigned to action groups in the in-game editor.

Inherited from krpc_SpaceCenter_Module_ActionList().

krpc_error_t krpc_RemoteTech_Antenna_HasConnection(krpc_connection_t connection, bool *returnValue, krpc_RemoteTech_Antenna_t instance)#

Whether the antenna has a connection.

krpc_error_t krpc_RemoteTech_Antenna_Target(krpc_connection_t connection, krpc_RemoteTech_Target_t *returnValue, krpc_RemoteTech_Antenna_t instance)#
krpc_error_t krpc_RemoteTech_Antenna_set_Target(krpc_connection_t connection, krpc_RemoteTech_Antenna_t instance, 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().

krpc_error_t krpc_RemoteTech_Antenna_TargetBody(krpc_connection_t connection, krpc_SpaceCenter_CelestialBody_t *returnValue, krpc_RemoteTech_Antenna_t instance)#
krpc_error_t krpc_RemoteTech_Antenna_set_TargetBody(krpc_connection_t connection, krpc_RemoteTech_Antenna_t instance, krpc_SpaceCenter_CelestialBody_t value)#

The celestial body the antenna is targetting.

krpc_error_t krpc_RemoteTech_Antenna_TargetGroundStation(krpc_connection_t connection, char **returnValue, krpc_RemoteTech_Antenna_t instance)#
krpc_error_t krpc_RemoteTech_Antenna_set_TargetGroundStation(krpc_connection_t connection, krpc_RemoteTech_Antenna_t instance, const char *value)#

The ground station the antenna is targetting.

krpc_error_t krpc_RemoteTech_Antenna_TargetVessel(krpc_connection_t connection, krpc_SpaceCenter_Vessel_t *returnValue, krpc_RemoteTech_Antenna_t instance)#
krpc_error_t krpc_RemoteTech_Antenna_set_TargetVessel(krpc_connection_t connection, krpc_RemoteTech_Antenna_t instance, krpc_SpaceCenter_Vessel_t value)#

The vessel the antenna is targetting.

type krpc_RemoteTech_Target_t#

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

KRPC_ENUMERATION_REMOTETECH_TARGET#

The service and enumeration ids of the enumeration, for krpc_KRPC_Type_EnumerationTypeById() and krpc_KRPC_Expression_ConstantEnumById().

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.