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

            if (IconPath.Length != 0)
            {
                hash ^= IconPath.GetHashCode();
            }
            if (Title.Length != 0)
            {
                hash ^= Title.GetHashCode();
            }
            if (Header.Length != 0)
            {
                hash ^= Header.GetHashCode();
            }
            if (headerColor_ != null)
            {
                hash ^= HeaderColor.GetHashCode();
            }
            if (Background.Length != 0)
            {
                hash ^= Background.GetHashCode();
            }
            if (backgroundColor_ != null)
            {
                hash ^= BackgroundColor.GetHashCode();
            }
            hash ^= storeSubcategories_.GetHashCode();
            if (HeaderPrefab.Length != 0)
            {
                hash ^= HeaderPrefab.GetHashCode();
            }
            if (itemColor_ != null)
            {
                hash ^= ItemColor.GetHashCode();
            }
            if (Enabled != false)
            {
                hash ^= Enabled.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }