Exemple #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (PokemonId != 0UL)
            {
                hash ^= PokemonId.GetHashCode();
            }
            if (Item != 0)
            {
                hash ^= Item.GetHashCode();
            }
            if (PokedexEntryId != 0)
            {
                hash ^= PokedexEntryId.GetHashCode();
            }
            if (PlayerStats != false)
            {
                hash ^= PlayerStats.GetHashCode();
            }
            if (PlayerCurrency != false)
            {
                hash ^= PlayerCurrency.GetHashCode();
            }
            if (PlayerCamera != false)
            {
                hash ^= PlayerCamera.GetHashCode();
            }
            if (InventoryUpgrades != false)
            {
                hash ^= InventoryUpgrades.GetHashCode();
            }
            if (AppliedItems != false)
            {
                hash ^= AppliedItems.GetHashCode();
            }
            if (EggIncubators != false)
            {
                hash ^= EggIncubators.GetHashCode();
            }
            if (PokemonFamilyId != 0)
            {
                hash ^= PokemonFamilyId.GetHashCode();
            }
            if (QuestType != 0)
            {
                hash ^= QuestType.GetHashCode();
            }
            if (AvatarTemplateId.Length != 0)
            {
                hash ^= AvatarTemplateId.GetHashCode();
            }
            if (RaidTickets != false)
            {
                hash ^= RaidTickets.GetHashCode();
            }
            return(hash);
        }