DuplicateKeyComparer<TKey>
A internal class in Root.Township, Alta.Profiling.Networking. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Internal comparer that never reports two keys as equal, so a sorted list can hold duplicate keys. EntityStatistics uses it to sort by float values.
- Listed in Networking and servers
- Inherits or implements
IComparer<TKey>
Constructors
| Member | What it is |
|---|---|
DuplicateKeyComparer() | Creates a DuplicateKeyComparer with default values. |
Methods
| Member | What it is |
|---|---|
int Compare(TKey x, TKey y) | Compares normally, but returns 1 instead of 0 for equal keys. |
Used in
Members of other types that take, return or hold a DuplicateKeyComparer<TKey>: