Class JoinByIdRequest
The body of a Join request
Inherited Members
Namespace: Unity.Services.Lobbies.Models
Assembly: Unity.Services.Multiplayer.dll
Syntax
[Preserve]
[DataContract(Name = "JoinByIdRequest")]
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]
[DataMember(Name = "password", EmitDefaultValue = false)]
public string Password { get; }
Property Value
Type | Description |
---|---|
string |
Player
Parameter player of JoinByIdRequest
Declaration
[Preserve]
[DataMember(Name = "player", EmitDefaultValue = false)]
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |