PRoConEvents.MULTIbalancer.DescendingRoundSPM C# (CSharp) 메소드

DescendingRoundSPM() 공개 정적인 메소드

public static DescendingRoundSPM ( PlayerModel lhs, PlayerModel rhs ) : int
lhs PlayerModel
rhs PlayerModel
리턴 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