Show / Hide Table of Contents

Class RPCMethod

RPCMethod contains all meta information about RPC method like name, flags, required arguments, required access etc.

Inheritance
System.Object
RPCMethod
Namespace: Eco.Shared.Networking
Assembly: Eco.Shared.dll
Syntax
public class RPCMethod : Object

Constructors

RPCMethod(MethodInfo)

Declaration
public RPCMethod(MethodInfo mi)
Parameters
Type Name Description
System.Reflection.MethodInfo mi

RPCMethod(PropertyInfo)

Declaration
public RPCMethod(PropertyInfo pi)
Parameters
Type Name Description
System.Reflection.PropertyInfo pi

Properties

CanAutoPrepend

Declaration
public bool CanAutoPrepend { get; }
Property Value
Type Description
System.Boolean

CanAutoPrependClient

Declaration
public bool CanAutoPrependClient { get; }
Property Value
Type Description
System.Boolean

CanAutoPrependConvertedObserver

Declaration
public bool CanAutoPrependConvertedObserver { get; }
Property Value
Type Description
System.Boolean

CanAutoPrependObserver

Declaration
public bool CanAutoPrependObserver { get; }
Property Value
Type Description
System.Boolean

FallbackValue

Declaration
public object FallbackValue { get; }
Property Value
Type Description
System.Object

Flags

Declaration
public RPCMethodFlags Flags { get; }
Property Value
Type Description
RPCMethodFlags

Func

Declaration
public Func<object, object[], object> Func { get; }
Property Value
Type Description
System.Func<System.Object, System.Object[], System.Object>

Id

Declaration
public int Id { get; }
Property Value
Type Description
System.Int32

IsCustomSetter

Declaration
public bool IsCustomSetter { get; }
Property Value
Type Description
System.Boolean

IsExtension

Declaration
public bool IsExtension { get; }
Property Value
Type Description
System.Boolean

MemberInfo

Declaration
public MemberInfo MemberInfo { get; }
Property Value
Type Description
System.Reflection.MemberInfo

MethodInfo

Declaration
public MethodInfo MethodInfo { get; }
Property Value
Type Description
System.Reflection.MethodInfo

MethodKey

Declaration
public string MethodKey { get; }
Property Value
Type Description
System.String

Name

Declaration
public string Name { get; }
Property Value
Type Description
System.String

Parameters

Declaration
public ParameterInfo[] Parameters { get; }
Property Value
Type Description
System.Reflection.ParameterInfo[]

PropertyInfo

Declaration
public PropertyInfo PropertyInfo { get; }
Property Value
Type Description
System.Reflection.PropertyInfo

RelevantAttribute

Declaration
public IRPCAttribute RelevantAttribute { get; }
Property Value
Type Description
IRPCAttribute

Extension Methods

CommandLine.FeedFromCommandLine(Object)
CommandLine.ToCommandLineArgs(Object, Func<Object, Boolean>)
ListUtil.DepthFirstTraversal<T>(T, Func<T, IEnumerable<T>>)
EnumerableExtensions.SingleItemAsEnumerable<T>(T)
EventUtils.RaiseEvent<TEventArgs>(Object, String, TEventArgs)
PredicateUtils.MatchesAll<TEnumerable, T>(T, TEnumerable)
PredicateUtils.MatchesAll<T>(T, Func<T, Boolean>[])
PredicateUtils.MatchesAny<TEnumerable, T>(T, TEnumerable)
ReflectionUtils.PropertyValue<T>(Object, PropertyInfo)
ReflectionUtils.TryGetPropertyValueByName<T>(Object, String, out T)
ReflectionUtils.GetPropertyValueByName<T>(Object, String)
ReflectionUtils.SetPropertyByName(Object, String, Object)
ReflectionUtils.GetStructPropertyByName<T>(Object, String)
ReflectionUtils.GetStringPropertyByName(Object, String)
ReflectionUtils.ZipByProperty<T>(Object, Object, Object, Func<T, T, T>)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾