docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MultiplayAllocationsAllocation

    A single allocation, possibly within an allocations list.

    Inheritance
    object
    MultiplayAllocationsAllocation
    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.Multiplay
    Assembly: Unity.Services.Apis.dll
    Syntax
    [DataContract(Name = "multiplay.allocations.Allocation")]
    [Preserve]
    public class MultiplayAllocationsAllocation

    Constructors

    MultiplayAllocationsAllocation(string, long, DateTime, string, DateTime, int, string, string, long, bool, DateTime, string, string, DateTime, long)

    Initializes a new instance of the MultiplayAllocationsAllocation class.

    Declaration
    [Preserve]
    public MultiplayAllocationsAllocation(string allocationId = null, long buildConfigurationId = 0, DateTime created = default, string fleetId = null, DateTime fulfilled = default, int gamePort = 0, string ipv4 = null, string ipv6 = null, long machineId = 0, bool readiness = false, DateTime ready = default, string regionId = null, string requestId = null, DateTime requested = default, long serverId = 0)
    Parameters
    Type Name Description
    string allocationId

    The ID of the allocation. (required).

    long buildConfigurationId

    ID of the build configuration..

    DateTime created

    The time at which the allocation was created..

    string fleetId

    ID of the Fleet..

    DateTime fulfilled

    The time at which the allocation was fulfilled..

    int gamePort

    The port of the allocated server on the machine..

    string ipv4

    IPv4 of the allocated server..

    string ipv6

    IPv6 of the allocated server..

    long machineId

    ID of the machine..

    bool readiness

    An indication of whether readiness is implemented by the server..

    DateTime ready

    The time at which the allocation was confirmed as ready..

    string regionId

    ID of the Region..

    string requestId

    The unique ID of this allocation request..

    DateTime requested

    The time at which the allocation was requested..

    long serverId

    ID of the server..

    Properties

    AllocationId

    The ID of the allocation.

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

    The ID of the allocation.

    BuildConfigurationId

    ID of the build configuration.

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

    ID of the build configuration.

    Created

    The time at which the allocation was created.

    Declaration
    [DataMember(Name = "created", EmitDefaultValue = false)]
    [Preserve]
    public DateTime Created { get; set; }
    Property Value
    Type Description
    DateTime

    The time at which the allocation was created.

    FleetId

    ID of the Fleet.

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

    ID of the Fleet.

    Fulfilled

    The time at which the allocation was fulfilled.

    Declaration
    [DataMember(Name = "fulfilled", EmitDefaultValue = false)]
    [Preserve]
    public DateTime Fulfilled { get; set; }
    Property Value
    Type Description
    DateTime

    The time at which the allocation was fulfilled.

    GamePort

    The port of the allocated server on the machine.

    Declaration
    [DataMember(Name = "gamePort", EmitDefaultValue = false)]
    [Preserve]
    public int GamePort { get; set; }
    Property Value
    Type Description
    int

    The port of the allocated server on the machine.

    Ipv4

    IPv4 of the allocated server.

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

    IPv4 of the allocated server.

    Ipv6

    IPv6 of the allocated server.

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

    IPv6 of the allocated server.

    MachineId

    ID of the machine.

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

    ID of the machine.

    Readiness

    An indication of whether readiness is implemented by the server.

    Declaration
    [DataMember(Name = "readiness", EmitDefaultValue = true)]
    [Preserve]
    public bool Readiness { get; set; }
    Property Value
    Type Description
    bool

    An indication of whether readiness is implemented by the server.

    Ready

    The time at which the allocation was confirmed as ready.

    Declaration
    [DataMember(Name = "ready", EmitDefaultValue = false)]
    [Preserve]
    public DateTime Ready { get; set; }
    Property Value
    Type Description
    DateTime

    The time at which the allocation was confirmed as ready.

    RegionId

    ID of the Region.

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

    ID of the Region.

    RequestId

    The unique ID of this allocation request.

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

    The unique ID of this allocation request.

    Requested

    The time at which the allocation was requested.

    Declaration
    [DataMember(Name = "requested", EmitDefaultValue = false)]
    [Preserve]
    public DateTime Requested { get; set; }
    Property Value
    Type Description
    DateTime

    The time at which the allocation was requested.

    ServerId

    ID of the server.

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

    ID of the server.

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