Example #1
0
        public override int GetHashCode()
        {
            var hash = 1;

            if (Unknown1 != 0)
            {
                hash ^= Unknown1.GetHashCode();
            }
            if (Unknown2 != 0L)
            {
                hash ^= Unknown2.GetHashCode();
            }
            if (ApiUrl.Length != 0)
            {
                hash ^= ApiUrl.GetHashCode();
            }
            if (unknown6_ != null)
            {
                hash ^= Unknown6.GetHashCode();
            }
            if (auth_ != null)
            {
                hash ^= Auth.GetHashCode();
            }
            hash ^= payload_.GetHashCode();
            if (ErrorMessage.Length != 0)
            {
                hash ^= ErrorMessage.GetHashCode();
            }
            return(hash);
        }
Example #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Unknown1 != 0UL)
            {
                hash ^= Unknown1.GetHashCode();
            }
            if (BadgeId != 0)
            {
                hash ^= BadgeId.GetHashCode();
            }
            if (BadgeName.Length != 0)
            {
                hash ^= BadgeName.GetHashCode();
            }
            if (Unknown2 != 0)
            {
                hash ^= Unknown2.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #3
0
                        public override int GetHashCode()
                        {
                            var hash = 1;

                            if (Unknown1.Length != 0)
                            {
                                hash ^= Unknown1.GetHashCode();
                            }
                            return(hash);
                        }
Example #4
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = (Server != null ? Server.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (int)Guid;
         hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Unknown1 != null ? Unknown1.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (int)Sequence;
         return(hashCode);
     }
 }
Example #5
0
 /// <summary>
 /// Returns a hash code for this instance.
 /// </summary>
 /// <returns>
 /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
 /// </returns>
 public override int GetHashCode()
 {
     return(Timestamp.GetHashCode()
            ^ Second.GetHashCode()
            ^ DistanceMiles.GetHashCode()
            ^ WorkoutTime.GetHashCode()
            ^ SpeedMph.GetHashCode()
            ^ RotationsPerMinute.GetHashCode()
            ^ Unknown1.GetHashCode()
            ^ SpeedValue.GetHashCode()
            ^ Unknown2.GetHashCode()
            ^ Unknown3.GetHashCode());
 }
Example #6
0
                public override int GetHashCode()
                {
                    var hash = 1;

                    if (Unknown1 != 0)
                    {
                        hash ^= Unknown1.GetHashCode();
                    }
                    if (unknown2_ != null)
                    {
                        hash ^= Unknown2.GetHashCode();
                    }
                    return(hash);
                }
Example #7
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Category != 0)
            {
                hash ^= Category.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (Bitrate != 0)
            {
                hash ^= Bitrate.GetHashCode();
            }
            if (Fps != 0)
            {
                hash ^= Fps.GetHashCode();
            }
            if (Unknown1 != 0)
            {
                hash ^= Unknown1.GetHashCode();
            }
            if (Unknown2 != 0)
            {
                hash ^= Unknown2.GetHashCode();
            }
            if (Unknown3 != 0)
            {
                hash ^= Unknown3.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #8
0
 public override int GetHashCode()
 {
     return(Unknown1.GetHashCode());
 }