v1.0.0
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 : IMultiplayAllocationInfoConstructors
MultiplayAllocation(String, Int64, String)
Constructs a multiplay allocation.
Declaration
public MultiplayAllocation(string eventId, long serverId, string allocationId)Parameters
| Type | Name | Description |
|---|---|---|
| System.String | eventId | The event ID for the allocation. |
| System.Int64 | serverId | The server ID for the allocation. |
| System.String | allocationId | The ID for the allocation. |
Properties
AllocationId
The ID for the allocation.
Declaration
public string AllocationId { get; }Property Value
| Type | Description |
|---|---|
| System.String |
Implements
EventId
The event ID for the allocation.
Declaration
public string EventId { get; }Property Value
| Type | Description |
|---|---|
| System.String |
Implements
ServerId
The server ID for the allocation.
Declaration
public long ServerId { get; }Property Value
| Type | Description |
|---|---|
| System.Int64 |