v1.2.1
Latest
2020.3+
Class JoinByIdRequest
The body of a Join request
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
Type | Name | Description |
---|---|---|
String | password | The password to the target lobby. If target lobby HasPassword is true, this password must match or the request is denied. |
Player | player | 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
Type | Description |
---|---|
String |
Player
Parameter player of JoinByIdRequest
Declaration
[Preserve]
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |