space_ex v0.5.1 SpaceEx.KRPC

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

Link to this section Summary

Functions

A list of RPC clients that are currently connected to the server

Get the current game scene

Returns the identifier for the current client

Returns the name of the current client

Returns information on all services, procedures, classes, properties etc

Returns some information about the server, such as the version

Whether the game is paused

Whether the game is paused

Link to this section Functions

A list of RPC clients that are currently connected to the server.

Each entry in the list is a clients identifier, name and address.

Link to this function current_game_scene(conn)

Get the current game scene.

Link to this function get_client_id(conn)

Returns the identifier for the current client.

Link to this function get_client_name(conn)

Returns the name of the current client.

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

Link to this function get_services(conn)

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.

Link to this function get_status(conn)

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

Whether the game is paused.

Link to this function set_paused(conn, value)

Whether the game is paused.