PRoConEvents.MULTIbalancer.DescendingRoundSPM C# (CSharp) Method

DescendingRoundSPM() public static method

public static DescendingRoundSPM ( PlayerModel lhs, PlayerModel rhs ) : int
lhs PlayerModel
rhs PlayerModel
return int
        public static int DescendingRoundSPM(PlayerModel lhs, PlayerModel rhs)
        {
            if (lhs == null) {
            return ((rhs == null) ? 0 : -1);
            } else if (rhs == null) {
            return ((lhs == null) ? 0 : 1);
            }
            if (lhs.SPMRound < rhs.SPMRound) return 1;
            if (lhs.SPMRound > rhs.SPMRound) return -1;
            return 0;
        }
MULTIbalancer