Class ServerAllocation
Provides information about a Game Server Hosting allocation.
Implements
Inherited Members
Namespace: Unity.Services.Multiplayer
Assembly: Unity.Services.Multiplayer.Server.dll
Syntax
[Obsolete("The Multiplay service will cease to operate on March 31st 2026 - For alternative hosting providers, please update to com.unity.services.multiplayer 2.1")]
public class ServerAllocation : IMultiplayAllocation
Remarks
The Multiplay service will cease to operate on March 31st 2026 - For alternative hosting providers, please update to com.unity.services.multiplayer 2.1
Properties
EventId
The ID of the event that created the allocation.
Declaration
public string EventId { get; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
ID
The ID of the allocation.
Declaration
public string ID { get; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
ServerId
The ID of the server that is hosting the allocation of the game server.
Declaration
public long ServerId { get; }
Property Value
| Type | Description |
|---|---|
| long |