Nebula
Gateway

AdmissionDecision

The game's answer to AdmissionRequest.

generated from the sources
public struct AdmissionDecision

The game's answer to AdmissionRequest. Build one with Admit, Reject or Hold.

Fields

Action

public AdmissionAction Action;

Reason

public string Reason;

What the arriving client is told, fit to show a player. Empty takes Nebula's own sentence, which names the dominant component and the saturation.

Methods

Admit

public static AdmissionDecision Admit();

Let this one in although the target is at capacity.

Reject

public static AdmissionDecision Reject(string reason = null);

Refuse, with an optional sentence for the player.

Hold

public static AdmissionDecision Hold(string reason = null);

Keep the client waiting (JoinHoldReason.AtCapacity) and ask again shortly. A transfer reads this as a rejection.

On this page