Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SortByHighest()

int Terraria.GameContent.UI.CustomCurrencySystem.SortByHighest ( Tuple< int, int > valueA,
Tuple< int, int > valueB )
inlineprotected

Definition at line 231 of file CustomCurrencySystem.cs.

232 {
233 if (valueA.Item2 > valueB.Item2)
234 {
235 return -1;
236 }
237 if (valueA.Item2 == valueB.Item2)
238 {
239 return 0;
240 }
241 return -1;
242 }