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

            if (WeatherId != 0)
            {
                hash ^= WeatherId.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (VisitingNum != 0)
            {
                hash ^= VisitingNum.GetHashCode();
            }
            if (Best != 0)
            {
                hash ^= Best.GetHashCode();
            }
            if (Better != 0)
            {
                hash ^= Better.GetHashCode();
            }
            if (Same != 0)
            {
                hash ^= Same.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (WeatherId != 0)
            {
                hash ^= WeatherId.GetHashCode();
            }
            if (BlessNum != 0)
            {
                hash ^= BlessNum.GetHashCode();
            }
            hash ^= BlessRandomPro.GetHashCode();
            if (BlessShowPro != 0)
            {
                hash ^= BlessShowPro.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserId != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (Player != 0)
            {
                hash ^= Player.GetHashCode();
            }
            if (WeatherId != 0)
            {
                hash ^= WeatherId.GetHashCode();
            }
            hash ^= BlessNumMap.GetHashCode();
            if (ChallengeCount != 0)
            {
                hash ^= ChallengeCount.GetHashCode();
            }
            return(hash);
        }