Exemplo n.º 1
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _doorOpenOutAreaFieldNames;
            if (hasAreaId)
            {
                output.WriteInt64(1, field_names[0], AreaId);
            }
            if (hasBasedTime)
            {
                output.WriteBool(2, field_names[1], BasedTime);
            }
            if (hasIsEveryDay)
            {
                output.WriteBool(3, field_names[3], IsEveryDay);
            }
            if (hasStartDate)
            {
                output.WriteInt64(4, field_names[4], StartDate);
            }
            if (hasEndDate)
            {
                output.WriteInt64(5, field_names[2], EndDate);
            }
            UnknownFields.WriteTo(output);
        }
Exemplo n.º 2
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _characterDTOPBFieldNames;
     if (hasAccountId)
     {
         output.WriteInt64(1, field_names[0], AccountId);
     }
     if (hasPlayerId)
     {
         output.WriteInt64(2, field_names[2], PlayerId);
     }
     if (hasSresId)
     {
         output.WriteInt64(3, field_names[3], SresId);
     }
     if (hasMapId)
     {
         output.WriteInt64(4, field_names[1], MapId);
     }
     if (hasTermId)
     {
         output.WriteInt64(5, field_names[4], TermId);
     }
     UnknownFields.WriteTo(output);
 }
Exemplo n.º 3
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _lMDBConfigFieldNames;
     if (hasEnvironmentOpenFlags)
     {
         output.WriteEnum(1, field_names[1], (int)EnvironmentOpenFlags, EnvironmentOpenFlags);
     }
     if (hasMaxReaders)
     {
         output.WriteInt32(2, field_names[4], MaxReaders);
     }
     if (hasMaxTables)
     {
         output.WriteInt32(3, field_names[5], MaxTables);
     }
     if (hasInitialDatabaseSize)
     {
         output.WriteInt64(4, field_names[3], InitialDatabaseSize);
     }
     if (hasExpansionRatio)
     {
         output.WriteInt64(5, field_names[2], ExpansionRatio);
     }
     if (hasCurrentDatabaseSize)
     {
         output.WriteInt64(6, field_names[0], CurrentDatabaseSize);
     }
     UnknownFields.WriteTo(output);
 }
Exemplo n.º 4
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _protoLongRangeFieldNames;
     if (hasFrom)
     {
         output.WriteInt64(1, field_names[0], From);
     }
     if (hasTo)
     {
         output.WriteInt64(2, field_names[1], To);
     }
     UnknownFields.WriteTo(output);
 }
Exemplo n.º 5
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _timeFieldNames;
     if (hasSec)
     {
         output.WriteInt64(1, field_names[1], Sec);
     }
     if (hasNsec)
     {
         output.WriteInt64(2, field_names[0], Nsec);
     }
     UnknownFields.WriteTo(output);
 }
Exemplo n.º 6
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _storageProviderConfigFieldNames;
     if (hasMaxDatabaseSize)
     {
         output.WriteInt64(1, field_names[3], MaxDatabaseSize);
     }
     if (hasProviderTypeString)
     {
         output.WriteString(2, field_names[4], ProviderTypeString);
     }
     if (hasIsMultiFileStore)
     {
         output.WriteBool(3, field_names[1], IsMultiFileStore);
     }
     if (hasLMDBProvider)
     {
         output.WriteMessage(4, field_names[2], LMDBProvider);
     }
     if (hasESENTProvider)
     {
         output.WriteMessage(5, field_names[0], ESENTProvider);
     }
     UnknownFields.WriteTo(output);
 }
Exemplo n.º 7
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _tCSReceiveZombieMessageFieldNames;
            if (hasGroupId)
            {
                output.WriteInt64(1, field_names[1], GroupId);
            }
            if (hasConfigId)
            {
                output.WriteInt32(2, field_names[0], ConfigId);
            }
            if (hasZombieInvadeTime)
            {
                output.WriteInt64(3, field_names[2], ZombieInvadeTime);
            }
        }
Exemplo n.º 8
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _tCSZombieInvadeResultFieldNames;
            if (hasGroupId)
            {
                output.WriteInt64(1, field_names[2], GroupId);
            }
            if (hasConfigId)
            {
                output.WriteInt32(2, field_names[0], ConfigId);
            }
            if (hasDoorId)
            {
                output.WriteInt64(3, field_names[1], DoorId);
            }
        }
Exemplo n.º 9
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _pingRequestFieldNames;
     if (hasTimestamp)
     {
         output.WriteInt64(2, field_names[0], Timestamp);
     }
     UnknownFields.WriteTo(output);
 }
Exemplo n.º 10
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _playerRoleDTOPBFieldNames;
     if (hasPlayerRoleId)
     {
         output.WriteInt64(1, field_names[0], PlayerRoleId);
     }
     UnknownFields.WriteTo(output);
 }
Exemplo n.º 11
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _tCSZombieInvadeFieldNames;
            if (hasGroupId)
            {
                output.WriteInt64(1, field_names[0], GroupId);
            }
        }
Exemplo n.º 12
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);
        }
Exemplo n.º 13
0
        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);
        }
Exemplo n.º 14
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _areaSpeedingFieldNames;
            if (hasAreaId)
            {
                output.WriteInt64(1, field_names[0], AreaId);
            }
            if (hasTypes)
            {
                output.WriteEnum(2, field_names[8], (int)Types, Types);
            }
            if (hasRouteId)
            {
                output.WriteInt64(3, field_names[6], RouteId);
            }
            if (hasMaxSpeed)
            {
                output.WriteInt32(4, field_names[5], MaxSpeed);
            }
            if (hasContinuousTime)
            {
                output.WriteInt32(5, field_names[2], ContinuousTime);
            }
            if (hasBasedTime)
            {
                output.WriteBool(6, field_names[1], BasedTime);
            }
            if (hasIsEveryDay)
            {
                output.WriteBool(7, field_names[4], IsEveryDay);
            }
            if (hasStartDate)
            {
                output.WriteInt64(8, field_names[7], StartDate);
            }
            if (hasEndDate)
            {
                output.WriteInt64(9, field_names[3], EndDate);
            }
            UnknownFields.WriteTo(output);
        }
Exemplo n.º 15
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _writeQueryResponseFieldNames;
     if (hasAffectedDocuments)
     {
         output.WriteInt64(1, field_names[0], AffectedDocuments);
     }
     UnknownFields.WriteTo(output);
 }
Exemplo n.º 16
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _playerEquipDTOPBFieldNames;
     if (hasPlayerEquipId)
     {
         output.WriteInt64(1, field_names[1], PlayerEquipId);
     }
     if (hasPlayerRoleId)
     {
         output.WriteInt64(2, field_names[2], PlayerRoleId);
     }
     if (hasEquipId)
     {
         output.WriteInt64(3, field_names[0], EquipId);
     }
     if (hasStatus)
     {
         output.WriteInt64(4, field_names[3], Status);
     }
     UnknownFields.WriteTo(output);
 }
Exemplo n.º 17
0
 public override void WriteTo(pb::ICodedOutputStream output)
 {
     CalcSerializedSize();
     string[] field_names = _playerTeamDTOPBFieldNames;
     if (hasId)
     {
         output.WriteInt64(1, field_names[0], Id);
     }
     if (hasLeaderId)
     {
         output.WriteInt64(2, field_names[1], LeaderId);
     }
     if (hasMemberId)
     {
         output.WriteString(3, field_names[2], MemberId);
     }
     if (hasStatuses)
     {
         output.WriteString(4, field_names[3], Statuses);
     }
     UnknownFields.WriteTo(output);
 }
Exemplo n.º 18
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _routeDriverTimeFieldNames;
            if (hasRouteId)
            {
                output.WriteInt64(1, field_names[6], RouteId);
            }
            if (hasLineId)
            {
                output.WriteInt64(2, field_names[3], LineId);
            }
            if (hasMaxTime)
            {
                output.WriteInt32(3, field_names[4], MaxTime);
            }
            if (hasMinTime)
            {
                output.WriteInt32(4, field_names[5], MinTime);
            }
            if (hasBasedTime)
            {
                output.WriteBool(5, field_names[0], BasedTime);
            }
            if (hasIsEveryDay)
            {
                output.WriteBool(6, field_names[2], IsEveryDay);
            }
            if (hasStartDate)
            {
                output.WriteInt64(7, field_names[7], StartDate);
            }
            if (hasEndDate)
            {
                output.WriteInt64(8, field_names[1], EndDate);
            }
            UnknownFields.WriteTo(output);
        }
Exemplo n.º 19
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _drivingBanFieldNames;
            if (hasBanIdentify)
            {
                output.WriteInt64(1, field_names[0], BanIdentify);
            }
            if (hasIsEveryDay)
            {
                output.WriteBool(2, field_names[2], IsEveryDay);
            }
            if (hasStartDate)
            {
                output.WriteInt64(3, field_names[3], StartDate);
            }
            if (hasEndDate)
            {
                output.WriteInt64(4, field_names[1], EndDate);
            }
            UnknownFields.WriteTo(output);
        }
Exemplo n.º 20
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);
 }
Exemplo n.º 21
0
        public override void WriteTo(pb::ICodedOutputStream output)
        {
            int size = SerializedSize;

            string[] field_names = _msgBuyItemFieldNames;
            if (hasItemName)
            {
                output.WriteString(1, field_names[2], ItemName);
            }
            if (hasItemId)
            {
                output.WriteInt64(2, field_names[1], ItemId);
            }
            if (ids_.Count > 0)
            {
                output.WritePackedInt32Array(3, field_names[0], idsMemoizedSerializedSize, ids_);
            }
        }
Exemplo n.º 22
0
                public override void WriteTo(pb::ICodedOutputStream output)
                {
                    int size = SerializedSize;

                    string[] field_names = _charSummaryFieldNames;
                    if (hasServerId)
                    {
                        output.WriteUInt32(1, field_names[2], ServerId);
                    }
                    if (hasCharacterId)
                    {
                        output.WriteUInt32(2, field_names[0], CharacterId);
                    }
                    if (hasLastPlayedTime)
                    {
                        output.WriteInt64(3, field_names[1], LastPlayedTime);
                    }
                    if (hasXmlData)
                    {
                        output.WriteString(4, field_names[3], XmlData);
                    }
                    UnknownFields.WriteTo(output);
                }