Skip to main content

Class ServerRpcAttribute

Call this from a client to run this function on the server. Make sure to validate input etc. It's not possible to call this from a server.

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

Fields

channel

Declaration
public Channel channel

requireAuthority

Declaration
public bool requireAuthority