Class RPCAttribute
Creates an RPC that can be called on the client. See RPCAuthorization.md for details.
Inheritance
System.Object
RPCAttribute
Assembly: Eco.Shared.dll
Syntax
public class RPCAttribute : Attribute
Constructors
RPCAttribute()
Declaration
RPCAttribute(AccessType)
Declaration
public RPCAttribute(AccessType requiredAccess)
Parameters
Properties
RequiredAccess
Declaration
public AccessType RequiredAccess { get; set; }
Property Value
Methods
Initialize(MemberInfo)
Declaration
public void Initialize(MemberInfo member)
Parameters
Type |
Name |
Description |
System.Reflection.MemberInfo |
member |
|
IsAuthorized(Object, IWorldObserver, Object[])
Declaration
public virtual bool IsAuthorized(object target, IWorldObserver observer, object[] args)
Parameters
Type |
Name |
Description |
System.Object |
target |
|
IWorldObserver |
observer |
|
System.Object[] |
args |
|
Returns
Type |
Description |
System.Boolean |
|
Extension Methods