space_ex v0.8.0 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.
Returns: [{bytes, str, str}, ...], where bytes is a string of binary bytes and str is a string
Get the current game scene.
Returns: a Elixir.SpaceEx.KRPC.GameScene value in atom form
Returns the identifier for the current client.
Returns: a string of binary bytes
Returns the name of the current client.
This is an empty string if the client has no name.
Returns: a string
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.
Returns: a nested structure describing available services
Returns some information about the server, such as the version.
Returns: a structure with internal server details
Whether the game is paused.
Returns: true or false
Whether the game is paused.
Returns: :ok