Skip to main content

Unity.Multiplayer.Tools.NetStats.MetricIdTypeLibrary

For internal use. Static class to register MetricId and make them available to all tools.

Inheritance#

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

Inherited Members#

Object.ToString()

Object.Equals(Object)

Object.Equals(Object, Object)

Object.ReferenceEquals(Object, Object)

Object.GetHashCode()

Object.GetType()

Object.MemberwiseClone()

Namespace: System.Dynamic.ExpandoObject#
Assembly: Tools.dll#
Syntax#
public static class MetricIdTypeLibrary
Remarks#

There is no need to manually call this class for custom type as they are automatically registered through CodeGen if they are marked with MetricTypeEnumAttribute.

Methods#

RegisterType\<TEnumType>()#

For internal use. Register an enum type to be used as a MetricId.

Declaration#

public static void RegisterType<TEnumType>()

Type Parameters#

NameDescription
TEnumTypeThe enum type to register.