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

            if (pokemon_ != null)
            {
                hash ^= Pokemon.GetHashCode();
            }
            if (MapPokemonType.Length != 0)
            {
                hash ^= MapPokemonType.GetHashCode();
            }
            if (ArEnabled != false)
            {
                hash ^= ArEnabled.GetHashCode();
            }
            if (ArPlusEnabled != false)
            {
                hash ^= ArPlusEnabled.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ArEnabled != false)
            {
                hash ^= ArEnabled.GetHashCode();
            }
            if (ArPlusEnabled != false)
            {
                hash ^= ArPlusEnabled.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }