Struct JoinCodeParseResult
- Namespace
- Unity.Multiplayer.Core
The outcome of TryParse(string, out JoinCodeParseResult).
public readonly struct JoinCodeParseResult
- Inherited Members
Properties
Code
The parsed code; Empty on failure.
public JoinCode Code { get; }
Property Value
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
Error
Why parsing failed, or None.
public JoinCodeError Error { get; }
Property Value
Message
A sentence a game can show the player; empty on success.
public string Message { get; }
Property Value
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
Success
True when the input parsed.
public bool Success { get; }