Class MultiplayMachinesSpec
A machine specification.
Inherited Members
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 Multiplay
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. |