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

            if (UserId != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (MissionId != 0)
            {
                hash ^= MissionId.GetHashCode();
            }
            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (Progress != 0L)
            {
                hash ^= Progress.GetHashCode();
            }
            if (Finish != 0L)
            {
                hash ^= Finish.GetHashCode();
            }
            return(hash);
        }
Esempio n. 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (MissionId != 0)
            {
                hash ^= MissionId.GetHashCode();
            }
            if (MissionGroupId != 0)
            {
                hash ^= MissionGroupId.GetHashCode();
            }
            if (U3 != 0)
            {
                hash ^= U3.GetHashCode();
            }
            hash ^= parameters_.GetHashCode();
            hash ^= objectives_.GetHashCode();
            if (ScheduleId.Length != 0)
            {
                hash ^= ScheduleId.GetHashCode();
            }
            if (U7 != 0)
            {
                hash ^= U7.GetHashCode();
            }
            if (U8 != 0)
            {
                hash ^= U8.GetHashCode();
            }
            if (U9 != 0)
            {
                hash ^= U9.GetHashCode();
            }
            hash ^= itemSetIds_.GetHashCode();
            if (Number != 0)
            {
                hash ^= Number.GetHashCode();
            }
            if (RequirementId != 0)
            {
                hash ^= RequirementId.GetHashCode();
            }
            if (U13.Length != 0)
            {
                hash ^= U13.GetHashCode();
            }
            if (U14.Length != 0)
            {
                hash ^= U14.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ (CoopStats?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (FlexibleStats?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ MissionId.GetHashCode();
         hashCode = (hashCode * 397) ^ (SoloStats?.GetHashCode() ?? 0);
         return(hashCode);
     }
 }
Esempio n. 4
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = ContentId.GetHashCode();
         hashCode = (hashCode * 397) ^ (Description?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ Id;
         hashCode = (hashCode * 397) ^ (ImageUrl?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ MissionId.GetHashCode();
         hashCode = (hashCode * 397) ^ (Name?.GetHashCode() ?? 0);
         return(hashCode);
     }
 }
Esempio n. 5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (MissionId != 0)
            {
                hash ^= MissionId.GetHashCode();
            }
            if (MissionName.Length != 0)
            {
                hash ^= MissionName.GetHashCode();
            }
            if (MissionType != 0)
            {
                hash ^= MissionType.GetHashCode();
            }
            hash ^= award_.GetHashCode();
            if (MissionDesc.Length != 0)
            {
                hash ^= MissionDesc.GetHashCode();
            }
            if (JumpTo.Length != 0)
            {
                hash ^= JumpTo.GetHashCode();
            }
            if (Weight != 0)
            {
                hash ^= Weight.GetHashCode();
            }
            if (Player != 0)
            {
                hash ^= Player.GetHashCode();
            }
            if (PopUps != 0)
            {
                hash ^= PopUps.GetHashCode();
            }
            if (extra_ != null)
            {
                hash ^= Extra.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (MissionId != 0)
            {
                hash ^= MissionId.GetHashCode();
            }
            if (ItemRandom != 0)
            {
                hash ^= ItemRandom.GetHashCode();
            }
            hash ^= award_.GetHashCode();
            if (MissionDesc.Length != 0)
            {
                hash ^= MissionDesc.GetHashCode();
            }
            return(hash);
        }