docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IServerQueryHandler

    The interface for setting the current data supplied to the Multiplay Service via the Server Query Handler.

    Inherited Members
    IDisposable.Dispose()
    Namespace: Unity.Services.Multiplay
    Assembly: solution.dll
    Syntax
    public interface IServerQueryHandler : IDisposable

    Properties

    Name Description
    BuildId

    The version of the game.

    CurrentPlayers

    The number of players currently on the server.

    GameType

    The name or identifier of the game type the server is running.

    Map

    The map or world the server is running for the game.

    MaxPlayers

    The maximum number of players on the server.

    Port

    The game port that game clients connect to.

    ServerName

    The name for the server.

    Methods

    Name Description
    UpdateServerCheck()

    Updates the servercheck values for the server. This is expected to be called in an update loop.

    In This Article
    Back to top
    Copyright © 2023 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)