None None None None None

Service KRPC

Main kRPC service, used by clients to interact with basic server functionality.

krpc_error_t krpc_KRPC_GetClientID(krpc_connection_t connection, krpc_bytes_t * result)

Returns the identifier for the current client.

Game Scenes:All
krpc_error_t krpc_KRPC_GetClientName(krpc_connection_t connection, char * * result)

Returns the name of the current client. This is an empty string if the client has no name.

Game Scenes:All
krpc_error_t krpc_KRPC_Clients(krpc_connection_t connection, krpc_list_tuple_bytes_string_string_t * result)

A list of RPC clients that are currently connected to the server. Each entry in the list is a clients identifier, name and address.

Game Scenes:All
krpc_error_t krpc_KRPC_GetStatus(krpc_connection_t connection, krpc_schema_Status * result)

Returns some information about the server, such as the version.

Game Scenes:All
krpc_error_t krpc_KRPC_GetServices(krpc_connection_t connection, krpc_schema_Services * result)

Returns information on all services, procedures, classes, properties etc. provided by the server. Can be used by client libraries to automatically create functionality such as stubs.

Game Scenes:All
krpc_error_t krpc_KRPC_CurrentGameScene(krpc_connection_t connection, krpc_KRPC_GameScene_t * result)

Get the current game scene.

Game Scenes:All
krpc_error_t krpc_KRPC_Paused(krpc_connection_t connection, bool * result)
void krpc_KRPC_set_Paused(bool value)

Whether the game is paused.

Game Scenes:All

The game scene. See krpc_KRPC_CurrentGameScene().


The game scene showing the Kerbal Space Center buildings.


The game scene showing a vessel in flight (or on the launchpad/runway).


The tracking station.


The Vehicle Assembly Building.


The Space Plane Hangar.

Exception class InvalidOperationException

A method call was made to a method that is invalid given the current state of the object.

Exception class ArgumentException

A method was invoked where at least one of the passed arguments does not meet the parameter specification of the method.

Exception class ArgumentNullException

A null reference was passed to a method that does not accept it as a valid argument.

Exception class ArgumentOutOfRangeException

The value of an argument is outside the allowable range of values as defined by the invoked method.