public override int GetHashCode()
        {
            int hash = 1;

            if (LevelId != 0)
            {
                hash ^= LevelId.GetHashCode();
            }
            if (Star != 0)
            {
                hash ^= Star.GetHashCode();
            }
            if (BuyCount != 0)
            {
                hash ^= BuyCount.GetHashCode();
            }
            if (Count != 0)
            {
                hash ^= Count.GetHashCode();
            }
            if (MaxScore != 0)
            {
                hash ^= MaxScore.GetHashCode();
            }
            if (ResetTime != 0L)
            {
                hash ^= ResetTime.GetHashCode();
            }
            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            return(hash);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserId != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (BuyCount != 0)
            {
                hash ^= BuyCount.GetHashCode();
            }
            if (EndTime != 0L)
            {
                hash ^= EndTime.GetHashCode();
            }
            if (PrizeTime != 0L)
            {
                hash ^= PrizeTime.GetHashCode();
            }
            return(hash);
        }
示例#3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserId != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (LevelId != 0)
            {
                hash ^= LevelId.GetHashCode();
            }
            if (Star != 0)
            {
                hash ^= Star.GetHashCode();
            }
            if (Count != 0)
            {
                hash ^= Count.GetHashCode();
            }
            if (ResetTime != 0L)
            {
                hash ^= ResetTime.GetHashCode();
            }
            if (MaxFraction != 0)
            {
                hash ^= MaxFraction.GetHashCode();
            }
            if (BuyCount != 0)
            {
                hash ^= BuyCount.GetHashCode();
            }
            if (FirstAwardsState != 0)
            {
                hash ^= FirstAwardsState.GetHashCode();
            }
            return(hash);
        }