int IComparable <BProtoObjectVeterancy> .CompareTo(BProtoObjectVeterancy other) { if (XP != other.XP) { return(XP.CompareTo(other.XP)); } if (Damage != other.Damage) { return(Damage.CompareTo(other.Damage)); } if (Velocity != other.Velocity) { return(Velocity.CompareTo(other.Velocity)); } if (Accuracy != other.Accuracy) { return(Accuracy.CompareTo(other.Accuracy)); } if (WorkRate != other.WorkRate) { return(WorkRate.CompareTo(other.WorkRate)); } if (WeaponRange != other.WeaponRange) { return(WeaponRange.CompareTo(other.WeaponRange)); } if (DamageTaken != other.DamageTaken) { return(DamageTaken.CompareTo(other.DamageTaken)); } return(0); }