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

            string[] strArray = _baseRequestFieldNames;
            if (this.hasSessionKey)
            {
                output.WriteBytes(1, strArray[4], this.SessionKey);
            }
            if (this.hasUin)
            {
                output.WriteUInt32(2, strArray[5], this.Uin);
            }
            if (this.hasDeviceID)
            {
                output.WriteBytes(3, strArray[1], this.DeviceID);
            }
            if (this.hasClientVersion)
            {
                output.WriteInt32(4, strArray[0], this.ClientVersion);
            }
            if (this.hasDeviceType)
            {
                output.WriteBytes(5, strArray[2], this.DeviceType);
            }
            if (this.hasScene)
            {
                output.WriteUInt32(6, strArray[3], this.Scene);
            }
        }
Exemple #2
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _modUserImgFieldNames;
            if (this.hasImgType)
            {
                output.WriteUInt32(1, strArray[4], this.ImgType);
            }
            if (this.hasImgLen)
            {
                output.WriteUInt32(2, strArray[2], this.ImgLen);
            }
            if (this.hasImgBuf)
            {
                output.WriteBytes(3, strArray[1], this.ImgBuf);
            }
            if (this.hasImgMd5)
            {
                output.WriteString(4, strArray[3], this.ImgMd5);
            }
            if (this.hasBigHeadImgUrl)
            {
                output.WriteString(5, strArray[0], this.BigHeadImgUrl);
            }
            if (this.hasSmallHeadImgUrl)
            {
                output.WriteString(6, strArray[5], this.SmallHeadImgUrl);
            }
        }
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _newSyncRequestFieldNames;
            if (this.hasOplog)
            {
                output.WriteMessage(1, strArray[2], this.Oplog);
            }
            if (this.hasSelector)
            {
                output.WriteUInt32(2, strArray[4], this.Selector);
            }
            if (this.hasKeyBuf)
            {
                output.WriteMessage(3, strArray[1], this.KeyBuf);
            }
            if (this.hasScene)
            {
                output.WriteUInt32(4, strArray[3], this.Scene);
            }
            if (this.hasDeviceType)
            {
                //output.WriteString(5, strArray[0], this.DeviceType);
                output.WriteBytes(5, strArray[0], this.DeviceType);
            }
        }
Exemple #4
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _wXEmojiMessagePFieldNames;
            if (this.hasEmojiData)
            {
                output.WriteBytes(1, strArray[0], this.EmojiData);
            }
        }
Exemple #5
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int arg_06_0 = this.SerializedSize;

            string[] wXEmojiMessagePFieldNames = WXEmojiMessageP._wXEmojiMessagePFieldNames;
            if (this.hasEmojiData)
            {
                output.WriteBytes(1, wXEmojiMessagePFieldNames[0], this.EmojiData);
            }
        }
Exemple #6
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _wXMessagePFieldNames;
            if (this.hasType)
            {
                output.WriteUInt32(1, strArray[9], this.Type);
            }
            if (this.hasTitle)
            {
                output.WriteString(2, strArray[8], this.Title);
            }
            if (this.hasDescription)
            {
                output.WriteString(3, strArray[1], this.Description);
            }
            if (this.hasThumbData)
            {
                output.WriteBytes(4, strArray[7], this.ThumbData);
            }
            if (this.hasEmojiMessage)
            {
                output.WriteMessage(5, strArray[2], this.EmojiMessage);
            }
            if (this.hasFileMessage)
            {
                output.WriteMessage(6, strArray[3], this.FileMessage);
            }
            if (this.hasImageMessage)
            {
                output.WriteMessage(7, strArray[4], this.ImageMessage);
            }
            if (this.hasMusicMessage)
            {
                output.WriteMessage(8, strArray[5], this.MusicMessage);
            }
            if (this.hasTextMessage)
            {
                output.WriteMessage(9, strArray[6], this.TextMessage);
            }
            if (this.hasVideoMessage)
            {
                output.WriteMessage(10, strArray[10], this.VideoMessage);
            }
            if (this.hasWebpageMessage)
            {
                output.WriteMessage(11, strArray[11], this.WebpageMessage);
            }
            if (this.hasAppExtendMessage)
            {
                output.WriteMessage(12, strArray[0], this.AppExtendMessage);
            }
        }
Exemple #7
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int arg_06_0 = this.SerializedSize;

            string[] wXMessagePFieldNames = WXMessageP._wXMessagePFieldNames;
            if (this.hasType)
            {
                output.WriteUInt32(1, wXMessagePFieldNames[9], this.Type);
            }
            if (this.hasTitle)
            {
                output.WriteString(2, wXMessagePFieldNames[8], this.Title);
            }
            if (this.hasDescription)
            {
                output.WriteString(3, wXMessagePFieldNames[1], this.Description);
            }
            if (this.hasThumbData)
            {
                output.WriteBytes(4, wXMessagePFieldNames[7], this.ThumbData);
            }
            if (this.hasEmojiMessage)
            {
                output.WriteMessage(5, wXMessagePFieldNames[2], this.EmojiMessage);
            }
            if (this.hasFileMessage)
            {
                output.WriteMessage(6, wXMessagePFieldNames[3], this.FileMessage);
            }
            if (this.hasImageMessage)
            {
                output.WriteMessage(7, wXMessagePFieldNames[4], this.ImageMessage);
            }
            if (this.hasMusicMessage)
            {
                output.WriteMessage(8, wXMessagePFieldNames[5], this.MusicMessage);
            }
            if (this.hasTextMessage)
            {
                output.WriteMessage(9, wXMessagePFieldNames[6], this.TextMessage);
            }
            if (this.hasVideoMessage)
            {
                output.WriteMessage(10, wXMessagePFieldNames[10], this.VideoMessage);
            }
            if (this.hasWebpageMessage)
            {
                output.WriteMessage(11, wXMessagePFieldNames[11], this.WebpageMessage);
            }
            if (this.hasAppExtendMessage)
            {
                output.WriteMessage(12, wXMessagePFieldNames[0], this.AppExtendMessage);
            }
        }
        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 #9
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 = _sKBuiltinBufferTFieldNames;
            if (this.hasILen)
            {
                output.WriteUInt32(1, strArray[1], this.ILen);
            }
            if (this.hasBuffer)
            {
                output.WriteBytes(2, strArray[0], this.Buffer);
            }
        }
        // Token: 0x06001257 RID: 4695 RVA: 0x00042310 File Offset: 0x00040510
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] objectNGCInstanceFieldNames = objectNGCInstance._objectNGCInstanceFieldNames;
            if (this.hasID)
            {
                output.WriteInt32(1, objectNGCInstanceFieldNames[0], this.ID);
            }
            if (this.hasData)
            {
                output.WriteBytes(2, objectNGCInstanceFieldNames[1], this.Data);
            }
            this.UnknownFields.WriteTo(output);
        }
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _objectNGCInstanceFieldNames;
            if (this.hasID)
            {
                output.WriteInt32(1, strArray[0], this.ID);
            }
            if (this.hasData)
            {
                output.WriteBytes(2, strArray[1], this.Data);
            }
            this.get_UnknownFields().WriteTo(output);
        }
Exemple #13
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _builtinIPFieldNames;
            if (this.hasType)
            {
                output.WriteUInt32(1, strArray[2], this.Type);
            }
            if (this.hasPort)
            {
                output.WriteUInt32(2, strArray[1], this.Port);
            }
            if (this.hasIP)
            {
                output.WriteBytes(3, strArray[0], this.IP);
            }
        }
Exemple #14
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _wXAppExtendMessagePFieldNames;
            if (this.hasFileData)
            {
                output.WriteBytes(1, strArray[1], this.FileData);
            }
            if (this.hasExtInfo)
            {
                output.WriteString(2, strArray[0], this.ExtInfo);
            }
            if (this.hasFileName)
            {
                output.WriteString(3, strArray[2], this.FileName);
            }
        }
Exemple #15
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] notifyFieldNames = ServerNotify._serverNotifyFieldNames;
            if (this.hasType)
            {
                output.WriteEnum(1, notifyFieldNames[3], (int)this.Type, (object)this.Type);
            }
            if (this.hasInfo)
            {
                output.WriteString(2, notifyFieldNames[1], this.Info);
            }
            if (this.hasExtradata)
            {
                output.WriteBytes(3, notifyFieldNames[0], this.Extradata);
            }
            if (this.hasSeqId)
            {
                output.WriteString(4, notifyFieldNames[2], this.SeqId);
            }
            this.UnknownFields.WriteTo(output);
        }
        // Token: 0x06000263 RID: 611 RVA: 0x00005898 File Offset: 0x00003A98
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = SerializedSize;

            string[] serverNotifyFieldNames = _serverNotifyFieldNames;
            if (HasType)
            {
                output.WriteEnum(1, serverNotifyFieldNames[3], (int)Type, Type);
            }
            if (HasInfo)
            {
                output.WriteString(2, serverNotifyFieldNames[1], Info);
            }
            if (HasExtradata)
            {
                output.WriteBytes(3, serverNotifyFieldNames[0], Extradata);
            }
            if (HasSeqId)
            {
                output.WriteString(4, serverNotifyFieldNames[2], SeqId);
            }
            UnknownFields.WriteTo(output);
        }