Struct TargetablesComparer
Comparer for sorting lock on hits by score, lower is first
Implements
IComparer<TargetableWithDistance>
Inherited Members
ValueType.Equals(Object)
ValueType.GetHashCode()
ValueType.ToString()
Object.Equals(Object, Object)
Object.GetType()
Object.ReferenceEquals(Object, Object)
Namespace: DOTS_TPC
Assembly: DOTS-TPC.dll
Syntax
public struct TargetablesComparer : IComparer<TargetableWithDistance>
Methods
Compare(TargetableWithDistance, TargetableWithDistance)
Declaration
public int Compare(TargetableWithDistance a, TargetableWithDistance b)
Parameters
| Type | Name | Description |
|---|---|---|
| TargetableWithDistance | a | |
| TargetableWithDistance | b |
Returns
| Type | Description |
|---|---|
| Int32 |
Implements
System.Collections.Generic.IComparer<T>