Struct JoinCodeParseResult

Namespace
Unity.Multiplayer.Core
public readonly struct JoinCodeParseResult
Inherited Members

Properties

Code

The parsed code; Empty on failure.

public JoinCode Code { get; }

Property Value

JoinCode

Corrected

True when the input held a look-alike (0, O, 1 or I) that the check character resolved.

public bool Corrected { get; }

Property Value

bool

Error

Why parsing failed, or None.

public JoinCodeError Error { get; }

Property Value

JoinCodeError

Message

A sentence a game can show the player; empty on success.

public string Message { get; }

Property Value

string

Position

Zero-based index, in the normalized input, of the offending character; -1 when no single character is to blame.

public int Position { get; }

Property Value

int

Success

True when the input parsed.

public bool Success { get; }

Property Value

bool