Class RendezvousRegistration

Namespace
Unity.Multiplayer.Core

A live registration: the code players type and the private token that renews or deletes it.

public sealed class RendezvousRegistration
Inheritance
RendezvousRegistration
Inherited Members

Constructors

RendezvousRegistration(JoinCode, string, int)

Creates a registration record.

public RendezvousRegistration(JoinCode code, string token, int ttlSeconds)

Parameters

code JoinCode
token string
ttlSeconds int

Properties

Code

The code players type.

public JoinCode Code { get; }

Property Value

JoinCode

Token

The private token; never show it to players.

public string Token { get; }

Property Value

string

TtlSeconds

Seconds the registration lives without a heartbeat.

public int TtlSeconds { get; }

Property Value

int