public override int GetHashCode()
        {
            int hash = 1;

            if (QuestGroupId != 0)
            {
                hash ^= QuestGroupId.GetHashCode();
            }
            if (BoxSearchId != 0)
            {
                hash ^= BoxSearchId.GetHashCode();
            }
            if (TitleTextId != 0)
            {
                hash ^= TitleTextId.GetHashCode();
            }
            if (DescTextId != 0)
            {
                hash ^= DescTextId.GetHashCode();
            }
            if (ImageId.Length != 0)
            {
                hash ^= ImageId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Beispiel #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (QuestGroupId != 0)
            {
                hash ^= QuestGroupId.GetHashCode();
            }
            if (ItemId != 0L)
            {
                hash ^= ItemId.GetHashCode();
            }
            if (Quantity != 0)
            {
                hash ^= Quantity.GetHashCode();
            }
            if (StoryQuestId != 0L)
            {
                hash ^= StoryQuestId.GetHashCode();
            }
            if (TitleTextId != 0)
            {
                hash ^= TitleTextId.GetHashCode();
            }
            if (DescTextId != 0)
            {
                hash ^= DescTextId.GetHashCode();
            }
            if (ImageId.Length != 0)
            {
                hash ^= ImageId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }