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

            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (MissPercent != 0D)
            {
                hash ^= MissPercent.GetHashCode();
            }
            if (CapturedPokemonId != 0UL)
            {
                hash ^= CapturedPokemonId.GetHashCode();
            }
            if (captureAward_ != null)
            {
                hash ^= CaptureAward.GetHashCode();
            }
            if (CaptureReason != 0)
            {
                hash ^= CaptureReason.GetHashCode();
            }
            if (DisplayPokedexId != 0)
            {
                hash ^= DisplayPokedexId.GetHashCode();
            }
            if (ThrowsRemaining != 0)
            {
                hash ^= ThrowsRemaining.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (MissPercent != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(MissPercent);
            }
            if (CapturedPokemonId != 0UL)
            {
                hash ^= CapturedPokemonId.GetHashCode();
            }
            if (captureAward_ != null)
            {
                hash ^= CaptureAward.GetHashCode();
            }
            if (CaptureReason != 0)
            {
                hash ^= CaptureReason.GetHashCode();
            }
            if (DisplayPokedexId != 0)
            {
                hash ^= DisplayPokedexId.GetHashCode();
            }
            if (ThrowsRemaining != 0)
            {
                hash ^= ThrowsRemaining.GetHashCode();
            }
            if (pokemonDisplay_ != null)
            {
                hash ^= PokemonDisplay.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (MissPercent != 0D)
            {
                hash ^= MissPercent.GetHashCode();
            }
            if (CapturedPokemonId != 0UL)
            {
                hash ^= CapturedPokemonId.GetHashCode();
            }
            if (captureAward_ != null)
            {
                hash ^= CaptureAward.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 4
0
                public override int GetHashCode()
                {
                    int hash = 1;

                    if (Status != 0)
                    {
                        hash ^= Status.GetHashCode();
                    }
                    if (MissPercent != 0)
                    {
                        hash ^= MissPercent.GetHashCode();
                    }
                    if (CapturedPokemonId != 0)
                    {
                        hash ^= CapturedPokemonId.GetHashCode();
                    }
                    if (Scores != 0)
                    {
                        hash ^= Scores.GetHashCode();
                    }
                    return(hash);
                }