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

            if (Item != 0)
            {
                hash ^= Item.GetHashCode();
            }
            if (Stardust != false)
            {
                hash ^= Stardust.GetHashCode();
            }
            if (Pokecoin != false)
            {
                hash ^= Pokecoin.GetHashCode();
            }
            if (PokemonCandy != 0)
            {
                hash ^= PokemonCandy.GetHashCode();
            }
            if (Count != 0)
            {
                hash ^= Count.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Item != 0)
            {
                hash ^= Item.GetHashCode();
            }
            if (Stardust != false)
            {
                hash ^= Stardust.GetHashCode();
            }
            if (Pokecoin != false)
            {
                hash ^= Pokecoin.GetHashCode();
            }
            if (PokemonCandy != 0)
            {
                hash ^= PokemonCandy.GetHashCode();
            }
            if (Count != 0)
            {
                hash ^= Count.GetHashCode();
            }
            if (Experience != false)
            {
                hash ^= Experience.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }