Show / Hide Table of Contents

Class MyEntityCycling.Metric

Inheritance
System.Object
MyEntityCycling.Metric
Namespace: Sandbox.Game.Entities
Assembly: Sandbox.Game.dll
Syntax
public sealed class Metric : ValueType

Constructors

Metric(Single, Int64)

Declaration
public Metric(float value, long entityId)
Parameters
Type Name Description
System.Single value
System.Int64 entityId

Fields

EntityId

Declaration
public long EntityId
Field Value
Type Description
System.Int64

Max

Declaration
public static readonly MyEntityCycling.Metric Max
Field Value
Type Description
MyEntityCycling.Metric

Min

Declaration
public static readonly MyEntityCycling.Metric Min
Field Value
Type Description
MyEntityCycling.Metric

Value

Declaration
public float Value
Field Value
Type Description
System.Single

Methods

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

Operators

Equality(MyEntityCycling.Metric, MyEntityCycling.Metric)

Declaration
public static bool operator ==(MyEntityCycling.Metric a, MyEntityCycling.Metric b)
Parameters
Type Name Description
MyEntityCycling.Metric a
MyEntityCycling.Metric b
Returns
Type Description
System.Boolean

GreaterThan(MyEntityCycling.Metric, MyEntityCycling.Metric)

Declaration
public static bool operator>(MyEntityCycling.Metric a, MyEntityCycling.Metric b)
Parameters
Type Name Description
MyEntityCycling.Metric a
MyEntityCycling.Metric b
Returns
Type Description
System.Boolean

GreaterThanOrEqual(MyEntityCycling.Metric, MyEntityCycling.Metric)

Declaration
public static bool operator >=(MyEntityCycling.Metric a, MyEntityCycling.Metric b)
Parameters
Type Name Description
MyEntityCycling.Metric a
MyEntityCycling.Metric b
Returns
Type Description
System.Boolean

Inequality(MyEntityCycling.Metric, MyEntityCycling.Metric)

Declaration
public static bool operator !=(MyEntityCycling.Metric a, MyEntityCycling.Metric b)
Parameters
Type Name Description
MyEntityCycling.Metric a
MyEntityCycling.Metric b
Returns
Type Description
System.Boolean

LessThan(MyEntityCycling.Metric, MyEntityCycling.Metric)

Declaration
public static bool operator <(MyEntityCycling.Metric a, MyEntityCycling.Metric b)
Parameters
Type Name Description
MyEntityCycling.Metric a
MyEntityCycling.Metric b
Returns
Type Description
System.Boolean

LessThanOrEqual(MyEntityCycling.Metric, MyEntityCycling.Metric)

Declaration
public static bool operator <=(MyEntityCycling.Metric a, MyEntityCycling.Metric b)
Parameters
Type Name Description
MyEntityCycling.Metric a
MyEntityCycling.Metric b
Returns
Type Description
System.Boolean
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾