Class RPCAttribute
Creates an RPC that can be called on the client. See RPCAuthorization.md for details.
Inheritance
System.Object
RPCAttribute
Implements
Namespace: Eco.Shared.Networking
Assembly: Eco.Shared.dll
Syntax
public class RPCAttribute : Attribute, IRPCAttribute
Constructors
RPCAttribute()
Declaration
public RPCAttribute()
RPCAttribute(AccessType)
Declaration
public RPCAttribute(AccessType requiredAccess)
Parameters
| Type | Name | Description |
|---|---|---|
| AccessType | requiredAccess |
Properties
RequiredAccess
Declaration
public AccessType RequiredAccess { get; set; }
Property Value
| Type | Description |
|---|---|
| AccessType |
Explicit Interface Implementations
IRPCAttribute.ExtraAuthAttributes
Declaration
List<ExtraRPCAuthAttribute> IRPCAttribute.ExtraAuthAttributes { get; set; }
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.List<ExtraRPCAuthAttribute> |