v1.2.1
Latest
2020.3+

Class JoinByIdRequest

The body of a Join request

Inheritance
JoinByIdRequest
Namespace: Unity.Services.Lobbies.Models
Syntax
[Preserve]
public class JoinByIdRequest

Constructors

JoinByIdRequest(String, Player)

The body of a Join request

Declaration
[Preserve]
public JoinByIdRequest(string password = null, Player player = null)
Parameters
TypeNameDescription
Stringpassword

The password to the target lobby. If target lobby HasPassword is true, this password must match or the request is denied.

Playerplayer

player param

Properties

Password

The password to the target lobby. If target lobby HasPassword is true, this password must match or the request is denied.

Declaration
[Preserve]
public string Password { get; }
Property Value
TypeDescription
String

Player

Parameter player of JoinByIdRequest

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