Class AllocationInformation
The details of a test allocation. See https://services.docs.unity.com/multiplay-config/v1/#tag/Allocations/operation/GetTestAllocation for details
Implements
Inherited Members
Namespace: Unity.Services.Multiplay.Authoring.Core.MultiplayApi
Assembly: Unity.Services.Multiplayer.Multiplay.Authoring.Core.dll
Syntax
public record AllocationInformation : IEquatable<AllocationInformation>
Constructors
AllocationInformation(Guid, Guid, Guid, long, long, long, string, string, long)
The details of a test allocation. See https://services.docs.unity.com/multiplay-config/v1/#tag/Allocations/operation/GetTestAllocation for details
Declaration
public AllocationInformation(Guid AllocationId, Guid FleetId, Guid RegionId, long BuildConfigurationId, long ServerId, long MachineId, string Ipv4Address, string Ipv6Address, long GamePort)
Parameters
Type | Name | Description |
---|---|---|
Guid | AllocationId | The ID of the allocation |
Guid | FleetId | The ID of the fleet |
Guid | RegionId | The ID of the region |
long | BuildConfigurationId | The ID of the build configuratoin |
long | ServerId | The ID of the server |
long | MachineId | The ID of the associated machine |
string | Ipv4Address | IPv4 of the allocated server |
string | Ipv6Address | IPv6 of the allocated server |
long | GamePort | The port of the allocated server on the machine |
Properties
AllocationId
The ID of the allocation
Declaration
public Guid AllocationId { get; init; }
Property Value
Type | Description |
---|---|
Guid |
BuildConfigurationId
The ID of the build configuratoin
Declaration
public long BuildConfigurationId { get; init; }
Property Value
Type | Description |
---|---|
long |
FleetId
The ID of the fleet
Declaration
public Guid FleetId { get; init; }
Property Value
Type | Description |
---|---|
Guid |
GamePort
The port of the allocated server on the machine
Declaration
public long GamePort { get; init; }
Property Value
Type | Description |
---|---|
long |
Ipv4Address
IPv4 of the allocated server
Declaration
public string Ipv4Address { get; init; }
Property Value
Type | Description |
---|---|
string |
Ipv6Address
IPv6 of the allocated server
Declaration
public string Ipv6Address { get; init; }
Property Value
Type | Description |
---|---|
string |
MachineId
The ID of the associated machine
Declaration
public long MachineId { get; init; }
Property Value
Type | Description |
---|---|
long |
RegionId
The ID of the region
Declaration
public Guid RegionId { get; init; }
Property Value
Type | Description |
---|---|
Guid |
ServerId
The ID of the server
Declaration
public long ServerId { get; init; }
Property Value
Type | Description |
---|---|
long |