docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct NumberOfCurrentPlayers_t

    Payload of the Steamworks NumberOfCurrentPlayers_t callback.

    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(1107)]
    public struct NumberOfCurrentPlayers_t

    Fields

    k_iCallback

    The identifier Steam dispatches this callback under.

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

    m_bSuccess

    1 if the call was successful

    Declaration
    public byte m_bSuccess
    Field Value
    Type Description
    byte

    m_cPlayers

    Number of players currently playing

    Declaration
    public int m_cPlayers
    Field Value
    Type Description
    int
    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)