Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
XmlIntSortKey.cs
Go to the documentation of this file.
2
3internal sealed class XmlIntSortKey : XmlSortKey
4{
5 private readonly int _intVal;
6
11
12 public override int CompareTo(object obj)
13 {
15 {
16 return CompareToEmpty(obj);
17 }
18 if (_intVal == xmlIntSortKey._intVal)
19 {
21 }
22 if (_intVal >= xmlIntSortKey._intVal)
23 {
24 return 1;
25 }
26 return -1;
27 }
28}
override int CompareTo(object obj)
XmlIntSortKey(int value, XmlCollation collation)
int BreakSortingTie(XmlSortKey that)
Definition XmlSortKey.cs:33