Struct MethodId
- Namespace
- MarymoorStudios.Core.Rpc
- Assembly
- MarymoorStudios.Core.Rpc.dll
An identifier for a unique method within a remotable type hierarchy.
public readonly struct MethodId
- Inherited Members
Remarks
MethodIds are unique only within the scope of the type hierarchy that allocated them. A root remotable type and its subtypes share a MethodId space, but different type hierarchies may reuse MethodIds.
Constructors
MethodId(uint, uint)
Constructor.
public MethodId(uint depth, uint index)
Parameters
Properties
Depth
The depth of the type declaring this method within its remotable type hierarchy.
public uint Depth { get; }
Property Value
Remarks
The base-most type in a remotable hierarchy has depth 0, its immediate subtypes have depth 1, their subtypes have depth 2, and so on down the type hierarchy.
Index
The index assigned to this method by the declaring type.
public uint Index { get; }
Property Value
Methods
ToString()
public override string ToString()