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

            if (gymState_ != null)
            {
                hash ^= GymState.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            hash ^= urls_.GetHashCode();
            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            hash ^= secondaryUrl_.GetHashCode();
            if (CheckinImageUrl.Length != 0)
            {
                hash ^= CheckinImageUrl.GetHashCode();
            }
            if (eventInfo_ != null)
            {
                hash ^= EventInfo.GetHashCode();
            }
            return(hash);
        }
예제 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (gymState_ != null)
            {
                hash ^= GymState.GetHashCode();
            }
            hash ^= attackers_.GetHashCode();
            hash ^= playerXpAwarded_.GetHashCode();
            if (NextDefenderPokemonId != 0L)
            {
                hash ^= NextDefenderPokemonId.GetHashCode();
            }
            if (GymPointsDelta != 0)
            {
                hash ^= GymPointsDelta.GetHashCode();
            }
            if (gymStatus_ != null)
            {
                hash ^= GymStatus.GetHashCode();
            }
            hash ^= participation_.GetHashCode();
            hash ^= raidItemRewards_.GetHashCode();
            hash ^= postRaidEncounter_.GetHashCode();
            hash ^= gymBadge_.GetHashCode();
            hash ^= defaultRaidItemRewards_.GetHashCode();
            return(hash);
        }
예제 #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (gymState_ != null)
            {
                hash ^= GymState.GetHashCode();
            }
            hash ^= attackers_.GetHashCode();
            hash ^= playerExperienceAwarded_.GetHashCode();
            if (NextDefenderPokemonId != 0L)
            {
                hash ^= NextDefenderPokemonId.GetHashCode();
            }
            if (GymPointsDelta != 0)
            {
                hash ^= GymPointsDelta.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (gymState_ != null)
            {
                hash ^= GymState.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            hash ^= urls_.GetHashCode();
            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            return(hash);
        }