docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetEventQueueSizeForConnection

    GetEventQueueSizeForConnection(NetworkConnection)

    Returns the size of the EventQueue for a specific connection

    Declaration
    public int GetEventQueueSizeForConnection(NetworkConnection connectionId)
    Parameters
    Type Name Description
    NetworkConnection connectionId

    Connection for which to get the event queue size.

    Returns
    Type Description
    int

    If the connection is valid it returns the size of the event queue otherwise it returns 0.

    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)