Esempio 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);
        }
Esempio n. 2
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);
        }
Esempio n. 3
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);
                }