Skip to main content

AllocationResult

A class in Alta.Api.DataTransferModels, Alta.Api.DataTransferModels.Models.Agones.

Result of asking Agones (the game server hosting system) for a server: whether one was allocated and how to connect.

Constructors​

MemberWhat it is
AllocationResult()Creates an AllocationResult with default values.

Properties​

MemberWhat it is
ConnectionInfo ConnectionInfo { get; set; }Address details for the allocated server.
AgonesAllocationFailureType FailureType { get; set; }Why the allocation failed, when it did.
string GameServerName { get; set; }Agones name of the allocated game server.
bool IsAllocated { get; set; }Whether a server was allocated.

Used in​

Members of other types that take, return or hold a AllocationResult: