Class Metric
Inheritance
System.Object
Metric
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AltV.Net.Data
Assembly: AltV.Net.dll
Syntax
public class Metric : IMetric
Constructors
| Improve this Doc View SourceMetric(ICore, IntPtr)
Declaration
public Metric(ICore core, IntPtr metricNativePointer)
Parameters
Type | Name | Description |
---|---|---|
ICore | core | |
System.IntPtr | metricNativePointer |
Properties
| Improve this Doc View SourceCore
Declaration
public ICore Core { get; }
Property Value
Type | Description |
---|---|
ICore |
MetricNativePointer
Declaration
public IntPtr MetricNativePointer { get; }
Property Value
Type | Description |
---|---|
System.IntPtr |
Name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Value
Declaration
public ulong Value { get; set; }
Property Value
Type | Description |
---|---|
System.UInt64 |
Methods
| Improve this Doc View SourceAdd(UInt64)
Declaration
public void Add(ulong value)
Parameters
Type | Name | Description |
---|---|---|
System.UInt64 | value |
Begin()
Declaration
public void Begin()
End()
Declaration
[Obsolete("Deprecated old behavior, remove in future. Use End2")]
public void End()
End2()
Declaration
public void End2()
Inc()
Declaration
public void Inc()