Class JoinCodeData
JoinCodeData model
Inheritance
object
JoinCodeData
Namespace: Unity.Services.Relay.Models
Assembly: solution.dll
Syntax
public class JoinCodeData
Constructors
JoinCodeData(string)
Creates an instance of JoinCodeData.
Declaration
public JoinCodeData(string joinCode)
Parameters
| Type | Name | Description |
|---|---|---|
| string | joinCode | The connecting player can use the join code with the |
Properties
JoinCode
The connecting player can use the join code with the /join endpoint to join the same Relay server as the host player who created the join code. The join code is case-insensitive.
Declaration
public string JoinCode { get; }
Property Value
| Type | Description |
|---|---|
| string |