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

            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            if (PokedexNumber != 0)
            {
                hash ^= PokedexNumber.GetHashCode();
            }
            if (CombatPoints != 0)
            {
                hash ^= CombatPoints.GetHashCode();
            }
            if (PokemonId != 0UL)
            {
                hash ^= PokemonId.GetHashCode();
            }
            if (pokemonDisplay_ != null)
            {
                hash ^= PokemonDisplay.GetHashCode();
            }
            if (EncounterType != 0)
            {
                hash ^= EncounterType.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }