Show / Hide Table of Contents

Class RPCInfo

RPCInfo contains identifying information for RPC method. The method may be called by name or by Id (usually faster and may be only way to call overloaded RPC methods). This info shared with client.

Inheritance
System.Object
RPCInfo
Implements
IBsonSerialize
IBsonSerializable
IBsonDeserializable
Namespace: Eco.Shared.Networking
Assembly: Eco.Shared.dll
Syntax
[BsonAutoSerialize]
public class RPCInfo : Object, IBsonSerialize, IBsonSerializable, IBsonDeserializable

Constructors

RPCInfo()

Declaration
public RPCInfo()

Fields

Id

Declaration
public int Id
Field Value
Type Description
System.Int32

Key

Declaration
public string Key
Field Value
Type Description
System.String

Methods

FromBson(BSONArray)

Declaration
public void FromBson(BSONArray bson)
Parameters
Type Name Description
BSONArray bson

ToBson()

Declaration
public BSONArray ToBson()
Returns
Type Description
BSONArray

Implements

IBsonSerialize
IBsonSerializable
IBsonDeserializable

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
☀
☾