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

            if (Command.Length != 0)
            {
                hash ^= Command.GetHashCode();
            }
            if (SeqId != 0L)
            {
                hash ^= SeqId.GetHashCode();
            }
            if (RetryCount != 0)
            {
                hash ^= RetryCount.GetHashCode();
            }
            if (PayloadData.Length != 0)
            {
                hash ^= PayloadData.GetHashCode();
            }
            if (userInstance_ != null)
            {
                hash ^= UserInstance.GetHashCode();
            }
            if (ErrorCode != 0)
            {
                hash ^= ErrorCode.GetHashCode();
            }
            if (settingInfo_ != null)
            {
                hash ^= SettingInfo.GetHashCode();
            }
            if (requestBasicInfo_ != null)
            {
                hash ^= RequestBasicInfo.GetHashCode();
            }
            if (SubBiz.Length != 0)
            {
                hash ^= SubBiz.GetHashCode();
            }
            if (frontendInfo_ != null)
            {
                hash ^= FrontendInfo.GetHashCode();
            }
            if (Kpn.Length != 0)
            {
                hash ^= Kpn.GetHashCode();
            }
            if (AnonymouseUser != false)
            {
                hash ^= AnonymouseUser.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (AppId != 0)
            {
                hash ^= AppId.GetHashCode();
            }
            if (Uid != 0L)
            {
                hash ^= Uid.GetHashCode();
            }
            if (InstanceId != 0L)
            {
                hash ^= InstanceId.GetHashCode();
            }
            if (Flags != 0)
            {
                hash ^= Flags.GetHashCode();
            }
            if (EncodingType != global::AcFunDanmu.PacketHeader.Types.EncodingType.KEncodingNone)
            {
                hash ^= EncodingType.GetHashCode();
            }
            if (DecodedPayloadLen != 0)
            {
                hash ^= DecodedPayloadLen.GetHashCode();
            }
            if (EncryptionMode != global::AcFunDanmu.PacketHeader.Types.EncryptionMode.KEncryptionNone)
            {
                hash ^= EncryptionMode.GetHashCode();
            }
            if (tokenInfo_ != null)
            {
                hash ^= TokenInfo.GetHashCode();
            }
            if (SeqId != 0L)
            {
                hash ^= SeqId.GetHashCode();
            }
            hash ^= features_.GetHashCode();
            if (Kpn.Length != 0)
            {
                hash ^= Kpn.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #3
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.eMid)
            {
                hashcode = (hashcode * 397) + EMid.GetHashCode();
            }
            if (__isset.mid)
            {
                hashcode = (hashcode * 397) + Mid.GetHashCode();
            }
            if (__isset.direction)
            {
                hashcode = (hashcode * 397) + Direction.GetHashCode();
            }
            if (__isset.method)
            {
                hashcode = (hashcode * 397) + Method.GetHashCode();
            }
            if (__isset.param)
            {
                hashcode = (hashcode * 397) + Param.GetHashCode();
            }
            if (__isset.timestamp)
            {
                hashcode = (hashcode * 397) + Timestamp.GetHashCode();
            }
            if (__isset.seqId)
            {
                hashcode = (hashcode * 397) + SeqId.GetHashCode();
            }
            if (__isset.displayName)
            {
                hashcode = (hashcode * 397) + DisplayName.GetHashCode();
            }
            if (__isset.picturePath)
            {
                hashcode = (hashcode * 397) + PicturePath.GetHashCode();
            }
            if (__isset.pictureStatus)
            {
                hashcode = (hashcode * 397) + PictureStatus.GetHashCode();
            }
        }
        return(hashcode);
    }
Exemple #4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Command.Length != 0)
            {
                hash ^= Command.GetHashCode();
            }
            if (SeqId != 0L)
            {
                hash ^= SeqId.GetHashCode();
            }
            if (ErrorCode != 0)
            {
                hash ^= ErrorCode.GetHashCode();
            }
            if (PayloadData.Length != 0)
            {
                hash ^= PayloadData.GetHashCode();
            }
            if (ErrorMsg.Length != 0)
            {
                hash ^= ErrorMsg.GetHashCode();
            }
            if (ErrorData.Length != 0)
            {
                hash ^= ErrorData.GetHashCode();
            }
            if (SubBiz.Length != 0)
            {
                hash ^= SubBiz.GetHashCode();
            }
            if (KlinkPushId != 0L)
            {
                hash ^= KlinkPushId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }