Nebula
Control plane

ScopeActivationRequest

What a caller asks for when it wants a scope to exist.

generated from the sources
public sealed class ScopeActivationRequest

What a caller asks for when it wants a scope to exist.

Fields

ScopeKey

public string ScopeKey = "";

The opaque key. Two callers passing the same key get the same scope; a game-supplied unique key is a private copy.

Definition

public ScopeDefinition Definition = new ScopeDefinition();

What to bring into being. Required on the first activation; on a later one it must match the stored definition.

PreferredWorkerId

public string PreferredWorkerId = "";

Create the lease rows already assigned to this worker, so the worker that asked owns them from the first change anyone sees (this is what NebulaWorker.PrepareInstance has always done). Empty when the caller is not a worker: the rows are born orphaned and the orchestrator deals them out.

Requester

public string Requester = "";

Free-form caller name, kept on the row for logs.

On this page