docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ResumeReceive

    ResumeReceive(NetworkPipelineContext, int, ref bool)

    Resume or play back a packet we had received earlier out of order. When an out of order packet is received it is stored since we need to first return the packet with the next sequence ID. When that packet finally arrives it is returned but a pipeline resume is requested since we already have the next packet stored and it can be processed immediately after.

    Declaration
    public static InboundRecvBuffer ResumeReceive(NetworkPipelineContext context, int startSequence, ref bool needsResume)
    Parameters
    Type Name Description
    NetworkPipelineContext context

    Pipeline context, we'll use both the shared reliability context and receive context.

    int startSequence

    Ignored.

    bool needsResume

    Ignored.

    Returns
    Type Description
    InboundRecvBuffer
    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)