{ "RemoteTech": { "id": 6, "documentation": "\n\nThis service provides functionality to interact with\nRemoteTech.\n\n", "procedures": { "Comms": { "id": 1, "parameters": [ { "name": "vessel", "type": { "code": "CLASS", "service": "SpaceCenter", "name": "Vessel" } } ], "return_type": { "code": "CLASS", "service": "RemoteTech", "name": "Comms" }, "return_is_nullable": false, "documentation": "\n\nGet a communications object, representing the communication capability of a particular vessel.\n\n" }, "Antenna": { "id": 2, "parameters": [ { "name": "part", "type": { "code": "CLASS", "service": "SpaceCenter", "name": "Part" } } ], "return_type": { "code": "CLASS", "service": "RemoteTech", "name": "Antenna" }, "return_is_nullable": false, "documentation": "\n\nGet the antenna object for a particular part.\n\n" }, "get_Available": { "id": 3, "parameters": [], "return_type": { "code": "BOOL" }, "return_is_nullable": false, "documentation": "\n\nWhether RemoteTech is installed.\n\n" }, "get_GroundStations": { "id": 4, "parameters": [], "return_type": { "code": "LIST", "types": [ { "code": "STRING" } ] }, "return_is_nullable": false, "documentation": "\n\nThe names of the ground stations.\n\n" }, "Antenna_get_Part": { "id": 5, "parameters": [ { "name": "this", "type": { "code": "CLASS", "service": "RemoteTech", "name": "Antenna" } } ], "return_type": { "code": "CLASS", "service": "SpaceCenter", "name": "Part" }, "return_is_nullable": false, "documentation": "\n\nGet the part containing this antenna.\n\n" }, "Antenna_get_HasConnection": { "id": 6, "parameters": [ { "name": "this", "type": { "code": "CLASS", "service": "RemoteTech", "name": "Antenna" } } ], "return_type": { "code": "BOOL" }, "return_is_nullable": false, "documentation": "\n\nWhether the antenna has a connection.\n\n" }, "Antenna_get_Target": { "id": 7, "parameters": [ { "name": "this", "type": { "code": "CLASS", "service": "RemoteTech", "name": "Antenna" } } ], "return_type": { "code": "ENUMERATION", "service": "RemoteTech", "name": "Target" }, "return_is_nullable": false, "documentation": "\n\nThe object that the antenna is targetting.\nThis property can be used to set the target to or .\nTo set the target to a celestial body, ground station or vessel see ,\n and .\n\n" }, "Antenna_set_Target": { "id": 8, "parameters": [ { "name": "this", "type": { "code": "CLASS", "service": "RemoteTech", "name": "Antenna" } }, { "name": "value", "type": { "code": "ENUMERATION", "service": "RemoteTech", "name": "Target" } } ], "documentation": "\n\nThe object that the antenna is targetting.\nThis property can be used to set the target to or .\nTo set the target to a celestial body, ground station or vessel see ,\n and .\n\n" }, "Antenna_get_TargetBody": { "id": 9, "parameters": [ { "name": "this", "type": { "code": "CLASS", "service": "RemoteTech", "name": "Antenna" } } ], "return_type": { "code": "CLASS", "service": "SpaceCenter", "name": "CelestialBody" }, "return_is_nullable": false, "documentation": "\n\nThe celestial body the antenna is targetting.\n\n" }, "Antenna_set_TargetBody": { "id": 10, "parameters": [ { "name": "this", "type": { "code": "CLASS", "service": "RemoteTech", "name": "Antenna" } }, { "name": "value", "type": { "code": "CLASS", "service": "SpaceCenter", "name": "CelestialBody" } } ], "documentation": "\n\nThe celestial body the antenna is targetting.\n\n" }, "Antenna_get_TargetGroundStation": { "id": 11, "parameters": [ { "name": "this", "type": { "code": "CLASS", "service": "RemoteTech", "name": "Antenna" } } ], "return_type": { "code": "STRING" }, "return_is_nullable": false, "documentation": "\n\nThe ground station the antenna is targetting.\n\n" }, "Antenna_set_TargetGroundStation": { "id": 12, "parameters": [ { "name": "this", "type": { "code": "CLASS", "service": "RemoteTech", "name": "Antenna" } }, { "name": "value", "type": { "code": "STRING" } } ], "documentation": "\n\nThe ground station the antenna is targetting.\n\n" }, "Antenna_get_TargetVessel": { "id": 13, "parameters": [ { "name": "this", "type": { "code": "CLASS", "service": "RemoteTech", "name": "Antenna" } } ], "return_type": { "code": "CLASS", "service": "SpaceCenter", "name": "Vessel" }, "return_is_nullable": false, "documentation": "\n\nThe vessel the antenna is targetting.\n\n" }, "Antenna_set_TargetVessel": { "id": 14, "parameters": [ { "name": "this", "type": { "code": "CLASS", "service": "RemoteTech", "name": "Antenna" } }, { "name": "value", "type": { "code": "CLASS", "service": "SpaceCenter", "name": "Vessel" } } ], "documentation": "\n\nThe vessel the antenna is targetting.\n\n" }, "Comms_SignalDelayToVessel": { "id": 15, "parameters": [ { "name": "this", "type": { "code": "CLASS", "service": "RemoteTech", "name": "Comms" } }, { "name": "other", "type": { "code": "CLASS", "service": "SpaceCenter", "name": "Vessel" } } ], "return_type": { "code": "DOUBLE" }, "return_is_nullable": false, "documentation": "\n\nThe signal delay between the this vessel and another vessel, in seconds.\n\n\n" }, "Comms_get_Vessel": { "id": 16, "parameters": [ { "name": "this", "type": { "code": "CLASS", "service": "RemoteTech", "name": "Comms" } } ], "return_type": { "code": "CLASS", "service": "SpaceCenter", "name": "Vessel" }, "return_is_nullable": false, "documentation": "\n\nGet the vessel.\n\n" }, "Comms_get_HasLocalControl": { "id": 17, "parameters": [ { "name": "this", "type": { "code": "CLASS", "service": "RemoteTech", "name": "Comms" } } ], "return_type": { "code": "BOOL" }, "return_is_nullable": false, "documentation": "\n\nWhether the vessel can be controlled locally.\n\n" }, "Comms_get_HasFlightComputer": { "id": 18, "parameters": [ { "name": "this", "type": { "code": "CLASS", "service": "RemoteTech", "name": "Comms" } } ], "return_type": { "code": "BOOL" }, "return_is_nullable": false, "documentation": "\n\nWhether the vessel has a flight computer on board.\n\n" }, "Comms_get_HasConnection": { "id": 19, "parameters": [ { "name": "this", "type": { "code": "CLASS", "service": "RemoteTech", "name": "Comms" } } ], "return_type": { "code": "BOOL" }, "return_is_nullable": false, "documentation": "\n\nWhether the vessel has any connection.\n\n" }, "Comms_get_HasConnectionToGroundStation": { "id": 20, "parameters": [ { "name": "this", "type": { "code": "CLASS", "service": "RemoteTech", "name": "Comms" } } ], "return_type": { "code": "BOOL" }, "return_is_nullable": false, "documentation": "\n\nWhether the vessel has a connection to a ground station.\n\n" }, "Comms_get_SignalDelay": { "id": 21, "parameters": [ { "name": "this", "type": { "code": "CLASS", "service": "RemoteTech", "name": "Comms" } } ], "return_type": { "code": "DOUBLE" }, "return_is_nullable": false, "documentation": "\n\nThe shortest signal delay to the vessel, in seconds.\n\n" }, "Comms_get_SignalDelayToGroundStation": { "id": 22, "parameters": [ { "name": "this", "type": { "code": "CLASS", "service": "RemoteTech", "name": "Comms" } } ], "return_type": { "code": "DOUBLE" }, "return_is_nullable": false, "documentation": "\n\nThe signal delay between the vessel and the closest ground station, in seconds.\n\n" }, "Comms_get_Antennas": { "id": 23, "parameters": [ { "name": "this", "type": { "code": "CLASS", "service": "RemoteTech", "name": "Comms" } } ], "return_type": { "code": "LIST", "types": [ { "code": "CLASS", "service": "RemoteTech", "name": "Antenna" } ] }, "return_is_nullable": false, "documentation": "\n\nThe antennas for this vessel.\n\n" } }, "classes": { "Antenna": { "documentation": "\n\nA RemoteTech antenna. Obtained by calling or .\n\n" }, "Comms": { "documentation": "\n\nCommunications for a vessel.\n\n" } }, "enumerations": { "Target": { "documentation": "\n\nThe type of object an antenna is targetting.\nSee .\n\n", "values": [ { "name": "ActiveVessel", "value": 0, "documentation": "\n\nThe active vessel.\n\n" }, { "name": "CelestialBody", "value": 1, "documentation": "\n\nA celestial body.\n\n" }, { "name": "GroundStation", "value": 2, "documentation": "\n\nA ground station.\n\n" }, { "name": "Vessel", "value": 3, "documentation": "\n\nA specific vessel.\n\n" }, { "name": "None", "value": 4, "documentation": "\n\nNo target.\n\n" } ] } }, "exceptions": {} } }