Skip to main content

Class ClientRpcAttribute

The server uses a Remote Procedure Call (RPC) to run this function on specific clients. Note that if you set the target as Connection, you need to pass a specific connection as a parameter of your method

Inheritance
System.Object
System.Attribute
Inherited Members
Show
Syntax
[AttributeUsage(AttributeTargets.Method)]
public class ClientRpcAttribute : Attribute, _Attribute

Fields

channel

Declaration
public Channel channel

target

Declaration
public RpcTarget target

excludeOwner

Declaration
public bool excludeOwner

excludeHost

stops method being called on host/server

Declaration
public bool excludeHost