ContainerLoad
What one worker last reported about one container: who is inside it (see WorkerTelemetry).
Nebula ยท Packages/com.1by3.nebula/Runtime/Orchestrator/AssignmentPolicy.cspublic struct ContainerLoadWhat 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; }ContainerCost
What one container cost the worker that leases it, split into the three components of CostComponent.
CostBalancedAssignmentPolicy
Deal by load: every container (baked or runtime) costs what CostWeights says its occupants cost, containers are ordered along a Morton curve of their centres so neighbours sit next to each other, and the curve is cut into one contiguous ...