docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method PopEvent

    PopEvent(out NetworkConnection, out DataStreamReader)

    Pops an event

    Declaration
    public NetworkEvent.Type PopEvent(out NetworkConnection con, out DataStreamReader reader)
    Parameters
    Type Name Description
    NetworkConnection con

    Connection on which the event occured.

    DataStreamReader reader

    Stream reader for the event's data.

    Returns
    Type Description
    NetworkEvent.Type

    The event's type

    PopEvent(out NetworkConnection, out DataStreamReader, out NetworkPipeline)

    Pops an event

    Declaration
    public NetworkEvent.Type PopEvent(out NetworkConnection con, out DataStreamReader reader, out NetworkPipeline pipeline)
    Parameters
    Type Name Description
    NetworkConnection con

    Connection on which the event occured.

    DataStreamReader reader

    Stream reader for the event's data.

    NetworkPipeline pipeline

    Pipeline on which the event was received.

    Returns
    Type Description
    NetworkEvent.Type

    The event's type

    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)