KRPC#

Provides functionality to interact with the server: its status and services, the connected clients, the game scene and pause state, and holding the game on a physics tick. The expressions build server side functions.

Example#

The following example prints the version of the server:

using System;
using KRPC.Client;
using KRPC.Client.Services.KRPC;

class KRPCExample
{
    public static void Main ()
    {
        using (var connection = new Connection ("KRPC Example")) {
            Console.WriteLine (connection.KRPC ().GetStatus ().Version);
        }
    }
}