docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MultiplayMachinesSpec

    A machine specification.

    Inheritance
    object
    MultiplayMachinesSpec
    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 = "multiplay.machines.spec")]
    [Preserve]
    public class MultiplayMachinesSpec

    Constructors

    MultiplayMachinesSpec(long, string, long, string, long)

    Initializes a new instance of the MultiplayMachinesSpec class.

    Declaration
    [Preserve]
    public MultiplayMachinesSpec(long cpuCores = 0, string cpuShortname = null, long cpuSpeed = 0, string cpuType = null, long memory = 0)
    Parameters
    Type Name Description
    long cpuCores

    CPU number of cores. (required).

    string cpuShortname

    Shortname of the CPU. (required).

    long cpuSpeed

    CPU Speed (MHz) of the machine. (required).

    string cpuType

    Type of the the CPU of the machine. (required).

    long memory

    RAM (MiB) of the machine. (required).

    Properties

    CpuCores

    CPU number of cores.

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

    CPU number of cores.

    CpuShortname

    Shortname of the CPU.

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

    Shortname of the CPU.

    CpuSpeed

    CPU Speed (MHz) of the machine.

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

    CPU Speed (MHz) of the machine.

    CpuType

    Type of the the CPU of the machine.

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

    Type of the the CPU of the machine.

    Memory

    RAM (MiB) of the machine.

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

    RAM (MiB) of the machine.

    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)