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

            if (UserId != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            if (MusicId != 0)
            {
                hash ^= MusicId.GetHashCode();
            }
            if (DiffType != 0)
            {
                hash ^= DiffType.GetHashCode();
            }
            if (MaxScore != 0)
            {
                hash ^= MaxScore.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ActivityMissionId != 0)
            {
                hash ^= ActivityMissionId.GetHashCode();
            }
            if (ActivityMissionName.Length != 0)
            {
                hash ^= ActivityMissionName.GetHashCode();
            }
            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            hash ^= award_.GetHashCode();
            if (ActivityMissionDesc.Length != 0)
            {
                hash ^= ActivityMissionDesc.GetHashCode();
            }
            if (JumpTo.Length != 0)
            {
                hash ^= JumpTo.GetHashCode();
            }
            if (extra_ != null)
            {
                hash ^= Extra.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserId != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            if (SignDay != 0)
            {
                hash ^= SignDay.GetHashCode();
            }
            if (RefreshTime != 0L)
            {
                hash ^= RefreshTime.GetHashCode();
            }
            if (StartSignInTime != 0L)
            {
                hash ^= StartSignInTime.GetHashCode();
            }
            return(hash);
        }
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (ActivityId != null)
         {
             hashCode = hashCode * 59 + ActivityId.GetHashCode();
         }
         if (User != null)
         {
             hashCode = hashCode * 59 + User.GetHashCode();
         }
         if (Bot != null)
         {
             hashCode = hashCode * 59 + Bot.GetHashCode();
         }
         if (Conversation != null)
         {
             hashCode = hashCode * 59 + Conversation.GetHashCode();
         }
         if (ChannelId != null)
         {
             hashCode = hashCode * 59 + ChannelId.GetHashCode();
         }
         if (ServiceUrl != null)
         {
             hashCode = hashCode * 59 + ServiceUrl.GetHashCode();
         }
         return(hashCode);
     }
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserId != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (ActivityMissionId != 0)
            {
                hash ^= ActivityMissionId.GetHashCode();
            }
            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (Progress != 0L)
            {
                hash ^= Progress.GetHashCode();
            }
            if (Finish != 0L)
            {
                hash ^= Finish.GetHashCode();
            }
            return(hash);
        }
示例#6
0
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (Id != null)
         {
             hashCode = hashCode * 59 + Id.GetHashCode();
         }
         if (ActivityId != null)
         {
             hashCode = hashCode * 59 + ActivityId.GetHashCode();
         }
         if (Text != null)
         {
             hashCode = hashCode * 59 + Text.GetHashCode();
         }
         if (Athlete != null)
         {
             hashCode = hashCode * 59 + Athlete.GetHashCode();
         }
         if (CreatedAt != null)
         {
             hashCode = hashCode * 59 + CreatedAt.GetHashCode();
         }
         return(hashCode);
     }
 }
示例#7
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = AssigneeId.GetHashCode();
         hashCode = (hashCode * 397) ^ ActivityId.GetHashCode();
         hashCode = (hashCode * 397) ^ LoggedTimeId.GetHashCode();
         return(hashCode);
     }
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            hash ^= activityCapsuleItemPB_.GetHashCode();
            hash ^= consumeItemsPB_.GetHashCode();
            return(hash);
        }
示例#9
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = ProjectGroupId.GetHashCode();
         hashCode = (hashCode * 397) ^ ProjectId.GetHashCode();
         hashCode = (hashCode * 397) ^ SprintId.GetHashCode();
         hashCode = (hashCode * 397) ^ ActivityId.GetHashCode();
         hashCode = (hashCode * 397) ^ AssigneeId.GetHashCode();
         hashCode = (hashCode * 397) ^ LoggedTimeId.GetHashCode();
         return(hashCode);
     }
 }
示例#10
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserId != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            hash ^= plotIds_.GetHashCode();
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            hash ^= dropProgressMap_.GetHashCode();
            hash ^= activeProgress_.GetHashCode();
            if (DrawCount != 0)
            {
                hash ^= DrawCount.GetHashCode();
            }
            return(hash);
        }
示例#12
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (ProjectName != null ? ProjectName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (AssigneeName != null ? AssigneeName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ActivityName != null ? ActivityName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (int)ActivityStatus;
         hashCode = (hashCode * 397) ^ (ActivityType != null ? ActivityType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ EstimatedTime.GetHashCode();
         hashCode = (hashCode * 397) ^ LoggedTime.GetHashCode();
         hashCode = (hashCode * 397) ^ ProjectId.GetHashCode();
         hashCode = (hashCode * 397) ^ ActivityId.GetHashCode();
         hashCode = (hashCode * 397) ^ AssigneeId.GetHashCode();
         return(hashCode);
     }
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserId != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            if (BuyNum != 0)
            {
                hash ^= BuyNum.GetHashCode();
            }
            return(hash);
        }
示例#14
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            if (PlotId.Length != 0)
            {
                hash ^= PlotId.GetHashCode();
            }
            if (OpenTime != 0L)
            {
                hash ^= OpenTime.GetHashCode();
            }
            return(hash);
        }
示例#15
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            if (MusicId != 0)
            {
                hash ^= MusicId.GetHashCode();
            }
            if (MusicName.Length != 0)
            {
                hash ^= MusicName.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserId != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            if (Amount != 0)
            {
                hash ^= Amount.GetHashCode();
            }
            hash ^= receiveStatus_.GetHashCode();
            return(hash);
        }
示例#17
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            if (MallId != 0)
            {
                hash ^= MallId.GetHashCode();
            }
            if (MallItemId != 0)
            {
                hash ^= MallItemId.GetHashCode();
            }
            if (MallName.Length != 0)
            {
                hash ^= MallName.GetHashCode();
            }
            if (MallDesc.Length != 0)
            {
                hash ^= MallDesc.GetHashCode();
            }
            if (GiftImage.Length != 0)
            {
                hash ^= GiftImage.GetHashCode();
            }
            if (LabelImage.Length != 0)
            {
                hash ^= LabelImage.GetHashCode();
            }
            if (Price != 0)
            {
                hash ^= Price.GetHashCode();
            }
            if (BuyMax != 0)
            {
                hash ^= BuyMax.GetHashCode();
            }
            hash ^= awards_.GetHashCode();
            return(hash);
        }
示例#18
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (GearId != 0)
            {
                hash ^= GearId.GetHashCode();
            }
            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            if (GearAmount != 0)
            {
                hash ^= GearAmount.GetHashCode();
            }
            hash ^= awards_.GetHashCode();
            return(hash);
        }
示例#19
0
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (Id != null)
         {
             hashCode = hashCode * 59 + Id.GetHashCode();
         }
         if (ActivityId != null)
         {
             hashCode = hashCode * 59 + ActivityId.GetHashCode();
         }
         if (ElapsedTime != null)
         {
             hashCode = hashCode * 59 + ElapsedTime.GetHashCode();
         }
         if (StartDate != null)
         {
             hashCode = hashCode * 59 + StartDate.GetHashCode();
         }
         if (StartDateLocal != null)
         {
             hashCode = hashCode * 59 + StartDateLocal.GetHashCode();
         }
         if (Distance != null)
         {
             hashCode = hashCode * 59 + Distance.GetHashCode();
         }
         if (IsKom != null)
         {
             hashCode = hashCode * 59 + IsKom.GetHashCode();
         }
         return(hashCode);
     }
 }
示例#20
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            if (Id != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (OptionalActivityType != 0)
            {
                hash ^= OptionalActivityType.GetHashCode();
            }
            if (IsSelect != 0)
            {
                hash ^= IsSelect.GetHashCode();
            }
            hash ^= fixedAward_.GetHashCode();
            hash ^= optionalAward_.GetHashCode();
            return(hash);
        }
示例#21
0
 public override int GetHashCode() => ActivityId.GetHashCode();
示例#22
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            if (LevelId != 0)
            {
                hash ^= LevelId.GetHashCode();
            }
            if (BeforeLevelId != 0)
            {
                hash ^= BeforeLevelId.GetHashCode();
            }
            if (AfterLevelId != 0)
            {
                hash ^= AfterLevelId.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            hash ^= abilities_.GetHashCode();
            hash ^= ItemMax.GetHashCode();
            hash ^= FansMax.GetHashCode();
            if (Max != 0)
            {
                hash ^= Max.GetHashCode();
            }
            hash ^= eventId_.GetHashCode();
            hash ^= StarSource.GetHashCode();
            hash ^= awards_.GetHashCode();
            if (GameType != 0)
            {
                hash ^= GameType.GetHashCode();
            }
            if (LevelInfoId != 0)
            {
                hash ^= LevelInfoId.GetHashCode();
            }
            if (ChapterGroup != 0)
            {
                hash ^= ChapterGroup.GetHashCode();
            }
            if (LevelMark.Length != 0)
            {
                hash ^= LevelMark.GetHashCode();
            }
            hash ^= LevelPlot.GetHashCode();
            hash ^= levelCoordinate_.GetHashCode();
            hash ^= levelBackdrop_.GetHashCode();
            if (levelExtra_ != null)
            {
                hash ^= LevelExtra.GetHashCode();
            }
            if (Count != 0)
            {
                hash ^= Count.GetHashCode();
            }
            return(hash);
        }
示例#23
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            if (UniqueIdentify != 0)
            {
                hash ^= UniqueIdentify.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (BackgroundPicture.Length != 0)
            {
                hash ^= BackgroundPicture.GetHashCode();
            }
            if (Desc.Length != 0)
            {
                hash ^= Desc.GetHashCode();
            }
            if (StartTime != 0L)
            {
                hash ^= StartTime.GetHashCode();
            }
            if (EndTime != 0L)
            {
                hash ^= EndTime.GetHashCode();
            }
            if (ShowEndTime != 0L)
            {
                hash ^= ShowEndTime.GetHashCode();
            }
            if (Sort != 0)
            {
                hash ^= Sort.GetHashCode();
            }
            if (OverdueTime != 0)
            {
                hash ^= OverdueTime.GetHashCode();
            }
            if (EndType != 0)
            {
                hash ^= EndType.GetHashCode();
            }
            if (IsDisplay != 0)
            {
                hash ^= IsDisplay.GetHashCode();
            }
            if (activityExtra_ != null)
            {
                hash ^= ActivityExtra.GetHashCode();
            }
            return(hash);
        }
示例#24
0
 public override int GetHashCode()
 {
     return(ActivityId.GetHashCode());
 }