v1.0.0
Latest
2022.3+

Class MultiplayAllocation

The multiplay allocation for the server.

Inheritance
System.Object
MultiplayAllocation
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unity.Services.Multiplay
Syntax
public class MultiplayAllocation : IMultiplayAllocationInfo

Constructors

MultiplayAllocation(String, Int64, String)

Constructs a multiplay allocation.

Declaration
public MultiplayAllocation(string eventId, long serverId, string allocationId)
Parameters
TypeNameDescription
System.StringeventId

The event ID for the allocation.

System.Int64serverId

The server ID for the allocation.

System.StringallocationId

The ID for the allocation.

Properties

AllocationId

The ID for the allocation.

Declaration
public string AllocationId { get; }
Property Value
TypeDescription
System.String
Implements

EventId

The event ID for the allocation.

Declaration
public string EventId { get; }
Property Value
TypeDescription
System.String
Implements

ServerId

The server ID for the allocation.

Declaration
public long ServerId { get; }
Property Value
TypeDescription
System.Int64
Implements