Interface IRPCAuthChecks
Add to an object and when any RPC is called on it, it will first do the following auth check.
Namespace: Eco.Shared.Networking
Assembly: Eco.Shared.dll
Syntax
public interface IRPCAuthChecks
Methods
IsRPCAuthorized(IWorldObserver, AccessType, Object[])
Declaration
bool IsRPCAuthorized(IWorldObserver observer, AccessType requiredAccess, object[] args)
Parameters
| Type | Name | Description |
|---|---|---|
| IWorldObserver | observer | |
| AccessType | requiredAccess | |
| System.Object[] | args |
Returns
| Type | Description |
|---|---|
| System.Boolean |