public override int GetHashCode()
        {
            int hash = 1;

            if (GymId.Length != 0)
            {
                hash ^= GymId.GetHashCode();
            }
            if (PlayerLatDegrees != 0D)
            {
                hash ^= PlayerLatDegrees.GetHashCode();
            }
            if (PlayerLngDegrees != 0D)
            {
                hash ^= PlayerLngDegrees.GetHashCode();
            }
            if (GymLatDegrees != 0D)
            {
                hash ^= GymLatDegrees.GetHashCode();
            }
            if (GymLngDegrees != 0D)
            {
                hash ^= GymLngDegrees.GetHashCode();
            }
            return(hash);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (FortId.Length != 0)
            {
                hash ^= FortId.GetHashCode();
            }
            if (PlayerLatitude != 0D)
            {
                hash ^= PlayerLatitude.GetHashCode();
            }
            if (PlayerLongitude != 0D)
            {
                hash ^= PlayerLongitude.GetHashCode();
            }
            if (GymLatDegrees != 0D)
            {
                hash ^= GymLatDegrees.GetHashCode();
            }
            if (GymLngDegrees != 0D)
            {
                hash ^= GymLngDegrees.GetHashCode();
            }
            return(hash);
        }