Class JoinRequest
A request to join a Relay server using a join code.
Inherited Members
Namespace: Unity.Services.Relay.Models
Assembly: Unity.Services.Multiplayer.dll
Syntax
[Preserve]
[DataContract(Name = "JoinRequest")]
public class JoinRequest
Constructors
JoinRequest(string)
A request to join a Relay server using a join code.
Declaration
[Preserve]
public JoinRequest(string joinCode)
Parameters
Type | Name | Description |
---|---|---|
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
[Preserve]
[DataMember(Name = "joinCode", IsRequired = true, EmitDefaultValue = true)]
public string JoinCode { get; }
Property Value
Type | Description |
---|---|
string |