docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ServerStatus

    Server counts by server status.

    Inheritance
    object
    ServerStatus
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Apis.Admin.Multiplay
    Assembly: Unity.Services.Apis.dll
    Syntax
    [DataContract(Name = "Server_Status")]
    [Preserve]
    public class ServerStatus

    Constructors

    ServerStatus(int, int, int)

    Initializes a new instance of the ServerStatus class.

    Declaration
    [Preserve]
    public ServerStatus(int allocated = 0, int available = 0, int online = 0)
    Parameters
    Type Name Description
    int allocated

    Count of allocated servers. (required).

    int available

    Count of available servers. (required).

    int online

    Count of online servers. (required).

    Properties

    Allocated

    Count of allocated servers.

    Declaration
    [DataMember(Name = "allocated", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public int Allocated { get; set; }
    Property Value
    Type Description
    int

    Count of allocated servers.

    Available

    Count of available servers.

    Declaration
    [DataMember(Name = "available", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public int Available { get; set; }
    Property Value
    Type Description
    int

    Count of available servers.

    Online

    Count of online servers.

    Declaration
    [DataMember(Name = "online", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public int Online { get; set; }
    Property Value
    Type Description
    int

    Count of online servers.

    In This Article
    Back to top
    Copyright © 2025 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)