Search Results for

    Show / Hide Table of Contents

    Struct NetworkRpcParams

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

    Constructors

    NetworkRpcParams()

    Declaration
    public NetworkRpcParams() = default

    NetworkRpcParams(const NetworkStream* stream)

    Declaration
    public NetworkRpcParams(const NetworkStream* stream)
    Parameters
    NetworkStream stream

    Fields

    SenderId

    The ClientId of the network client that is a data sender. Can be used to detect who send the incoming RPC or replication data. Ignored when sending data.

    Declaration
    public uint32 SenderId = 0
    Field Value
    uint32

    TargetIds

    The list of ClientId of the network clients that should receive RPC. Can be used to send RPC to a specific client(s). Ignored when receiving data.

    Declaration
    public Span<uint32> TargetIds
    Field Value
    Span<uint32>

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