Пример #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (ItemId != 0)
            {
                hash ^= ItemId.GetHashCode();
            }
            if (IncubatorType != 0)
            {
                hash ^= IncubatorType.GetHashCode();
            }
            if (UsesRemaining != 0)
            {
                hash ^= UsesRemaining.GetHashCode();
            }
            if (PokemonId != 0UL)
            {
                hash ^= PokemonId.GetHashCode();
            }
            if (StartKmWalked != 0D)
            {
                hash ^= StartKmWalked.GetHashCode();
            }
            if (TargetKmWalked != 0D)
            {
                hash ^= TargetKmWalked.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (IncubatorType != 0)
            {
                hash ^= IncubatorType.GetHashCode();
            }
            if (Uses != 0)
            {
                hash ^= Uses.GetHashCode();
            }
            if (DistanceMultiplier != 0F)
            {
                hash ^= DistanceMultiplier.GetHashCode();
            }
            return(hash);
        }
Пример #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (IncubatorType != 0)
            {
                hash ^= IncubatorType.GetHashCode();
            }
            if (Uses != 0)
            {
                hash ^= Uses.GetHashCode();
            }
            if (DistanceMultiplier != 0F)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DistanceMultiplier);
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (ItemId != 0)
            {
                hash ^= ItemId.GetHashCode();
            }
            if (IncubatorType != 0)
            {
                hash ^= IncubatorType.GetHashCode();
            }
            if (UsesRemaining != 0)
            {
                hash ^= UsesRemaining.GetHashCode();
            }
            if (PokemonId != 0UL)
            {
                hash ^= PokemonId.GetHashCode();
            }
            if (StartKmWalked != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(StartKmWalked);
            }
            if (TargetKmWalked != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TargetKmWalked);
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }