Nebula
Orchestrator

ContainerLoad

What one worker last reported about one container: who is inside it (see WorkerTelemetry).

generated from the sources
public struct ContainerLoad

What one worker last reported about one container: who is inside it (see WorkerTelemetry).

Fields

Players

public int Players;

Bots

public int Bots;

ServerDriven

public int ServerDriven;

Other

public int Other;

Ghosts

public int Ghosts;

Enclosing

public string Enclosing;

For a carried (dynamic) container: the container its carrier is in, which may itself be carried. Empty for every other container. Lets a reader fold a vehicle's riders into the box the vehicle is in (ScopeLifecycle.Occupancy) without counting them twice for cost: the counts above stay where the worker simulates the riders.

WorkerId

public string WorkerId;

The worker that reported it.

ReceivedAt

public double ReceivedAt;

When the report arrived, on the telemetry clock.

EntityCostSum

public float EntityCostSum;

What the worker's own tally of the entities inside came to, each one's category weight times its NebulaCost multiplier (docs/cost-telemetry.md). Valid only when HasEntityCost; CostWeights.Base is not in it.

HasEntityCost

public bool HasEntityCost;

The report carried an entity cost sum, so CostWeights.Of uses it instead of counting heads.

Properties

Authoritative

public int Authoritative { get; }

On this page