docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MultiplayFleetUsageSetting

    A usage setting associated with the fleet.

    Inheritance
    object
    MultiplayFleetUsageSetting
    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.FleetUsageSetting")]
    [Preserve]
    public class MultiplayFleetUsageSetting

    Constructors

    MultiplayFleetUsageSetting(HardwareTypeEnum, string, long, long, long, long)

    Initializes a new instance of the MultiplayFleetUsageSetting class.

    Declaration
    [Preserve]
    public MultiplayFleetUsageSetting(MultiplayFleetUsageSetting.HardwareTypeEnum hardwareType = (MultiplayFleetUsageSetting.HardwareTypeEnum)0, string machineType = null, long maxServersPerCore = 0, long maxServersPerMachine = 0, long memory = 0, long speed = 0)
    Parameters
    Type Name Description
    MultiplayFleetUsageSetting.HardwareTypeEnum hardwareType

    The hardware type of a machine. (required).

    string machineType

    Machine type to be associated with these setting. * For CLOUD setting: In most cases, the only machine type available for your fleet is GCP-N2. * For METAL setting: Please omit this field. All metal machines will be using the same setting, regardless of its type. .

    long maxServersPerCore

    Maximum number of servers to be allocated per physical CPU core. * For CLOUD setting: This field is not available, please omit. * For METAL setting: This is an optional field. .

    long maxServersPerMachine

    Maximum number of servers to be allocated per machine. * For CLOUD setting: This is a required field. * For METAL setting: This is an optional field. .

    long memory

    Maximum RAM to be allocated per server in MB. * For CLOUD setting: This field is not available, please omit. * For METAL setting: This is a required field. Minimum RAM is 100 MB. .

    long speed

    Maximum speed to be allocated per server in MHz. * For CLOUD setting: This field is not available, please omit. * For METAL setting: This is a required field. Minimum speed is 100 MHz. .

    Properties

    HardwareType

    The hardware type of a machine.

    Declaration
    [DataMember(Name = "hardwareType", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public MultiplayFleetUsageSetting.HardwareTypeEnum HardwareType { get; set; }
    Property Value
    Type Description
    MultiplayFleetUsageSetting.HardwareTypeEnum

    The hardware type of a machine.

    MachineType

    Machine type to be associated with these setting. * For CLOUD setting: In most cases, the only machine type available for your fleet is GCP-N2. * For METAL setting: Please omit this field. All metal machines will be using the same setting, regardless of its type.

    Declaration
    [DataMember(Name = "machineType", EmitDefaultValue = false)]
    [Preserve]
    public string MachineType { get; set; }
    Property Value
    Type Description
    string

    Machine type to be associated with these setting. * For CLOUD setting: In most cases, the only machine type available for your fleet is GCP-N2. * For METAL setting: Please omit this field. All metal machines will be using the same setting, regardless of its type.

    MaxServersPerCore

    Maximum number of servers to be allocated per physical CPU core. * For CLOUD setting: This field is not available, please omit. * For METAL setting: This is an optional field.

    Declaration
    [DataMember(Name = "maxServersPerCore", EmitDefaultValue = false)]
    [Preserve]
    public long MaxServersPerCore { get; set; }
    Property Value
    Type Description
    long

    Maximum number of servers to be allocated per physical CPU core. * For CLOUD setting: This field is not available, please omit. * For METAL setting: This is an optional field.

    MaxServersPerMachine

    Maximum number of servers to be allocated per machine. * For CLOUD setting: This is a required field. * For METAL setting: This is an optional field.

    Declaration
    [DataMember(Name = "maxServersPerMachine", EmitDefaultValue = false)]
    [Preserve]
    public long MaxServersPerMachine { get; set; }
    Property Value
    Type Description
    long

    Maximum number of servers to be allocated per machine. * For CLOUD setting: This is a required field. * For METAL setting: This is an optional field.

    Memory

    Maximum RAM to be allocated per server in MB. * For CLOUD setting: This field is not available, please omit. * For METAL setting: This is a required field. Minimum RAM is 100 MB.

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

    Maximum RAM to be allocated per server in MB. * For CLOUD setting: This field is not available, please omit. * For METAL setting: This is a required field. Minimum RAM is 100 MB.

    Speed

    Maximum speed to be allocated per server in MHz. * For CLOUD setting: This field is not available, please omit. * For METAL setting: This is a required field. Minimum speed is 100 MHz.

    Declaration
    [DataMember(Name = "speed", EmitDefaultValue = false)]
    [Preserve]
    public long Speed { get; set; }
    Property Value
    Type Description
    long

    Maximum speed to be allocated per server in MHz. * For CLOUD setting: This field is not available, please omit. * For METAL setting: This is a required field. Minimum speed is 100 MHz.

    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)