Class Session
Session model
Inherited Members
Namespace: Unity.Services.CommonMultiplayerBackend.Models
Assembly: Unity.Services.Multiplayer.dll
Syntax
[Preserve]
[DataContract(Name = "Session")]
public class Session
Constructors
Session(string, string)
Creates an instance of Session.
Declaration
[Preserve]
public Session(string lobbyId, string region)
Parameters
Type | Name | Description |
---|---|---|
string | lobbyId | lobbyId param |
string | region | region param |
Properties
LobbyId
Parameter lobbyId of Session
Declaration
[Preserve]
[DataMember(Name = "lobbyId", IsRequired = true, EmitDefaultValue = true)]
public string LobbyId { get; }
Property Value
Type | Description |
---|---|
string |
Region
Parameter region of Session
Declaration
[Preserve]
[DataMember(Name = "region", IsRequired = true, EmitDefaultValue = true)]
public string Region { get; }
Property Value
Type | Description |
---|---|
string |