Protocol
JoinRejectReason
Why a join was refused, in typed form.
generated from the sources
Enum in namespace
Nebula · Packages/com.1by3.nebula/Runtime/Protocol/Messages.cspublic enum JoinRejectReason : byteWhy a join was refused, in typed form. A reason string is for the player; this is for the game's client code, which has to tell "your token is bad" (pointless to retry) from "that station is full" (try a queue, another instance, or later). See docs/capacity-admission.md.
Members
| Name | Value | Description |
|---|---|---|
None | 0 | No typed reason was supplied. Read JoinRejectedMsg.Reason and JoinRejectedMsg.Retry. |
AtCapacity | 1 | The target the client asked for is at capacity and the admission hook refused it (JoinRejectedMsg.Saturation says how full). |
Denied | 2 | The admission hook refused this particular arrival for its own reasons, with the target below capacity (NebulaAdmission.AlwaysConsult). |
ProtocolUnsupported | 3 | The client's protocol is outside the gateway's supported range (JoinRejectedMsg.SupportedMinVersion..JoinRejectedMsg.SupportedMaxVersion). The client stops automatic retries; use a client and gateway with matching protocol versions. |
ContentVersionMismatch | 4 | The client's HelloMsg.GameContentVersion is outside the gateway's configured range. The client stops automatic retries. The game defines the content version numbers. |
EncryptionRequired | 5 | The mesh accepts encrypted client links only (NebulaConfig.RequireEncryption) and this one is in the clear. Retrying without turning encryption on will be refused again. |