Class MultiplayAllocation
The multiplay allocation for the server.
Inherited Members
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
| Type | Name | Description |
|---|---|---|
| String | eventId | The event ID for the allocation. |
| Int64 | 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 |
Implements
EventId
The event ID for the allocation.
Declaration
public string EventId { get; }
Property Value
| Type | Description |
|---|---|
| String |
Implements
ServerId
The server ID for the allocation.
Declaration
public long ServerId { get; }
Property Value
| Type | Description |
|---|---|
| Int64 |