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

            if (WeatherCondition != 0)
            {
                hash ^= WeatherCondition.GetHashCode();
            }
            hash ^= pokemonType_.GetHashCode();
            return(hash);
        }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (WeatherCondition != 0)
            {
                hash ^= WeatherCondition.GetHashCode();
            }
            hash ^= pokemonType_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (BattleStartMs != 0L)
            {
                hash ^= BattleStartMs.GetHashCode();
            }
            if (BattleEndMs != 0L)
            {
                hash ^= BattleEndMs.GetHashCode();
            }
            if (BattleId.Length != 0)
            {
                hash ^= BattleId.GetHashCode();
            }
            if (defender_ != null)
            {
                hash ^= Defender.GetHashCode();
            }
            if (battleLog_ != null)
            {
                hash ^= BattleLog.GetHashCode();
            }
            if (attacker_ != null)
            {
                hash ^= Attacker.GetHashCode();
            }
            if (WeatherCondition != 0)
            {
                hash ^= WeatherCondition.GetHashCode();
            }
            if (HighestFriendshipMilestone != 0)
            {
                hash ^= HighestFriendshipMilestone.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }