v1.0.0
Latest
2022.3+
Class JoinCodeData
JoinCodeData model
Inheritance
System.Object
JoinCodeData
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unity.Services.Relay.Models
Syntax
public class JoinCodeData
Constructors
JoinCodeData(String)
Creates an instance of JoinCodeData.
Declaration
public JoinCodeData(string joinCode)
Parameters
Type | Name | Description |
---|---|---|
System.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 |
---|---|
System.String |