Class MultiplayAllocation
The multiplay allocation for the server.
Implements
Inherited Members
Namespace: Unity.Services.Multiplay
Assembly: Unity.Services.Multiplayer.Multiplay.dll
Syntax
public class MultiplayAllocation : IMultiplayAllocationInfo
Constructors
MultiplayAllocation(string, long, string)
Constructs a multiplay allocation.
Declaration
public MultiplayAllocation(string eventId, long serverId, string allocationId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | eventId | The event ID for the allocation. |
| long | serverId | The server ID for the allocation. |
| string | allocationId | The ID for the allocation. |
Properties
AllocationId
The ID for the allocation.
Declaration
public string AllocationId { get; }
Property Value
| Type | Description |
|---|---|
| string |
EventId
The event ID for the allocation.
Declaration
public string EventId { get; }
Property Value
| Type | Description |
|---|---|
| string |
ServerId
The server ID for the allocation.
Declaration
public long ServerId { get; }
Property Value
| Type | Description |
|---|---|
| long |