コード例 #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);
        }
コード例 #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);
        }
コード例 #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            hash ^= items_.GetHashCode();
            hash ^= avatarItems_.GetHashCode();
            hash ^= eggPokemon_.GetHashCode();
            hash ^= pokemon_.GetHashCode();
            hash ^= pokeCandy_.GetHashCode();
            if (Stardust != 0)
            {
                hash ^= Stardust.GetHashCode();
            }
            if (Pokecoins != 0)
            {
                hash ^= Pokecoins.GetHashCode();
            }
            return(hash);
        }
コード例 #4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (Exp != 0)
            {
                hash ^= Exp.GetHashCode();
            }
            if (item_ != null)
            {
                hash ^= Item.GetHashCode();
            }
            if (Stardust != 0)
            {
                hash ^= Stardust.GetHashCode();
            }
            if (candy_ != null)
            {
                hash ^= Candy.GetHashCode();
            }
            if (AvatarTemplateId.Length != 0)
            {
                hash ^= AvatarTemplateId.GetHashCode();
            }
            if (QuestTemplateId.Length != 0)
            {
                hash ^= QuestTemplateId.GetHashCode();
            }
            if (pokemonEncounter_ != null)
            {
                hash ^= PokemonEncounter.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #5
0
        public override int GetHashCode()
        {
            int hash = 1;

            hash ^= items_.GetHashCode();
            hash ^= avatarItems_.GetHashCode();
            hash ^= eggPokemon_.GetHashCode();
            hash ^= pokemon_.GetHashCode();
            hash ^= pokeCandy_.GetHashCode();
            if (Stardust != 0)
            {
                hash ^= Stardust.GetHashCode();
            }
            if (Pokecoins != 0)
            {
                hash ^= Pokecoins.GetHashCode();
            }
            hash ^= badges_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }