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

            if (Uid != 0UL)
            {
                hash ^= Uid.GetHashCode();
            }
            if (ModelId != 0)
            {
                hash ^= ModelId.GetHashCode();
            }
            if (ModelLv != 0)
            {
                hash ^= ModelLv.GetHashCode();
            }
            if (Cup != 0)
            {
                hash ^= Cup.GetHashCode();
            }
            if (Uname.Length != 0)
            {
                hash ^= Uname.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }