Search Results for

    Show / Hide Table of Contents

    Class NetworkClientConnectionData

    The high-level network client connection data. Can be used to accept/deny new connection.

    Inheritance
    System.Object
    NetworkClientConnectionData
    Namespace: FlaxEngine.Networking
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    [Unmanaged]
    public sealed class NetworkClientConnectionData : ValueType

    Fields

    Architecture

    Client platform architecture (can be different that current one when using cross-play).

    Declaration
    public ArchitectureType Architecture
    Field Value
    ArchitectureType

    Client

    The incoming client.

    Declaration
    public NetworkClient Client
    Field Value
    NetworkClient

    PayloadData

    Custom data to send from client to server as part of connection initialization and verification. Can contain game build info, platform data or certificate needed upon joining the game.

    Declaration
    public byte[] PayloadData
    Field Value
    System.Byte[]

    Platform

    Client platform type (can be different that current one when using cross-play).

    Declaration
    public PlatformType Platform
    Field Value
    PlatformType

    Result

    0 if accept new connection, error code otherwise. Send back to the client.

    Declaration
    public int Result
    Field Value
    System.Int32

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat