Class JoinByIdRequest
The body of a Join request
Inherited Members
Namespace: Unity.Services.Apis.Lobbies
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "JoinByIdRequest")]
[Preserve]
public class JoinByIdRequest
Constructors
JoinByIdRequest(string, Player)
Initializes a new instance of the Join
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. |
Properties
Password
The password to the target lobby. If target lobby HasPassword is true, this password must match or the request is denied.
Declaration
[DataMember(Name = "password", EmitDefaultValue = true)]
[Preserve]
public string Password { get; set; }
Property Value
Type | Description |
---|---|
string | The password to the target lobby. If target lobby HasPassword is true, this password must match or the request is denied. |
Player
Gets or Sets Player
Declaration
[DataMember(Name = "player", EmitDefaultValue = false)]
[Preserve]
public Player Player { get; set; }
Property Value
Type | Description |
---|---|
Player |