Nebula
Core

NebulaRuntime

Process-wide role context.

generated from the sources
Static class in namespace Nebula · Packages/com.1by3.nebula/Runtime/Core/NebulaRuntime.cs
public static class NebulaRuntime

Process-wide role context. A process is either a worker (server) or a client, never both.

Properties

IsServer

public static bool IsServer { get; }

IsClient

public static bool IsClient { get; }

LocalClientId

public static uint LocalClientId { get; }

LocalWorkerId

public static string LocalWorkerId { get; } = "";

LocalWorkerIndex

public static ushort LocalWorkerIndex { get; }

RpcSink

public static IRpcSink RpcSink { get; }

Config

public static NebulaConfig Config { get; }

On this page