Example #1
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _eventFieldNames;
     if (hasType)
     {
         output.WriteEnum(1, field_names[4], (int)Type, Type);
     }
     if (hasSumary)
     {
         output.WriteString(2, field_names[2], Sumary);
     }
     if (hasDetail)
     {
         output.WriteString(3, field_names[1], Detail);
     }
     if (hasTimestamp)
     {
         output.WriteUInt64(4, field_names[3], Timestamp);
     }
     if (hasBt)
     {
         output.WriteMessage(5, field_names[0], Bt);
     }
     UnknownFields.WriteTo(output);
 }
Example #2
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _gamePropertiesFieldNames;
            if (creationAttributes_.Count > 0)
            {
                output.WriteMessageArray(1, field_names[1], creationAttributes_);
            }
            if (hasFilter)
            {
                output.WriteMessage(2, field_names[2], Filter);
            }
            if (hasCreate)
            {
                output.WriteBool(3, field_names[0], Create);
            }
            if (hasOpen)
            {
                output.WriteBool(4, field_names[3], Open);
            }
            if (hasProgramId)
            {
                output.WriteFixed32(5, field_names[4], ProgramId);
            }
            UnknownFields.WriteTo(output);
        }
Example #3
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _recentPlayerFieldNames;
            if (hasEntity)
            {
                output.WriteMessage(1, field_names[2], Entity);
            }
            if (hasProgramId)
            {
                output.WriteString(2, field_names[4], ProgramId);
            }
            if (hasTimestampPlayed)
            {
                output.WriteFixed64(3, field_names[5], TimestampPlayed);
            }
            if (attributes_.Count > 0)
            {
                output.WriteMessageArray(4, field_names[0], attributes_);
            }
            if (hasId)
            {
                output.WriteFixed32(5, field_names[3], Id);
            }
            if (hasCounter)
            {
                output.WriteFixed32(6, field_names[1], Counter);
            }
            UnknownFields.WriteTo(output);
        }
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _combinedFingerprintsFieldNames;
     if (hasVersion)
     {
         output.WriteUInt32(1, field_names[2], Version);
     }
     if (hasLocalFingerprint)
     {
         output.WriteMessage(2, field_names[0], LocalFingerprint);
     }
     if (hasRemoteFingerprint)
     {
         output.WriteMessage(3, field_names[1], RemoteFingerprint);
     }
     UnknownFields.WriteTo(output);
 }
Example #5
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _defeatMessageFieldNames;
     if (hasType)
     {
         output.WriteEnum(1, field_names[2], (int)Type, Type);
     }
     if (hasCallMessage)
     {
         output.WriteMessage(2, field_names[1], CallMessage);
     }
     if (hasBackMessage)
     {
         output.WriteMessage(3, field_names[0], BackMessage);
     }
     UnknownFields.WriteTo(output);
 }
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _createCollectionCommandFieldNames;
     if (hasCollectionName)
     {
         output.WriteString(1, field_names[1], CollectionName);
     }
     if (hasIndicesConfig)
     {
         output.WriteMessage(2, field_names[2], IndicesConfig);
     }
     if (hasCaching)
     {
         output.WriteMessage(3, field_names[0], Caching);
     }
     UnknownFields.WriteTo(output);
 }
Example #7
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);
 }
 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);
 }
Example #9
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _testLiteImportsNonliteFieldNames;
     if (hasMessage)
     {
         output.WriteMessage(1, field_names[0], Message);
     }
 }
Example #10
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);
        }
Example #11
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _updateCommandFieldNames;
     if (hasQuery)
     {
         output.WriteMessage(1, field_names[0], Query);
     }
     UnknownFields.WriteTo(output);
 }
Example #12
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _rootFieldNames;
            if (hasTemplates)
            {
                output.WriteMessage(1, field_names[2], Templates);
            }
            if (hasEquipTables)
            {
                output.WriteMessage(2, field_names[0], EquipTables);
            }
            if (hasRoleTables)
            {
                output.WriteMessage(3, field_names[1], RoleTables);
            }
            UnknownFields.WriteTo(output);
        }
Example #13
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _getChunkResponseFieldNames;
     if (hasDataChunk)
     {
         output.WriteMessage(1, field_names[0], DataChunk);
     }
     UnknownFields.WriteTo(output);
 }
Example #14
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _authenticationResponseFieldNames;
     if (hasAuthenticationToken)
     {
         output.WriteMessage(1, field_names[0], AuthenticationToken);
     }
     UnknownFields.WriteTo(output);
 }
Example #15
0
 public override void WriteTo(pb::ICodedOutputStream output) {
   CalcSerializedSize();
   string[] field_names = _s2CFieldNames;
   if (hasSecurity) {
     output.WriteMessage(1, field_names[0], Security);
   }
   if (tickerList_.Count > 0) {
     output.WriteMessageArray(2, field_names[1], tickerList_);
   }
   UnknownFields.WriteTo(output);
 }
Example #16
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _toonInfoFieldNames;
            if (hasName)
            {
                output.WriteMessage(1, field_names[0], Name);
            }
            UnknownFields.WriteTo(output);
        }
Example #17
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _createSessionCommandFieldNames;
     if (hasClientId)
     {
         output.WriteInt32(1, field_names[0], ClientId);
     }
     if (hasCredential)
     {
         output.WriteMessage(2, field_names[1], Credential);
     }
     UnknownFields.WriteTo(output);
 }
Example #18
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _agentlogReqFieldNames;
     if (hasAgentIdentity)
     {
         output.WriteMessage(1, field_names[0], AgentIdentity);
     }
     if (logs_.Count > 0)
     {
         output.WriteMessageArray(2, field_names[1], logs_);
     }
     UnknownFields.WriteTo(output);
 }
Example #19
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _databaseConfigFieldNames;
     if (hasName)
     {
         output.WriteString(1, field_names[0], Name);
     }
     if (hasStorage)
     {
         output.WriteMessage(2, field_names[1], Storage);
     }
     UnknownFields.WriteTo(output);
 }
Example #20
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _s2CFieldNames;
     if (hasHeader)
     {
         output.WriteMessage(1, field_names[0], Header);
     }
     if (hasType)
     {
         output.WriteInt32(2, field_names[1], Type);
     }
     UnknownFields.WriteTo(output);
 }
Example #21
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _packetFieldNames;
     if (hasId)
     {
         output.WriteInt64(1, field_names[0], Id);
     }
     if (hasPayload)
     {
         output.WriteMessage(3, field_names[1], Payload);
     }
     UnknownFields.WriteTo(output);
 }
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _testEmbedOptimizedForSizeFieldNames;
     if (hasOptionalMessage)
     {
         output.WriteMessage(1, field_names[0], OptionalMessage);
     }
     if (repeatedMessage_.Count > 0)
     {
         output.WriteMessageArray(2, field_names[1], repeatedMessage_);
     }
     UnknownFields.WriteTo(output);
 }
Example #23
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _questStepCompleteFieldNames;
            if (hasIsQuestComplete)
            {
                output.WriteBool(1, field_names[0], IsQuestComplete);
            }
            if (hasReward)
            {
                output.WriteMessage(2, field_names[1], Reward);
            }
            UnknownFields.WriteTo(output);
        }
Example #24
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _friendFieldNames;
            if (hasId)
            {
                output.WriteMessage(1, field_names[1], Id);
            }
            if (attribute_.Count > 0)
            {
                output.WriteMessageArray(2, field_names[0], attribute_);
            }
            UnknownFields.WriteTo(output);
        }
Example #25
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _savedAttributesFieldNames;
            if (hasGbHandle)
            {
                output.WriteMessage(1, field_names[1], GbHandle);
            }
            if (attributes_.Count > 0)
            {
                output.WriteMessageArray(2, field_names[0], attributes_);
            }
            UnknownFields.WriteTo(output);
        }
Example #26
0
 public override void WriteTo(pb::ICodedOutputStream output) {
   CalcSerializedSize();
   string[] field_names = _responseFieldNames;
   if (hasRetType) {
     output.WriteInt32(1, field_names[2], RetType);
   }
   if (hasRetMsg) {
     output.WriteString(2, field_names[1], RetMsg);
   }
   if (hasErrCode) {
     output.WriteInt32(3, field_names[0], ErrCode);
   }
   if (hasS2C) {
     output.WriteMessage(4, field_names[3], S2C);
   }
   UnknownFields.WriteTo(output);
 }
Example #27
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _testMessageFieldNames;
     if (hasId)
     {
         output.WriteInt32(1, field_names[1], Id);
     }
     if (hasEmbedded)
     {
         output.WriteMessage(2, field_names[0], Embedded);
     }
     if (hasText)
     {
         output.WriteString(3, field_names[2], Text);
     }
 }
Example #28
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _authenticationCommandFieldNames;
     if (hasAuthenticationToken)
     {
         output.WriteMessage(1, field_names[0], AuthenticationToken);
     }
     if (hasConnectionString)
     {
         output.WriteString(2, field_names[1], ConnectionString);
     }
     if (hasProcessID)
     {
         output.WriteString(3, field_names[2], ProcessID);
     }
     UnknownFields.WriteTo(output);
 }
Example #29
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _questRewardFieldNames;
            if (hasXpGranted)
            {
                output.WriteInt32(1, field_names[2], XpGranted);
            }
            if (hasGoldGranted)
            {
                output.WriteInt32(2, field_names[0], GoldGranted);
            }
            if (hasItem)
            {
                output.WriteMessage(3, field_names[1], Item);
            }
            UnknownFields.WriteTo(output);
        }
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _s2CFieldNames;
     if (hasRehabType)
     {
         output.WriteInt32(1, field_names[2], RehabType);
     }
     if (hasKlType)
     {
         output.WriteInt32(2, field_names[1], KlType);
     }
     if (hasSecurity)
     {
         output.WriteMessage(3, field_names[3], Security);
     }
     if (klList_.Count > 0)
     {
         output.WriteMessageArray(4, field_names[0], klList_);
     }
     UnknownFields.WriteTo(output);
 }