Nebula
Protocol

ContainerOwnershipEntry

Stores the values used by container ownership entry.

generated from the sources
public struct ContainerOwnershipEntry

Stores the values used by container ownership entry.

Fields

Instance

public InstanceContainerInfo Instance;

ContainerIndex

public ushort ContainerIndex;

ContainerId

public string ContainerId;

WorkerIndex

public ushort WorkerIndex;

WorkerId

public string WorkerId;

Epoch

public ulong Epoch;

State

public string State;

HasBounds

public bool HasBounds;

Runtime containers: the box a client registers the container with. See LeaseInfo.HasBounds.

BoundsCenter

public Vector3 BoundsCenter;

BoundsSize

public Vector3 BoundsSize;

HasPlacement

public bool HasPlacement;

Runtime containers: where the box goes (parent, centre in double, authority, physics frame), carried in the message's trailing placement section so a protocol-18 reader that predates it still reads the float box. HasPlacement is false when the sender wrote none (a root with no frame, whose float box is all there is).

Placement

public ContainerPlacement Placement;

Properties

PlacementOrRoot

public ContainerPlacement PlacementOrRoot { get; }

The placement to register with: the trailing one when present, otherwise a root at the float box.

Methods

Of

public static ContainerOwnershipEntry Of(LeaseInfo lease, ushort containerIndex, ushort workerIndex);

An entry for a lease row, box and placement included.

On this page