public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _pointFieldNames;
     if (hasX)
     {
         output.WriteDouble(1, field_names[0], X);
     }
     if (hasY)
     {
         output.WriteDouble(2, field_names[1], Y);
     }
     if (hasZ)
     {
         output.WriteDouble(3, field_names[2], Z);
     }
     UnknownFields.WriteTo(output);
 }
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _optionsMessageFieldNames;
     if (hasNormal)
     {
         output.WriteString(1, field_names[1], Normal);
     }
     if (hasOptionsMessage_)
     {
         output.WriteString(2, field_names[2], OptionsMessage_);
     }
     if (hasCustomName)
     {
         output.WriteString(3, field_names[0], CustomName);
     }
     UnknownFields.WriteTo(output);
 }
Exemple #3
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _s2CFieldNames;
     if (hasSecurity)
     {
         output.WriteMessage(1, field_names[2], Security);
     }
     if (brokerAskList_.Count > 0)
     {
         output.WriteMessageArray(2, field_names[0], brokerAskList_);
     }
     if (brokerBidList_.Count > 0)
     {
         output.WriteMessageArray(3, field_names[1], brokerBidList_);
     }
     UnknownFields.WriteTo(output);
 }
Exemple #4
0
        public override void WriteTo(pb::CodedOutputStream output)
        {
            int size = SerializedSize;

            if (HasIdentity)
            {
                output.WriteString(1, Identity);
            }
            if (HasProgram)
            {
                output.WriteFixed32(2, Program);
            }
            if (HasLocale)
            {
                output.WriteFixed32(3, Locale);
            }
            UnknownFields.WriteTo(output);
        }
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _s2CFieldNames;
     if (hasSecurity)
     {
         output.WriteMessage(1, field_names[2], Security);
     }
     if (hasOrderDetailAsk)
     {
         output.WriteMessage(2, field_names[0], OrderDetailAsk);
     }
     if (hasOrderDetailBid)
     {
         output.WriteMessage(3, field_names[1], OrderDetailBid);
     }
     UnknownFields.WriteTo(output);
 }
Exemple #6
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _navigationTaskFieldNames;
     if (hasLocation)
     {
         output.WriteMessage(1, field_names[0], Location);
     }
     if (hasOrientation)
     {
         output.WriteEnum(2, field_names[1], (int)Orientation, Orientation);
     }
     if (hasWaitTime)
     {
         output.WriteMessage(3, field_names[2], WaitTime);
     }
     UnknownFields.WriteTo(output);
 }
Exemple #7
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _a9997ClientConnectionResponseFieldNames;
     if (hasErrorInfo)
     {
         output.WriteString(1, field_names[1], ErrorInfo);
     }
     if (hasErrorCode)
     {
         output.WriteInt32(2, field_names[0], ErrorCode);
     }
     if (hasUid)
     {
         output.WriteString(3, field_names[2], Uid);
     }
     UnknownFields.WriteTo(output);
 }
Exemple #8
0
        public override void WriteTo(pb::CodedOutputStream output)
        {
            int size = SerializedSize;

            if (HasId)
            {
                output.WriteBytes(1, Id);
            }
            if (HasData)
            {
                output.WriteBytes(2, Data);
            }
            foreach (global::bnet.protocol.search.Statistic element in StatisticsList)
            {
                output.WriteMessage(3, element);
            }
            UnknownFields.WriteTo(output);
        }
Exemple #9
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _parameterFieldNames;
     if (hasAttribute)
     {
         output.WriteString(1, field_names[0], Attribute);
     }
     if (hasValue)
     {
         output.WriteString(2, field_names[2], Value);
     }
     if (hasJsonDataType)
     {
         output.WriteInt32(3, field_names[1], JsonDataType);
     }
     UnknownFields.WriteTo(output);
 }
Exemple #10
0
        public override void WriteTo(pb::CodedOutputStream output)
        {
            int size = SerializedSize;

            if (HasRegion)
            {
                output.WriteFixed32(1, Region);
            }
            if (HasUsage)
            {
                output.WriteFixed32(2, Usage);
            }
            if (HasHash)
            {
                output.WriteBytes(3, Hash);
            }
            UnknownFields.WriteTo(output);
        }
Exemple #11
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _dropIndexCommandFieldNames;
     if (attributes_.Count > 0)
     {
         output.WriteStringArray(1, field_names[1], attributes_);
     }
     if (hasIsAsync)
     {
         output.WriteBool(2, field_names[2], IsAsync);
     }
     if (hasIndexDropedCallbackId)
     {
         output.WriteSInt32(3, field_names[0], IndexDropedCallbackId);
     }
     UnknownFields.WriteTo(output);
 }
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _attentionMessageFieldNames;
     if (hasMessage)
     {
         output.WriteString(1, field_names[0], Message);
     }
     if (hasTimeToShow)
     {
         output.WriteFloat(2, field_names[2], TimeToShow);
     }
     if (hasTeam)
     {
         output.WriteString(3, field_names[1], Team);
     }
     UnknownFields.WriteTo(output);
 }
Exemple #13
0
        public override void WriteTo(pb::CodedOutputStream output)
        {
            int size = SerializedSize;

            if (HasXpGranted)
            {
                output.WriteInt32(1, XpGranted);
            }
            if (HasGoldGranted)
            {
                output.WriteInt32(2, GoldGranted);
            }
            if (HasItem)
            {
                output.WriteMessage(3, Item);
            }
            UnknownFields.WriteTo(output);
        }
        public override void WriteTo(pb::CodedOutputStream output)
        {
            int size = SerializedSize;

            if (HasNormal)
            {
                output.WriteString(1, Normal);
            }
            if (HasOptionsMessage_)
            {
                output.WriteString(2, OptionsMessage_);
            }
            if (HasCustomName)
            {
                output.WriteString(3, CustomName);
            }
            UnknownFields.WriteTo(output);
        }
Exemple #15
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _fooWithExtraFieldsFieldNames;
     if (Int32Value != 0)
     {
         output.WriteInt32(1, field_names[2], Int32Value);
     }
     if (EnumValue != global::Google.ProtocolBuffers.TestProtos.FooWithExtraFields.Types.NestedEnum.FOO)
     {
         output.WriteEnum(2, field_names[0], (int)EnumValue, EnumValue);
     }
     if (ExtraInt32Value != 0)
     {
         output.WriteInt32(3, field_names[1], ExtraInt32Value);
     }
     UnknownFields.WriteTo(output);
 }
Exemple #16
0
        public override void WriteTo(pb::CodedOutputStream output)
        {
            int size = SerializedSize;

            if (HasStatistic)
            {
                output.WriteMessage(1, Statistic);
            }
            if (HasComparand)
            {
                output.WriteEnum(2, (int)Comparand);
            }
            if (HasSortDirection)
            {
                output.WriteEnum(3, (int)SortDirection);
            }
            UnknownFields.WriteTo(output);
        }
Exemple #17
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _sendloginInfoFieldNames;
     if (hasName)
     {
         output.WriteString(1, field_names[2], Name);
     }
     if (hasId)
     {
         output.WriteInt32(2, field_names[1], Id);
     }
     if (hasEmail)
     {
         output.WriteString(3, field_names[0], Email);
     }
     UnknownFields.WriteTo(output);
 }
Exemple #18
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _protoMessageFieldNames;
     if (hasPayloadType)
     {
         output.WriteUInt32(1, field_names[2], PayloadType);
     }
     if (hasPayload)
     {
         output.WriteBytes(2, field_names[1], Payload);
     }
     if (hasClientMsgId)
     {
         output.WriteString(3, field_names[0], ClientMsgId);
     }
     UnknownFields.WriteTo(output);
 }
Exemple #19
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _messagePushFieldNames;
            if (hasTopic)
            {
                output.WriteString(1, field_names[2], Topic);
            }
            if (hasContent)
            {
                output.WriteString(2, field_names[0], Content);
            }
            if (hasFrom)
            {
                output.WriteString(3, field_names[1], From);
            }
            UnknownFields.WriteTo(output);
        }
Exemple #20
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _inOutAreaFieldNames;
            if (hasAreaId)
            {
                output.WriteInt64(1, field_names[0], AreaId);
            }
            if (hasInAreaAlarmToDriver)
            {
                output.WriteBool(2, field_names[3], InAreaAlarmToDriver);
            }
            if (hasInAreaAlarmToPlatform)
            {
                output.WriteBool(3, field_names[4], InAreaAlarmToPlatform);
            }
            if (hasOutAreaAlarmToDriver)
            {
                output.WriteBool(4, field_names[6], OutAreaAlarmToDriver);
            }
            if (hasOutAreaAlarmToPlatform)
            {
                output.WriteBool(5, field_names[7], OutAreaAlarmToPlatform);
            }
            if (hasBasedTime)
            {
                output.WriteBool(6, field_names[1], BasedTime);
            }
            if (hasIsEveryDay)
            {
                output.WriteBool(7, field_names[5], IsEveryDay);
            }
            if (hasStartDate)
            {
                output.WriteInt64(8, field_names[8], StartDate);
            }
            if (hasEndDate)
            {
                output.WriteInt64(9, field_names[2], EndDate);
            }
            UnknownFields.WriteTo(output);
        }
Exemple #21
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _contentHandleFieldNames;
            if (hasRegion)
            {
                output.WriteFixed32(1, field_names[1], Region);
            }
            if (hasUsage)
            {
                output.WriteFixed32(2, field_names[2], Usage);
            }
            if (hasHash)
            {
                output.WriteBytes(3, field_names[0], Hash);
            }
            UnknownFields.WriteTo(output);
        }
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _regularDataFieldNames;
            if (hasTerminalId)
            {
                output.WriteInt64(1, field_names[8], TerminalId);
            }
            if (hasRegularCode)
            {
                output.WriteEnum(2, field_names[6], (int)RegularCode, RegularCode);
            }
            if (hasLastModifyDate)
            {
                output.WriteInt64(3, field_names[5], LastModifyDate);
            }
            if (hasSpeeding)
            {
                output.WriteMessage(4, field_names[7], Speeding);
            }
            if (hasInOutArea)
            {
                output.WriteMessage(5, field_names[4], InOutArea);
            }
            if (hasDriverTime)
            {
                output.WriteMessage(6, field_names[2], DriverTime);
            }
            if (hasDriverNotCard)
            {
                output.WriteMessage(7, field_names[1], DriverNotCard);
            }
            if (hasDoorOpenOutArea)
            {
                output.WriteMessage(8, field_names[0], DoorOpenOutArea);
            }
            if (hasDrivingBan)
            {
                output.WriteMessage(9, field_names[3], DrivingBan);
            }
            UnknownFields.WriteTo(output);
        }
Exemple #23
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _savedDataFieldNames;
            if (hirelings_.Count > 0)
            {
                output.WriteMessageArray(1, field_names[2], hirelings_);
            }
            if (hasActiveHireling)
            {
                output.WriteUInt32(2, field_names[0], ActiveHireling);
            }
            if (hasAvailableHirelingsBitfield)
            {
                output.WriteUInt32(3, field_names[1], AvailableHirelingsBitfield);
            }
            UnknownFields.WriteTo(output);
        }
Exemple #24
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _identityFieldNames;
            if (hasAccountId)
            {
                output.WriteMessage(1, field_names[0], AccountId);
            }
            if (hasGameAccountId)
            {
                output.WriteMessage(2, field_names[1], GameAccountId);
            }
            if (hasToonId)
            {
                output.WriteMessage(3, field_names[2], ToonId);
            }
            UnknownFields.WriteTo(output);
        }
Exemple #25
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _protoDataPackageFieldNames;
            if (hasCode)
            {
                output.WriteSInt32(1, field_names[0], Code);
            }
            if (hasData)
            {
                output.WriteBytes(2, field_names[1], Data);
            }
            if (hasMark)
            {
                output.WriteSInt32(3, field_names[2], Mark);
            }
            UnknownFields.WriteTo(output);
        }
Exemple #26
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _gameAccountSettingsFieldNames;
            if (hasUseLastHero)
            {
                output.WriteInt32(1, field_names[2], UseLastHero);
            }
            if (hasShowOfflineToast)
            {
                output.WriteInt32(2, field_names[1], ShowOfflineToast);
            }
            if (hasRmtLastUsedCurrency)
            {
                output.WriteString(3, field_names[0], RmtLastUsedCurrency);
            }
            UnknownFields.WriteTo(output);
        }
        // Token: 0x06000412 RID: 1042 RVA: 0x00008B84 File Offset: 0x00006D84
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = SerializedSize;

            string[] appStartUpFieldNames = _appStartUpFieldNames;
            if (HasAndroid)
            {
                output.WriteString(1, appStartUpFieldNames[0], Android);
            }
            if (HasSymbia)
            {
                output.WriteString(2, appStartUpFieldNames[2], Symbia);
            }
            if (HasIos)
            {
                output.WriteString(3, appStartUpFieldNames[1], Ios);
            }
            UnknownFields.WriteTo(output);
        }
Exemple #28
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _localeFieldNames;
            if (hasIdentifier)
            {
                output.WriteString(1, field_names[2], Identifier);
            }
            if (hasDescription)
            {
                output.WriteString(2, field_names[0], Description);
            }
            if (flag_.Count > 0)
            {
                output.WriteStringArray(3, field_names[1], flag_);
            }
            UnknownFields.WriteTo(output);
        }
Exemple #29
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _contentHandleRequestFieldNames;
            if (hasProgramId)
            {
                output.WriteFixed32(1, field_names[1], ProgramId);
            }
            if (hasStreamId)
            {
                output.WriteFixed32(2, field_names[2], StreamId);
            }
            if (hasLocale)
            {
                output.WriteFixed32(3, field_names[0], Locale);
            }
            UnknownFields.WriteTo(output);
        }
Exemple #30
0
        // Token: 0x06000081 RID: 129 RVA: 0x00002A7C File Offset: 0x00000C7C
        public override void WriteTo(ICodedOutputStream output)
        {
            int serializedSize = SerializedSize;

            string[] reqServListResultFieldNames = _reqServListResultFieldNames;
            if (HasCode)
            {
                output.WriteInt32(1, reqServListResultFieldNames[0], Code);
            }
            if (host_.Count > 0)
            {
                output.WriteStringArray(2, reqServListResultFieldNames[1], host_);
            }
            if (HasSeqId)
            {
                output.WriteString(3, reqServListResultFieldNames[2], SeqId);
            }
            UnknownFields.WriteTo(output);
        }