Exemple #1
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _groupCardResponseFieldNames;
            if (this.hasBaseResponse)
            {
                output.WriteMessage(1, strArray[0], this.BaseResponse);
            }
            if (this.hasGroupUserName)
            {
                output.WriteString(2, strArray[1], this.GroupUserName);
            }
        }
Exemple #2
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _functionSwitchFieldNames;
            if (this.hasFunctionId)
            {
                output.WriteUInt32(1, strArray[0], this.FunctionId);
            }
            if (this.hasSwitchValue)
            {
                output.WriteUInt32(2, strArray[1], this.SwitchValue);
            }
        }
Exemple #3
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _bindOpMobileRequestFieldNames;
            if (this.hasBaseRequest)
            {
                output.WriteMessage(1, strArray[1], this.BaseRequest);
            }
            if (this.hasUserName)
            {
                output.WriteString(2, strArray[9], this.UserName);
            }
            if (this.hasMobile)
            {
                output.WriteString(3, strArray[5], this.Mobile);
            }
            if (this.hasOpcode)
            {
                output.WriteInt32(4, strArray[6], this.Opcode);
            }
            if (this.hasVerifycode)
            {
                output.WriteString(5, strArray[10], this.Verifycode);
            }
            if (this.hasDialFlag)
            {
                output.WriteInt32(6, strArray[2], this.DialFlag);
            }
            if (this.hasDialLang)
            {
                output.WriteString(7, strArray[3], this.DialLang);
            }
            if (this.hasAuthTicket)
            {
                output.WriteString(8, strArray[0], this.AuthTicket);
            }
            if (this.hasForceReg)
            {
                output.WriteUInt32(9, strArray[4], this.ForceReg);
            }
            if (this.hasSafeDeviceName)
            {
                output.WriteString(10, strArray[7], this.SafeDeviceName);
            }
            if (this.hasSafeDeviceType)
            {
                output.WriteString(11, strArray[8], this.SafeDeviceType);
            }
        }
        public override void WriteTo(ICodedOutputStream output)
        {
            int arg_06_0 = this.SerializedSize;

            string[] showMessageFromWXReqFieldNames = ShowMessageFromWXReq._showMessageFromWXReqFieldNames;
            if (this.hasBase)
            {
                output.WriteMessage(1, showMessageFromWXReqFieldNames[0], this.Base);
            }
            if (this.hasMsg)
            {
                output.WriteMessage(2, showMessageFromWXReqFieldNames[1], this.Msg);
            }
        }
Exemple #5
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _pSMStatFieldNames;
            if (this.hasMType)
            {
                output.WriteUInt32(1, strArray[1], this.MType);
            }
            if (this.hasAType)
            {
                output.WriteString(2, strArray[0], this.AType);
            }
        }
Exemple #6
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _syncKeyFieldNames;
            if (this.hasKeyNum)
            {
                output.WriteUInt32(1, strArray[1], this.KeyNum);
            }
            if (this.key_.Count > 0)
            {
                output.WriteMessageArray <KeyVal>(2, strArray[0], this.key_);
            }
        }
Exemple #7
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _wXImageMessagePFieldNames;
            if (this.hasImageData)
            {
                output.WriteBytes(1, strArray[0], this.ImageData);
            }
            if (this.hasImageUrl)
            {
                output.WriteString(3, strArray[1], this.ImageUrl);
            }
        }
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _networkControlFieldNames;
            if (this.hasPortList)
            {
                output.WriteString(1, strArray[0], this.PortList);
            }
            if (this.hasTimeoutList)
            {
                output.WriteString(2, strArray[1], this.TimeoutList);
            }
        }
Exemple #9
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _pluginKeyFieldNames;
            if (this.hasKey)
            {
                output.WriteString(1, strArray[1], this.Key);
            }
            if (this.hasId)
            {
                output.WriteUInt32(2, strArray[0], this.Id);
            }
        }
Exemple #10
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _wXMusicMessagePFieldNames;
            if (this.hasMusicUrl)
            {
                output.WriteString(1, strArray[1], this.MusicUrl);
            }
            if (this.hasMusicLowBandUrl)
            {
                output.WriteString(2, strArray[0], this.MusicLowBandUrl);
            }
        }
Exemple #11
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _cmdItemFieldNames;
            if (this.hasCmdId)
            {
                output.WriteInt32(1, strArray[1], this.CmdId);
            }
            if (this.hasCmdBuf)
            {
                output.WriteMessage(2, strArray[0], this.CmdBuf);
            }
        }
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _sendMsgRequestNewFieldNames;
            if (this.hasCount)
            {
                output.WriteUInt32(1, strArray[0], this.Count);
            }
            if (this.list_.Count > 0)
            {
                output.WriteMessageArray <MicroMsgRequestNew>(2, strArray[1], this.list_);
            }
        }
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _showMessageFromWXReqFieldNames;
            if (this.hasBase)
            {
                output.WriteMessage(1, strArray[0], this.Base);
            }
            if (this.hasMsg)
            {
                output.WriteMessage(2, strArray[1], this.Msg);
            }
        }
Exemple #14
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _styleKeyValFieldNames;
            if (this.hasKey)
            {
                output.WriteUInt32(1, strArray[0], this.Key);
            }
            if (this.hasVal)
            {
                output.WriteString(2, strArray[1], this.Val);
            }
        }
        public override void WriteTo(ICodedOutputStream output)
        {
            int arg_06_0 = this.SerializedSize;

            string[] wXFileMessagePFieldNames = WXFileMessageP._wXFileMessagePFieldNames;
            if (this.hasFileData)
            {
                output.WriteBytes(1, wXFileMessagePFieldNames[0], this.FileData);
            }
            if (this.hasFileName)
            {
                output.WriteString(2, wXFileMessagePFieldNames[1], this.FileName);
            }
        }
Exemple #16
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _sendPayRespPFieldNames;
            if (this.hasBase)
            {
                output.WriteMessage(1, strArray[0], this.Base);
            }
            if (this.hasReturnKey)
            {
                output.WriteString(2, strArray[1], this.ReturnKey);
            }
        }
Exemple #17
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _pluginKeyListFieldNames;
            if (this.hasCount)
            {
                output.WriteUInt32(1, strArray[0], this.Count);
            }
            if (this.list_.Count > 0)
            {
                output.WriteMessageArray <PluginKey>(2, strArray[1], this.list_);
            }
        }
Exemple #18
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _delUserDomainEmailFieldNames;
            if (this.hasUserName)
            {
                output.WriteMessage(1, strArray[1], this.UserName);
            }
            if (this.hasEmail)
            {
                output.WriteMessage(2, strArray[0], this.Email);
            }
        }
Exemple #19
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int arg_06_0 = this.SerializedSize;

            string[] wXMusicMessagePFieldNames = WXMusicMessageP._wXMusicMessagePFieldNames;
            if (this.hasMusicUrl)
            {
                output.WriteString(1, wXMusicMessagePFieldNames[1], this.MusicUrl);
            }
            if (this.hasMusicLowBandUrl)
            {
                output.WriteString(2, wXMusicMessagePFieldNames[0], this.MusicLowBandUrl);
            }
        }
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _uploadVoiceResponseFieldNames;
            if (this.hasFromUserName)
            {
                output.WriteString(1, strArray[5], this.FromUserName);
            }
            if (this.hasToUserName)
            {
                output.WriteString(2, strArray[9], this.ToUserName);
            }
            if (this.hasOffset)
            {
                output.WriteUInt32(3, strArray[8], this.Offset);
            }
            if (this.hasLength)
            {
                output.WriteUInt32(4, strArray[6], this.Length);
            }
            if (this.hasCreateTime)
            {
                output.WriteUInt32(5, strArray[3], this.CreateTime);
            }
            if (this.hasClientMsgId)
            {
                output.WriteString(6, strArray[2], this.ClientMsgId);
            }
            if (this.hasMsgId)
            {
                output.WriteUInt32(7, strArray[7], this.MsgId);
            }
            if (this.hasVoiceLength)
            {
                output.WriteUInt32(8, strArray[10], this.VoiceLength);
            }
            if (this.hasEndFlag)
            {
                output.WriteUInt32(9, strArray[4], this.EndFlag);
            }
            if (this.hasBaseResponse)
            {
                output.WriteMessage(10, strArray[0], this.BaseResponse);
            }
            if (this.hasCancelFlag)
            {
                output.WriteUInt32(11, strArray[1], this.CancelFlag);
            }
        }
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _addSafeDeviceResponseFieldNames;
            if (this.hasBaseResponse)
            {
                output.WriteMessage(1, strArray[0], this.BaseResponse);
            }
            if (this.hasSafeDeviceList)
            {
                output.WriteMessage(2, strArray[1], this.SafeDeviceList);
            }
        }
Exemple #22
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _twitterInfoFieldNames;
            if (this.hasOauthToken)
            {
                output.WriteString(1, strArray[0], this.OauthToken);
            }
            if (this.hasOauthTokenSecret)
            {
                output.WriteString(2, strArray[1], this.OauthTokenSecret);
            }
        }
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _modChatRoomNotifyFieldNames;
            if (this.hasChatRoomName)
            {
                output.WriteMessage(1, strArray[0], this.ChatRoomName);
            }
            if (this.hasStatus)
            {
                output.WriteUInt32(2, strArray[1], this.Status);
            }
        }
Exemple #24
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _getA8KeyReqFieldNames;
            if (this.hasBaseRequest)
            {
                output.WriteMessage(1, strArray[2], this.BaseRequest);
            }
            if (this.hasOpCode)
            {
                output.WriteUInt32(2, strArray[5], this.OpCode);
            }
            if (this.hasA2Key)
            {
                output.WriteMessage(3, strArray[0], this.A2Key);
            }
            if (this.hasAppID)
            {
                output.WriteMessage(4, strArray[1], this.AppID);
            }
            if (this.hasScope)
            {
                output.WriteMessage(5, strArray[8], this.Scope);
            }
            if (this.hasState)
            {
                output.WriteMessage(6, strArray[9], this.State);
            }
            if (this.hasReqUrl)
            {
                output.WriteMessage(7, strArray[6], this.ReqUrl);
            }
            if (this.hasFriendUserName)
            {
                output.WriteString(8, strArray[4], this.FriendUserName);
            }
            if (this.hasFriendQQ)
            {
                output.WriteUInt32(9, strArray[3], this.FriendQQ);
            }
            if (this.hasScene)
            {
                output.WriteUInt32(10, strArray[7], this.Scene);
            }
            if (this.hasUserName)
            {
                output.WriteString(11, strArray[10], this.UserName);
            }
        }
Exemple #25
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _delContactMsgFieldNames;
            if (this.hasUserName)
            {
                output.WriteMessage(1, strArray[1], this.UserName);
            }
            if (this.hasMaxMsgId)
            {
                output.WriteInt32(2, strArray[0], this.MaxMsgId);
            }
        }
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _modBottleContactFieldNames;
            if (this.hasUserName)
            {
                output.WriteString(1, strArray[10], this.UserName);
            }
            if (this.hasType)
            {
                output.WriteUInt32(2, strArray[9], this.Type);
            }
            if (this.hasSex)
            {
                output.WriteUInt32(3, strArray[6], this.Sex);
            }
            if (this.hasCity)
            {
                output.WriteString(4, strArray[1], this.City);
            }
            if (this.hasProvince)
            {
                output.WriteString(5, strArray[5], this.Province);
            }
            if (this.hasSignature)
            {
                output.WriteString(6, strArray[7], this.Signature);
            }
            if (this.hasImgFlag)
            {
                output.WriteUInt32(7, strArray[4], this.ImgFlag);
            }
            if (this.hasHDImgFlag)
            {
                output.WriteUInt32(8, strArray[3], this.HDImgFlag);
            }
            if (this.hasCountry)
            {
                output.WriteString(9, strArray[2], this.Country);
            }
            if (this.hasBigHeadImgUrl)
            {
                output.WriteString(10, strArray[0], this.BigHeadImgUrl);
            }
            if (this.hasSmallHeadImgUrl)
            {
                output.WriteString(11, strArray[8], this.SmallHeadImgUrl);
            }
        }
Exemple #27
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _searchContactRequestFieldNames;
            if (this.hasBaseRequest)
            {
                output.WriteMessage(1, strArray[0], this.BaseRequest);
            }
            if (this.hasUserName)
            {
                output.WriteMessage(2, strArray[1], this.UserName);
            }
        }
Exemple #28
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _modBrandSettingFieldNames;
            if (this.hasBrandFlag)
            {
                output.WriteUInt32(1, strArray[0], this.BrandFlag);
            }
            if (this.hasUserName)
            {
                output.WriteString(2, strArray[1], this.UserName);
            }
        }
Exemple #29
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _deleteBottleFieldNames;
            if (this.hasBottleId)
            {
                output.WriteString(1, strArray[0], this.BottleId);
            }
            if (this.hasThrowBackType)
            {
                output.WriteInt32(2, strArray[1], this.ThrowBackType);
            }
        }
Exemple #30
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _quitChatRoomFieldNames;
            if (this.hasChatRoomName)
            {
                output.WriteMessage(1, strArray[0], this.ChatRoomName);
            }
            if (this.hasUserName)
            {
                output.WriteMessage(2, strArray[1], this.UserName);
            }
        }
 /// <summary>
 /// Serializes the set and writes it to <paramref name="output"/> using
 /// the MessageSet wire format.
 /// </summary>
 public void WriteAsMessageSetTo(ICodedOutputStream output)
 {
     foreach (KeyValuePair<int, UnknownField> entry in fields)
     {
         entry.Value.WriteAsMessageSetExtensionTo(entry.Key, output);
     }
 }
 /// <summary>
 /// Serializes the set and writes it to <paramref name="output"/>.
 /// </summary>
 public void WriteTo(ICodedOutputStream output)
 {
     foreach (KeyValuePair<int, UnknownField> entry in fields)
     {
         entry.Value.WriteTo(entry.Key, output);
     }
 }
Exemple #33
0
 /// <summary>
 /// Serializes the set and writes it to <paramref name="output"/> using
 /// the MessageSet wire format.
 /// </summary>
 public void WriteAsMessageSetTo(ICodedOutputStream output)
 {
     // Avoid creating enumerator for the most common code path.
     if (fields.Count > 0)
     {
         foreach (KeyValuePair<int, UnknownField> entry in fields)
         {
             entry.Value.WriteAsMessageSetExtensionTo(entry.Key, output);
         }
     }
 }