| | |
| | | y = end.config.StarLevel;
|
| | | if (x.CompareTo(y) != 0) return x.CompareTo(y);
|
| | |
|
| | | x = start.isBind;
|
| | | y = end.isBind;
|
| | | if (x.CompareTo(y) != 0) return -x.CompareTo(y);
|
| | |
|
| | | x = oneKeyPutlist.IndexOf(start);
|
| | | y = oneKeyPutlist.IndexOf(end);
|
| | | if (x.CompareTo(y) != 0) return x.CompareTo(y);
|
| | |
| | |
|
| | | public int CompareByCondition(ItemModel start, ItemModel end)
|
| | | {
|
| | | int startIsBind = start.isBind;
|
| | | int endIsBind = end.isBind;
|
| | | if (startIsBind.CompareTo(endIsBind) != 0) return startIsBind.CompareTo(endIsBind);
|
| | |
|
| | | int startQuality = start.config.ItemColor;
|
| | | int endQuality = end.config.ItemColor;
|
| | | if (startQuality.CompareTo(endQuality) != 0) return startQuality.CompareTo(endQuality);
|