v1.1.0
Latest
2021.3+

Class JoinCodeRequest

A request to create a join code.

Inheritance
JoinCodeRequest
Namespace: Unity.Services.Relay.Models
Syntax
[Preserve]
public class JoinCodeRequest

Constructors

JoinCodeRequest(Guid)

A request to create a join code.

Declaration
[Preserve]
public JoinCodeRequest(Guid allocationId)
Parameters
TypeNameDescription
GuidallocationId

The UUID of the allocation. The Allocations service maps this allocation ID to the generated join code. The Allocations service shares the allocation connection data with players who use the join code with the /join endpoint. This sharing mechanism establishes communication between players via the Relay server data protocol.

Properties

AllocationId

The UUID of the allocation. The Allocations service maps this allocation ID to the generated join code. The Allocations service shares the allocation connection data with players who use the join code with the /join endpoint. This sharing mechanism establishes communication between players via the Relay server data protocol.

Declaration
[Preserve]
public Guid AllocationId { get; }
Property Value
TypeDescription
Guid