Пример #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Ret != 0)
            {
                hash ^= Ret.GetHashCode();
            }
            if (userMoney_ != null)
            {
                hash ^= UserMoney.GetHashCode();
            }
            if (userDraw_ != null)
            {
                hash ^= UserDraw.GetHashCode();
            }
            hash ^= awards_.GetHashCode();
            if (userDrawInfo_ != null)
            {
                hash ^= UserDrawInfo.GetHashCode();
            }
            if (userItem_ != null)
            {
                hash ^= UserItem.GetHashCode();
            }
            return(hash);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Ret != 0)
            {
                hash ^= Ret.GetHashCode();
            }
            if (userMoney_ != null)
            {
                hash ^= UserMoney.GetHashCode();
            }
            if (userItem_ != null)
            {
                hash ^= UserItem.GetHashCode();
            }
            return(hash);
        }