docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct LobbyKicked_t

    Purpose: posted if a user is forcefully removed from a lobby can occur if a user loses connection to Steam

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Steamworks.Interop
    Assembly: Unity.Steamworks.Interop.dll
    Syntax
    [Serializable]
    [CallbackIdentity(512)]
    public struct LobbyKicked_t

    Fields

    k_iCallback

    The identifier Steam dispatches this callback under.

    Declaration
    public const int k_iCallback = 512
    Field Value
    Type Description
    int

    m_bKickedDueToDisconnect

    true if you were kicked from the lobby due to the user losing connection to Steam (currently always true)

    Declaration
    public byte m_bKickedDueToDisconnect
    Field Value
    Type Description
    byte

    m_ulSteamIDAdmin

    User who kicked you - possibly the ID of the lobby itself

    Declaration
    public ulong m_ulSteamIDAdmin
    Field Value
    Type Description
    ulong

    m_ulSteamIDLobby

    Lobby

    Declaration
    public ulong m_ulSteamIDLobby
    Field Value
    Type Description
    ulong
    In This Article
    Back to top
    Copyright © 2026 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)