docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ServerAllocation

    Provides information about a Game Server Hosting allocation.

    Inheritance
    object
    ServerAllocation
    Implements
    IMultiplayAllocation
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    IMultiplayAllocation

    ID

    The ID of the allocation.

    Declaration
    public string ID { get; }
    Property Value
    Type Description
    string
    See Also
    IMultiplayAllocation

    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
    See Also
    IMultiplayAllocation

    Implements

    IMultiplayAllocation

    See Also

    IMultiplayAllocation
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)