Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (gymState_ != null)
            {
                hash ^= GymState.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            hash ^= urls_.GetHashCode();
            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            hash ^= secondaryUrl_.GetHashCode();
            if (CheckinImageUrl.Length != 0)
            {
                hash ^= CheckinImageUrl.GetHashCode();
            }
            if (eventInfo_ != null)
            {
                hash ^= EventInfo.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (gymStatusAndDefenders_ != null)
            {
                hash ^= GymStatusAndDefenders.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Url.Length != 0)
            {
                hash ^= Url.GetHashCode();
            }
            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (SecondaryUrl.Length != 0)
            {
                hash ^= SecondaryUrl.GetHashCode();
            }
            if (awardedGymBadge_ != null)
            {
                hash ^= AwardedGymBadge.GetHashCode();
            }
            if (CheckinImageUrl.Length != 0)
            {
                hash ^= CheckinImageUrl.GetHashCode();
            }
            if (eventInfo_ != null)
            {
                hash ^= EventInfo.GetHashCode();
            }
            if (displayWeather_ != null)
            {
                hash ^= DisplayWeather.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (FortId.Length != 0)
            {
                hash ^= FortId.GetHashCode();
            }
            if (TeamColor != 0)
            {
                hash ^= TeamColor.GetHashCode();
            }
            if (pokemonData_ != null)
            {
                hash ^= PokemonData.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            hash ^= imageUrls_.GetHashCode();
            if (Fp != 0)
            {
                hash ^= Fp.GetHashCode();
            }
            if (Stamina != 0)
            {
                hash ^= Stamina.GetHashCode();
            }
            if (MaxStamina != 0)
            {
                hash ^= MaxStamina.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (Latitude != 0D)
            {
                hash ^= Latitude.GetHashCode();
            }
            if (Longitude != 0D)
            {
                hash ^= Longitude.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            hash ^= modifiers_.GetHashCode();
            if (CloseSoon != false)
            {
                hash ^= CloseSoon.GetHashCode();
            }
            if (CheckinImageUrl.Length != 0)
            {
                hash ^= CheckinImageUrl.GetHashCode();
            }
            if (eventInfo_ != null)
            {
                hash ^= EventInfo.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (FortId.Length != 0)
            {
                hash ^= FortId.GetHashCode();
            }
            if (TeamColor != 0)
            {
                hash ^= TeamColor.GetHashCode();
            }
            if (pokemonData_ != null)
            {
                hash ^= PokemonData.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            hash ^= imageUrls_.GetHashCode();
            if (Fp != 0)
            {
                hash ^= Fp.GetHashCode();
            }
            if (Stamina != 0)
            {
                hash ^= Stamina.GetHashCode();
            }
            if (MaxStamina != 0)
            {
                hash ^= MaxStamina.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (Latitude != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Latitude);
            }
            if (Longitude != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Longitude);
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            hash ^= modifiers_.GetHashCode();
            if (CloseSoon != false)
            {
                hash ^= CloseSoon.GetHashCode();
            }
            if (CheckinImageUrl.Length != 0)
            {
                hash ^= CheckinImageUrl.GetHashCode();
            }
            if (eventInfo_ != null)
            {
                hash ^= EventInfo.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }