v1.0.0
Latest
2022.3+
Class JoinRequest
A request to join a Relay server using a join code.
Inheritance
System.Object
JoinRequest
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 JoinRequest
Constructors
JoinRequest(String)
A request to join a Relay server using a join code.
Declaration
public JoinRequest(string joinCode)
Parameters
Type | Name | Description |
---|---|---|
System.String | joinCode | Join codes are case-insensitive, span six to twelve characters, and are composed only of characters that are in '6789BCDFGHJKLMNPQRTW'. The Allocations service uses join codes to look up the connection data of the host player who created the join code. |
Properties
JoinCode
Join codes are case-insensitive, span six to twelve characters, and are composed only of characters that are in '6789BCDFGHJKLMNPQRTW'. The Allocations service uses join codes to look up the connection data of the host player who created the join code.
Declaration
public string JoinCode { get; }
Property Value
Type | Description |
---|---|
System.String |