Table of Contents

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

depth uint

The depth of the declaring type. See Depth.

index uint

The method index. See Index.

Properties

Depth

The depth of the type declaring this method within its remotable type hierarchy.

public uint Depth { get; }

Property Value

uint

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

uint

Methods

ToString()

public override string ToString()

Returns

string