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

            if (Id != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (SkillID != 0)
            {
                hash ^= SkillID.GetHashCode();
            }
            if (SkillIcon != 0)
            {
                hash ^= SkillIcon.GetHashCode();
            }
            if (SkillName.Length != 0)
            {
                hash ^= SkillName.GetHashCode();
            }
            if (SkillLevel != 0)
            {
                hash ^= SkillLevel.GetHashCode();
            }
            if (SkillType != 0)
            {
                hash ^= SkillType.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }