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 (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (LevelId.Length != 0)
            {
                hash ^= LevelId.GetHashCode();
            }
            if (characteristic_ != null)
            {
                hash ^= Characteristic.GetHashCode();
            }
            if (Difficulty != global::TournamentAssistantShared.Models.BeatmapDifficulty.Easy)
            {
                hash ^= Difficulty.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (LevelType != 0)
            {
                hash ^= LevelType.GetHashCode();
            }
            if (DayId != 0)
            {
                hash ^= DayId.GetHashCode();
            }
            if (LevelId != 0)
            {
                hash ^= LevelId.GetHashCode();
            }
            if (DailylevelName != 0)
            {
                hash ^= DailylevelName.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#4
0
        public override int GetHashCode()
        {
            int result = 1;

            result = (result * 397) ^ Id.GetHashCode();
            result = (result * 397) ^ Level.GetHashCode();
            result = (result * 397) ^ LevelId.GetHashCode();
            result = (result * 397) ^ (LevelName != null ? LevelName.GetHashCode() : 0);
            return(result);
        }
示例#5
0
        public override int GetHashCode()
        {
            int hash = 1;

            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();
            }
            return(hash);
        }
示例#6
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (LevelId != 0)
            {
                hash ^= LevelId.GetHashCode();
            }
            hash ^= awards_.GetHashCode();
            return(hash);
        }
示例#7
0
        public override int GetHashCode()
        {
            int result = 1;

            result = (result * 397) ^ (AcademicQaulification != null ? AcademicQaulification.GetHashCode() : 0);
            result = (result * 397) ^ AssignedDate.GetHashCode();
            result = (result * 397) ^ (DeactivatedDate != null ? DeactivatedDate.GetHashCode() : 0);
            result = (result * 397) ^ Id.GetHashCode();
            result = (result * 397) ^ (IdNumber != null ? IdNumber.GetHashCode() : 0);
            result = (result * 397) ^ (IsActive != null ? IsActive.GetHashCode() : 0);
            result = (result * 397) ^ LevelId.GetHashCode();
            result = (result * 397) ^ (WorkStatus != null ? WorkStatus.GetHashCode() : 0);
            return(result);
        }
示例#8
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (LevelId != 0)
            {
                hash ^= LevelId.GetHashCode();
            }
            if (LevelType != 0)
            {
                hash ^= LevelType.GetHashCode();
            }
            if (LevelName.Length != 0)
            {
                hash ^= LevelName.GetHashCode();
            }
            if (LevelTheme.Length != 0)
            {
                hash ^= LevelTheme.GetHashCode();
            }
            if (LevelPicture != 0)
            {
                hash ^= LevelPicture.GetHashCode();
            }
            if (LevelUnlock != 0)
            {
                hash ^= LevelUnlock.GetHashCode();
            }
            if (Rating1 != 0)
            {
                hash ^= Rating1.GetHashCode();
            }
            hash ^= rating2_.GetHashCode();
            hash ^= rating3_.GetHashCode();
            hash ^= levelPixel_.GetHashCode();
            if (AdPuzzle != 0)
            {
                hash ^= AdPuzzle.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#9
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (LevelId.Length != 0)
            {
                hash ^= LevelId.GetHashCode();
            }
            if (CustomHostUrl.Length != 0)
            {
                hash ^= CustomHostUrl.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#10
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (Position.Length != 0)
            {
                hash ^= Position.GetHashCode();
            }
            if (LevelId.Length != 0)
            {
                hash ^= LevelId.GetHashCode();
            }
            if (Layout.Length != 0)
            {
                hash ^= Layout.GetHashCode();
            }
            return(hash);
        }
示例#11
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (LevelId != 0)
            {
                hash ^= LevelId.GetHashCode();
            }
            if (AltasName.Length != 0)
            {
                hash ^= AltasName.GetHashCode();
            }
            if (AltasName2.Length != 0)
            {
                hash ^= AltasName2.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#12
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (LevelId != 0)
            {
                hash ^= LevelId.GetHashCode();
            }
            if (DepartmentLevel != 0)
            {
                hash ^= DepartmentLevel.GetHashCode();
            }
            if (CardId != 0)
            {
                hash ^= CardId.GetHashCode();
            }
            if (Favorability != 0)
            {
                hash ^= Favorability.GetHashCode();
            }
            return(hash);
        }
示例#13
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);
        }
示例#14
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (LevelId.Length != 0)
            {
                hash ^= LevelId.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            hash ^= characteristics_.GetHashCode();
            if (Loaded != false)
            {
                hash ^= Loaded.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }