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

            if (AuthorChatId.Length != 0)
            {
                hash ^= AuthorChatId.GetHashCode();
            }
            if (EndType != global::AcFunDanmu.CommonStateSignalAuthorChatEnd.Types.EndType.Unknown)
            {
                hash ^= EndType.GetHashCode();
            }
            if (EndLiveId.Length != 0)
            {
                hash ^= EndLiveId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ActivityId != 0)
            {
                hash ^= ActivityId.GetHashCode();
            }
            if (UniqueIdentify != 0)
            {
                hash ^= UniqueIdentify.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (BackgroundPicture.Length != 0)
            {
                hash ^= BackgroundPicture.GetHashCode();
            }
            if (Desc.Length != 0)
            {
                hash ^= Desc.GetHashCode();
            }
            if (StartTime != 0L)
            {
                hash ^= StartTime.GetHashCode();
            }
            if (EndTime != 0L)
            {
                hash ^= EndTime.GetHashCode();
            }
            if (ShowEndTime != 0L)
            {
                hash ^= ShowEndTime.GetHashCode();
            }
            if (Sort != 0)
            {
                hash ^= Sort.GetHashCode();
            }
            if (OverdueTime != 0)
            {
                hash ^= OverdueTime.GetHashCode();
            }
            if (EndType != 0)
            {
                hash ^= EndType.GetHashCode();
            }
            if (IsDisplay != 0)
            {
                hash ^= IsDisplay.GetHashCode();
            }
            if (activityExtra_ != null)
            {
                hash ^= ActivityExtra.GetHashCode();
            }
            return(hash);
        }