docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ReleaseOrResumePackets

    ReleaseOrResumePackets(NetworkPipelineContext)

    Acknowledge the reception of packets which have been sent. The reliability shared context/state is updated when packets are received from the other end of the connection. The other side will update it's ackmask with which packets have been received (starting from last received sequence ID) each time it sends a packet back. This checks the resend timers on each non-acknowledged packet and notifies if it's time to resend yet.

    Declaration
    [Obsolete("Internal API that shouldn't be used. Will be removed in Unity Transport 2.0.")]
    public static bool ReleaseOrResumePackets(NetworkPipelineContext context)
    Parameters
    Type Name Description
    NetworkPipelineContext context

    Pipeline context, contains the buffer slices this pipeline connection owns.

    Returns
    Type Description
    bool

    If packets needed to be resumed.

    Remarks

    Internal API. Shouldn't be used.

    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)