docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LobbySessionInfo

    Inheritance
    object
    LobbySessionInfo
    Implements
    ISessionInfo
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Multiplayer
    Assembly: Unity.Services.Multiplayer.dll
    Syntax
    public class LobbySessionInfo : ISessionInfo

    Properties

    AvailableSlots

    Available slots in the session

    Declaration
    public int AvailableSlots { get; set; }
    Property Value
    Type Description
    int

    Created

    The date and time the session was created

    Declaration
    public DateTime Created { get; set; }
    Property Value
    Type Description
    DateTime

    HasPassword

    True if the session has a password, false otherwise

    Declaration
    public bool HasPassword { get; set; }
    Property Value
    Type Description
    bool

    HostId

    The session host ID

    Declaration
    public string HostId { get; set; }
    Property Value
    Type Description
    string

    Id

    The session ID

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    string

    IsLocked

    True if the session is Locked (eg. does not allow more players to join), false otherwise

    Declaration
    public bool IsLocked { get; set; }
    Property Value
    Type Description
    bool

    LastUpdated

    The date and time the session was updated last

    Declaration
    public DateTime LastUpdated { get; set; }
    Property Value
    Type Description
    DateTime

    MaxPlayers

    The maximum number of players allowed to be part of the session

    Declaration
    public int MaxPlayers { get; set; }
    Property Value
    Type Description
    int

    Name

    The session name

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string

    Upid

    The Unity project ID

    Declaration
    public string Upid { get; set; }
    Property Value
    Type Description
    string

    Implements

    ISessionInfo
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)