Search Results for

    Show / Hide Table of Contents

    Struct NetworkEvent

    Network event structure that wraps all data needed to identify and process it.

    Assembly: FlaxEngine.dll
    File: Engine/Networking/NetworkEvent.h
    Syntax
    public struct NetworkEvent

    Fields

    EventType

    The type of the received event.

    Declaration
    public NetworkEventType EventType
    Field Value
    NetworkEventType

    Message

    The message when this event is an "message" event - not valid in any other cases. If this is an message-event, make sure to return the message using RecycleMessage function of the peer after processing it!

    Declaration
    public NetworkMessage Message
    Field Value
    NetworkMessage

    Sender

    The connected of the client that has sent message, connected, disconnected or got a timeout.

    Only valid when event has been received on server-peer.

    Declaration
    public NetworkConnection Sender
    Field Value
    NetworkConnection

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat