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

            string[] strArray = _delMsgFieldNames;
            if (this.hasUserName)
            {
                output.WriteMessage(1, strArray[2], this.UserName);
            }
            if (this.hasCount)
            {
                output.WriteUInt32(2, strArray[0], this.Count);
            }
            if (this.msgIdList_.Count > 0)
            {
                output.WritePackedInt32Array(3, strArray[1], this.msgIdListMemoizedSerializedSize, this.msgIdList_);
            }
        }
Exemple #2
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _snsObjectOpResponseFieldNames;
            if (this.hasBaseResponse)
            {
                output.WriteMessage(1, strArray[0], this.BaseResponse);
            }
            if (this.hasOpCount)
            {
                output.WriteUInt32(2, strArray[1], this.OpCount);
            }
            if (this.opRetList_.Count > 0)
            {
                output.WritePackedInt32Array(3, strArray[2], this.opRetListMemoizedSerializedSize, this.opRetList_);
            }
        }
Exemple #3
0
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = this.SerializedSize;

            string[] strArray = _getContactResponseFieldNames;
            if (this.hasBaseResponse)
            {
                output.WriteMessage(1, strArray[0], this.BaseResponse);
            }
            if (this.hasContactCount)
            {
                output.WriteUInt32(2, strArray[1], this.ContactCount);
            }
            if (this.contactList_.Count > 0)
            {
                output.WriteMessageArray <ModContact>(3, strArray[2], this.contactList_);
            }
            if (this.ret_.Count > 0)
            {
                output.WritePackedInt32Array(4, strArray[3], this.retMemoizedSerializedSize, this.ret_);
            }
        }