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

            if (Account.Length != 0)
            {
                hash ^= Account.GetHashCode();
            }
            if (Pwd.Length != 0)
            {
                hash ^= Pwd.GetHashCode();
            }
            if (Servernumber != 0)
            {
                hash ^= Servernumber.GetHashCode();
            }
            if (Mac.Length != 0)
            {
                hash ^= Mac.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id != 0L)
            {
                hash ^= Id.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Servernumber != 0)
            {
                hash ^= Servernumber.GetHashCode();
            }
            if (Shape != 0)
            {
                hash ^= Shape.GetHashCode();
            }
            if (Lv != 0)
            {
                hash ^= Lv.GetHashCode();
            }
            if (Exp != 0L)
            {
                hash ^= Exp.GetHashCode();
            }
            if (Gold != 0L)
            {
                hash ^= Gold.GetHashCode();
            }
            if (Gem != 0L)
            {
                hash ^= Gem.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }