Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainCore module · enum

Native::

EJoinStreamError

Experimental

Why a join reader stopped.

Declaration

enum class EJoinStreamError : uint8_t
Header
#include "Native/Net/NetJoin.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainCore"); in your module’s Build.cs.
Stability
Experimental: supported, may change in a minor version, with a changelog line.

Description

Every one is final: the joiner rejoins (twice), then disconnects with JoinCorrupt.

Values

ValueMeaning
None = 0—
BadFrame

A frame's hash did not match its bytes.

BadKind

A frame kind this version does not define.

BadLength

A frame length out of bounds for its kind.

BadHead

The head did not decode (version, bounds, strokes or their tiles not ascending, trailing bytes).

BadOrder

Anything before the head, a second head, a start after the save's bytes began, or save bytes before every start.

Overlap

Save bytes sent twice.

OutOfRange

Save bytes past the save's size.

Incomplete

The end frame came before every save byte, or its counts disagree.

TrailingBytes

Bytes after the end frame.

BadVersion

The head frame names another stream version (an older or newer server): refused before its hash is checked.

BadStart

A start chunk for another tile than the next one the head flags (one skipped, repeated or extra), or one that does not decode.

StoreFailed

The joiner's receive store could not be made or written (IJoinReceiveStore): the join starts again. Local: never on the wire.

BadMask

A mask frame that does not decode, is not the next mask the head lists (by hash and size), or comes before every start or after the save's bytes began.