WorkerInfo
Describes a worker registered with the control plane.
Nebula · Packages/com.1by3.nebula/Runtime/ControlPlane/IControlPlane.cspublic sealed class WorkerInfoDescribes a worker registered with the control plane.
Fields
WorkerId
public string WorkerId;WorkerIndex
public uint WorkerIndex;Address
public string Address;Port
public ushort Port;Status
public string Status;LastHeartbeat
public DateTime LastHeartbeat;TickCount
public ulong TickCount;TickMs
public float TickMs;EntityCount
public uint EntityCount;Every entity resident on the worker (authoritative + ghosts).
AuthoritativeCount
public uint AuthoritativeCount;GhostCount
public uint GhostCount;PlayerCount
public uint PlayerCount;Authoritative entities owned by a human client / by a bot client / by nobody (server-driven).
BotCount
public uint BotCount;ServerDrivenCount
public uint ServerDrivenCount;HasGlobalEntities
public bool HasGlobalEntities;The worker holds at least one always-relevant entity (see WorkerStats.HasGlobalEntities).
HasFarEntities
public bool HasFarEntities;The worker holds at least one far-relevant entity (see WorkerStats.HasFarEntities).
OldestDirtySeconds
public float OldestDirtySeconds;How long the oldest dirty persistent entity on this worker has been waiting for its next checkpoint, in seconds; 0 when persistence is off or nothing is dirty. See WorkerStats.OldestDirtySeconds and docs/persistence-durability.md.
ResidentBytes
public ulong ResidentBytes;Resident memory of the worker process (working set / RSS) in bytes; 0 when it could not be read.
NativeAllocatedBytes
public ulong NativeAllocatedBytes;Unity's native memory allocated (Profiler.GetTotalAllocatedMemoryLong) in bytes.
NativeReservedBytes
public ulong NativeReservedBytes;Unity's native memory reserved (Profiler.GetTotalReservedMemoryLong) in bytes.
ManagedBytes
public ulong ManagedBytes;The managed heap in use (GC.GetTotalMemory(false)) in bytes.
GcCount
public uint GcCount;Gen-0 garbage collections since the process started (a total; the reader takes differences).
FrameAvgMs, FrameP90Ms, FrameMaxMs
public float FrameAvgMs, FrameP90Ms, FrameMaxMs;Wall time per Unity frame over the worker's last profile window, in milliseconds: average, 90th percentile and worst. 0 until a window has completed, or from an older worker.
FrameSections
public string FrameSections;That window's frame split as name=ms pairs separated by spaces, in ms per frame (physics, fixed, tick, update, late, idle). Empty from an older worker.
ProfileSections
public string ProfileSections;That window's profiler sections (Nebula's and the game's) as name=ms pairs separated by spaces, in ms per tick. Empty from an older worker.