Exemple #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (PokemonScaleMode != 0)
            {
                hash ^= PokemonScaleMode.GetHashCode();
            }
            if (MinHeight != 0F)
            {
                hash ^= MinHeight.GetHashCode();
            }
            if (MaxHeight != 0F)
            {
                hash ^= MaxHeight.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (PokemonScaleMode != 0)
            {
                hash ^= PokemonScaleMode.GetHashCode();
            }
            if (MinHeight != 0F)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MinHeight);
            }
            if (MaxHeight != 0F)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MaxHeight);
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }