Search Results for

    Show / Hide Table of Contents

    Class NetworkRpcAttribute

    Indicates that a method is Remote Procedure Call which can be invoked on client and executed on server or invoked on server and executed on clients.

    Inheritance
    System.Object
    NetworkRpcAttribute
    Namespace: FlaxEngine
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public sealed class NetworkRpcAttribute : Attribute

    Constructors

    NetworkRpcAttribute(Boolean, Boolean, NetworkChannelType)

    Initializes a new instance of the NetworkRpcAttribute class.

    Declaration
    public NetworkRpcAttribute(bool server = false, bool client = false, NetworkChannelType channel)
    Parameters
    System.Boolean server

    True if RPC should be executed on server.

    System.Boolean client

    True if RPC should be executed on client.

    NetworkChannelType channel

    Network channel using which RPC should be send.

    Fields

    Channel

    Network channel using which RPC should be send.

    Declaration
    public NetworkChannelType Channel
    Field Value
    NetworkChannelType

    Client

    True if RPC should be executed on client.

    Declaration
    public bool Client
    Field Value
    System.Boolean

    Server

    True if RPC should be executed on server.

    Declaration
    public bool Server
    Field Value
    System.Boolean

    Extension Methods

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