public void WriteTo(pb::CodedOutputStream output)
 {
     if (Name.Length != 0)
     {
         output.WriteRawTag(10);
         output.WriteString(Name);
     }
     if (Type.Length != 0)
     {
         output.WriteRawTag(18);
         output.WriteString(Type);
     }
     if (AcceptAllHeaders != false)
     {
         output.WriteRawTag(24);
         output.WriteBool(AcceptAllHeaders);
     }
     acceptedHeaders_.WriteTo(output, _repeated_acceptedHeaders_codec);
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (TimestampMs != 0L)
     {
         output.WriteRawTag(8);
         output.WriteInt64(TimestampMs);
     }
     if (Sfida != false)
     {
         output.WriteRawTag(16);
         output.WriteBool(Sfida);
     }
     if (actionCase_ == ActionOneofCase.CatchPokemon)
     {
         output.WriteRawTag(26);
         output.WriteMessage(CatchPokemon);
     }
     if (actionCase_ == ActionOneofCase.FortSearch)
     {
         output.WriteRawTag(34);
         output.WriteMessage(FortSearch);
     }
 }
Beispiel #3
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (RequestedBytes != 0L)
     {
         output.WriteRawTag(8);
         output.WriteInt64(RequestedBytes);
     }
     if (AllocatedBytes != 0L)
     {
         output.WriteRawTag(16);
         output.WriteInt64(AllocatedBytes);
     }
     if (AllocatorName.Length != 0)
     {
         output.WriteRawTag(26);
         output.WriteString(AllocatorName);
     }
     if (AllocationId != 0L)
     {
         output.WriteRawTag(32);
         output.WriteInt64(AllocationId);
     }
     if (HasSingleReference != false)
     {
         output.WriteRawTag(40);
         output.WriteBool(HasSingleReference);
     }
     if (Ptr != 0UL)
     {
         output.WriteRawTag(48);
         output.WriteUInt64(Ptr);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Beispiel #4
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Mark != 0)
     {
         output.WriteRawTag(8);
         output.WriteInt32(Mark);
     }
     if (Tfo != 0)
     {
         output.WriteRawTag(16);
         output.WriteEnum((int)Tfo);
     }
     if (Tproxy != 0)
     {
         output.WriteRawTag(24);
         output.WriteEnum((int)Tproxy);
     }
     if (ReceiveOriginalDestAddress != false)
     {
         output.WriteRawTag(32);
         output.WriteBool(ReceiveOriginalDestAddress);
     }
     if (BindAddress.Length != 0)
     {
         output.WriteRawTag(42);
         output.WriteBytes(BindAddress);
     }
     if (BindPort != 0)
     {
         output.WriteRawTag(48);
         output.WriteUInt32(BindPort);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
     public void WriteTo(pb::CodedOutputStream output)
     {
 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
         output.WriteRawMessage(this);
 #else
         if (HasDescription)
         {
             output.WriteRawTag(10);
             output.WriteString(Description);
         }
         if (HasPicture)
         {
             output.WriteRawTag(18);
             output.WriteString(Picture);
         }
         if (HasDeprecatedRenderFeatures)
         {
             output.WriteRawTag(24);
             output.WriteEnum((int)DeprecatedRenderFeatures);
         }
         transcodedPicture_.WriteTo(output, _repeated_transcodedPicture_codec);
         if (HasIsAbuseReportingEnabled)
         {
             output.WriteRawTag(48);
             output.WriteBool(IsAbuseReportingEnabled);
         }
         if (HasAbuseReportState)
         {
             output.WriteRawTag(56);
             output.WriteEnum((int)AbuseReportState);
         }
         if (_unknownFields != null)
         {
             _unknownFields.WriteTo(output);
         }
 #endif
     }
Beispiel #6
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (defaultValueCase_ == DefaultValueOneofCase.Id)
     {
         output.WriteRawTag(10);
         output.WriteString(Id);
     }
     if (defaultValueCase_ == DefaultValueOneofCase.FeatureId)
     {
         output.WriteRawTag(18);
         output.WriteString(FeatureId);
     }
     if (defaultValueCase_ == DefaultValueOneofCase.Bval)
     {
         output.WriteRawTag(24);
         output.WriteBool(Bval);
     }
     if (defaultValueCase_ == DefaultValueOneofCase.Lval)
     {
         output.WriteRawTag(32);
         output.WriteInt64(Lval);
     }
     if (defaultValueCase_ == DefaultValueOneofCase.Sval)
     {
         output.WriteRawTag(42);
         output.WriteString(Sval);
     }
     if (defaultValueCase_ == DefaultValueOneofCase.Fval)
     {
         output.WriteRawTag(53);
         output.WriteFloat(Fval);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Beispiel #7
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (PlayRoundNumber != 0L)
     {
         output.WriteRawTag(8);
         output.WriteSInt64(PlayRoundNumber);
     }
     if (Amount != 0L)
     {
         output.WriteRawTag(16);
         output.WriteSInt64(Amount);
     }
     if (Award != 0L)
     {
         output.WriteRawTag(24);
         output.WriteSInt64(Award);
     }
     if (IsComplete != false)
     {
         output.WriteRawTag(32);
         output.WriteBool(IsComplete);
     }
     if (playId_ != null)
     {
         output.WriteRawTag(42);
         output.WriteMessage(PlayId);
     }
     if (BingoRoundNumber != 0L)
     {
         output.WriteRawTag(48);
         output.WriteSInt64(BingoRoundNumber);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Status.Length != 0)
     {
         output.WriteRawTag(10);
         output.WriteString(Status);
     }
     if (encounterPokemonTelemetry_ != null)
     {
         output.WriteRawTag(18);
         output.WriteMessage(EncounterPokemonTelemetry);
     }
     if (Balltype != 0)
     {
         output.WriteRawTag(24);
         output.WriteInt32(Balltype);
     }
     if (HitGrade != 0)
     {
         output.WriteRawTag(32);
         output.WriteInt32(HitGrade);
     }
     if (CurveBall != false)
     {
         output.WriteRawTag(40);
         output.WriteBool(CurveBall);
     }
     if (MissPercent != 0D)
     {
         output.WriteRawTag(49);
         output.WriteDouble(MissPercent);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Beispiel #9
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (RequestID.Length != 0)
     {
         output.WriteRawTag(10);
         output.WriteString(RequestID);
     }
     if (ReplyChannel.Length != 0)
     {
         output.WriteRawTag(18);
         output.WriteString(ReplyChannel);
     }
     if (Metadata.Length != 0)
     {
         output.WriteRawTag(26);
         output.WriteString(Metadata);
     }
     if (Body.Length != 0)
     {
         output.WriteRawTag(34);
         output.WriteBytes(Body);
     }
     if (CacheHit != false)
     {
         output.WriteRawTag(40);
         output.WriteBool(CacheHit);
     }
     if (Context.Length != 0)
     {
         output.WriteRawTag(50);
         output.WriteBytes(Context);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Beispiel #10
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Id != 0L)
     {
         output.WriteRawTag(8);
         output.WriteInt64(Id);
     }
     if (FieldKey.Length != 0)
     {
         output.WriteRawTag(18);
         output.WriteString(FieldKey);
     }
     if (UserKey.Length != 0)
     {
         output.WriteRawTag(26);
         output.WriteString(UserKey);
     }
     if (Description.Length != 0)
     {
         output.WriteRawTag(34);
         output.WriteString(Description);
     }
     if (FieldSize != 0D)
     {
         output.WriteRawTag(41);
         output.WriteDouble(FieldSize);
     }
     if (IsActive != false)
     {
         output.WriteRawTag(48);
         output.WriteBool(IsActive);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Beispiel #11
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (HasDescriptorName)
     {
         output.WriteRawTag(10);
         output.WriteString(DescriptorName);
     }
     if (HasVersion)
     {
         output.WriteRawTag(32);
         output.WriteUInt32(Version);
     }
     if (HasShardName)
     {
         output.WriteRawTag(42);
         output.WriteString(ShardName);
     }
     if (HasResolveClientInstance)
     {
         output.WriteRawTag(48);
         output.WriteBool(ResolveClientInstance);
     }
     if (HasType)
     {
         output.WriteRawTag(56);
         output.WriteEnum((int)Type);
     }
     if (HasApiType)
     {
         output.WriteRawTag(66);
         output.WriteString(ApiType);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Beispiel #12
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (PlayerId.Length != 0)
     {
         output.WriteRawTag(10);
         output.WriteString(PlayerId);
     }
     if (PlayerName.Length != 0)
     {
         output.WriteRawTag(18);
         output.WriteString(PlayerName);
     }
     if (IsHouseOwner != false)
     {
         output.WriteRawTag(24);
         output.WriteBool(IsHouseOwner);
     }
     if (position_ != null)
     {
         output.WriteRawTag(34);
         output.WriteMessage(Position);
     }
     if (rotation_ != null)
     {
         output.WriteRawTag(42);
         output.WriteMessage(Rotation);
     }
     if (ExtraContent.Length != 0)
     {
         output.WriteRawTag(50);
         output.WriteString(ExtraContent);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Beispiel #13
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (FarmMonsterId != 0L)
     {
         output.WriteRawTag(8);
         output.WriteInt64(FarmMonsterId);
     }
     if (TrainerId != 0L)
     {
         output.WriteRawTag(16);
         output.WriteInt64(TrainerId);
     }
     if (NbPassives != 0)
     {
         output.WriteRawTag(24);
         output.WriteInt32(NbPassives);
     }
     if (IsShiny != false)
     {
         output.WriteRawTag(32);
         output.WriteBool(IsShiny);
     }
     if (U5 != 0L)
     {
         output.WriteRawTag(40);
         output.WriteInt64(U5);
     }
     if (U6 != 0)
     {
         output.WriteRawTag(48);
         output.WriteInt32(U6);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Beispiel #14
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (PlayerId != 0)
     {
         output.WriteRawTag(8);
         output.WriteInt32(PlayerId);
     }
     if (UserName.Length != 0)
     {
         output.WriteRawTag(18);
         output.WriteString(UserName);
     }
     if (Role != 0)
     {
         output.WriteRawTag(24);
         output.WriteEnum((int)Role);
     }
     if (IsReady != false)
     {
         output.WriteRawTag(32);
         output.WriteBool(IsReady);
     }
     if (Runes != 0)
     {
         output.WriteRawTag(40);
         output.WriteInt32(Runes);
     }
     if (Faction != 0)
     {
         output.WriteRawTag(48);
         output.WriteInt32(Faction);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (LoginActionId != 0)
     {
         output.WriteRawTag(8);
         output.WriteEnum((int)LoginActionId);
     }
     if (FirstTime != false)
     {
         output.WriteRawTag(16);
         output.WriteBool(FirstTime);
     }
     if (Success.Length != 0)
     {
         output.WriteRawTag(26);
         output.WriteString(Success);
     }
     if (Error.Length != 0)
     {
         output.WriteRawTag(34);
         output.WriteString(Error);
     }
     if (IntentExisting.Length != 0)
     {
         output.WriteRawTag(42);
         output.WriteString(IntentExisting);
     }
     if (AuthStatus.Length != 0)
     {
         output.WriteRawTag(50);
         output.WriteString(AuthStatus);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Beispiel #16
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (commonTelemetry_ != null)
     {
         output.WriteRawTag(10);
         output.WriteMessage(CommonTelemetry);
     }
     if (datapointValueCase_ == DatapointValueOneofCase.LongValue)
     {
         output.WriteRawTag(16);
         output.WriteInt64(LongValue);
     }
     if (datapointValueCase_ == DatapointValueOneofCase.DoubleValue)
     {
         output.WriteRawTag(25);
         output.WriteDouble(DoubleValue);
     }
     if (datapointValueCase_ == DatapointValueOneofCase.BooleanValue)
     {
         output.WriteRawTag(32);
         output.WriteBool(BooleanValue);
     }
     if (datapointValueCase_ == DatapointValueOneofCase.Distribution)
     {
         output.WriteRawTag(42);
         output.WriteMessage(Distribution);
     }
     if (MetricKind != 0)
     {
         output.WriteRawTag(48);
         output.WriteEnum((int)MetricKind);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Beispiel #17
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (AvatarCustomizationClickId != 0)
     {
         output.WriteRawTag(8);
         output.WriteEnum((int)AvatarCustomizationClickId);
     }
     if (AssetName.Length != 0)
     {
         output.WriteRawTag(18);
         output.WriteString(AssetName);
     }
     if (Sku.Length != 0)
     {
         output.WriteRawTag(26);
         output.WriteString(Sku);
     }
     if (HasEnoughCoins != false)
     {
         output.WriteRawTag(32);
         output.WriteBool(HasEnoughCoins);
     }
     if (GroupName.Length != 0)
     {
         output.WriteRawTag(42);
         output.WriteString(GroupName);
     }
     if (ColorChoiceId.Length != 0)
     {
         output.WriteRawTag(50);
         output.WriteString(ColorChoiceId);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Priority != global::Envoy.Api.V3Alpha.Core.RoutingPriority.Default)
     {
         output.WriteRawTag(8);
         output.WriteEnum((int)Priority);
     }
     if (maxConnections_ != null)
     {
         _single_maxConnections_codec.WriteTagAndValue(output, MaxConnections);
     }
     if (maxPendingRequests_ != null)
     {
         _single_maxPendingRequests_codec.WriteTagAndValue(output, MaxPendingRequests);
     }
     if (maxRequests_ != null)
     {
         _single_maxRequests_codec.WriteTagAndValue(output, MaxRequests);
     }
     if (maxRetries_ != null)
     {
         _single_maxRetries_codec.WriteTagAndValue(output, MaxRetries);
     }
     if (TrackRemaining != false)
     {
         output.WriteRawTag(48);
         output.WriteBool(TrackRemaining);
     }
     if (maxConnectionPools_ != null)
     {
         _single_maxConnectionPools_codec.WriteTagAndValue(output, MaxConnectionPools);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Beispiel #19
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (HasBoolValue)
     {
         output.WriteRawTag(8);
         output.WriteBool(BoolValue);
     }
     if (HasIntValue)
     {
         output.WriteRawTag(16);
         output.WriteInt64(IntValue);
     }
     if (HasFloatValue)
     {
         output.WriteRawTag(25);
         output.WriteDouble(FloatValue);
     }
     if (HasStringValue)
     {
         output.WriteRawTag(34);
         output.WriteString(StringValue);
     }
     if (HasBlobValue)
     {
         output.WriteRawTag(42);
         output.WriteBytes(BlobValue);
     }
     if (HasUintValue)
     {
         output.WriteRawTag(48);
         output.WriteUInt64(UintValue);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Beispiel #20
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (QuestGroupId != 0L)
     {
         output.WriteRawTag(8);
         output.WriteInt64(QuestGroupId);
     }
     if (Hall != 0)
     {
         output.WriteRawTag(16);
         output.WriteInt32(Hall);
     }
     if (StoryQuestId != 0L)
     {
         output.WriteRawTag(24);
         output.WriteInt64(StoryQuestId);
     }
     if (MilestoneItemSetId != 0L)
     {
         output.WriteRawTag(32);
         output.WriteInt64(MilestoneItemSetId);
     }
     if (VillaBonusZoneId != 0L)
     {
         output.WriteRawTag(40);
         output.WriteInt64(VillaBonusZoneId);
     }
     if (IsMilestone != false)
     {
         output.WriteRawTag(48);
         output.WriteBool(IsMilestone);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (VariableName.Length != 0)
     {
         output.WriteRawTag(10);
         output.WriteString(VariableName);
     }
     if (InitializerName.Length != 0)
     {
         output.WriteRawTag(18);
         output.WriteString(InitializerName);
     }
     if (SnapshotName.Length != 0)
     {
         output.WriteRawTag(26);
         output.WriteString(SnapshotName);
     }
     if (saveSliceInfoDef_ != null)
     {
         output.WriteRawTag(34);
         output.WriteMessage(SaveSliceInfoDef);
     }
     if (IsResource != false)
     {
         output.WriteRawTag(40);
         output.WriteBool(IsResource);
     }
     if (InitialValueName.Length != 0)
     {
         output.WriteRawTag(50);
         output.WriteString(InitialValueName);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Beispiel #22
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Mark != 0)
     {
         output.WriteRawTag(8);
         output.WriteInt32(Mark);
     }
     if (Tfo != global::V2Ray.Core.Transport.Internet.SocketConfig.Types.TCPFastOpenState.AsIs)
     {
         output.WriteRawTag(16);
         output.WriteEnum((int)Tfo);
     }
     if (Tproxy != global::V2Ray.Core.Transport.Internet.SocketConfig.Types.TProxyMode.Off)
     {
         output.WriteRawTag(24);
         output.WriteEnum((int)Tproxy);
     }
     if (ReceiveOriginalDestAddress != false)
     {
         output.WriteRawTag(32);
         output.WriteBool(ReceiveOriginalDestAddress);
     }
     if (BindAddress.Length != 0)
     {
         output.WriteRawTag(42);
         output.WriteBytes(BindAddress);
     }
     if (BindPort != 0)
     {
         output.WriteRawTag(48);
         output.WriteUInt32(BindPort);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Beispiel #23
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (ForceUpdate != false)
     {
         output.WriteRawTag(8);
         output.WriteBool(ForceUpdate);
     }
     if (ServerUri.Length != 0)
     {
         output.WriteRawTag(18);
         output.WriteString(ServerUri);
     }
     if (ActualEnvId.Length != 0)
     {
         output.WriteRawTag(26);
         output.WriteString(ActualEnvId);
     }
     if (ManifestVersion.Length != 0)
     {
         output.WriteRawTag(34);
         output.WriteString(ManifestVersion);
     }
     if (qualityLevel_ != null)
     {
         output.WriteRawTag(42);
         output.WriteMessage(QualityLevel);
     }
     if (ForceUpdateUrl.Length != 0)
     {
         output.WriteRawTag(50);
         output.WriteString(ForceUpdateUrl);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Beispiel #24
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (IsAlive != false)
     {
         output.WriteRawTag(8);
         output.WriteBool(IsAlive);
     }
     if (FoodX != 0F)
     {
         output.WriteRawTag(21);
         output.WriteFloat(FoodX);
     }
     if (FoodZ != 0F)
     {
         output.WriteRawTag(29);
         output.WriteFloat(FoodZ);
     }
     if (Hp != 0F)
     {
         output.WriteRawTag(37);
         output.WriteFloat(Hp);
     }
     if (Satiety != 0F)
     {
         output.WriteRawTag(45);
         output.WriteFloat(Satiety);
     }
     if (Reward != 0F)
     {
         output.WriteRawTag(53);
         output.WriteFloat(Reward);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Beispiel #25
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (kindCase_ == KindOneofCase.NullValue)
     {
         output.WriteRawTag(8);
         output.WriteEnum((int)NullValue);
     }
     if (kindCase_ == KindOneofCase.NumberValue)
     {
         output.WriteRawTag(17);
         output.WriteDouble(NumberValue);
     }
     if (kindCase_ == KindOneofCase.StringValue)
     {
         output.WriteRawTag(26);
         output.WriteString(StringValue);
     }
     if (kindCase_ == KindOneofCase.BoolValue)
     {
         output.WriteRawTag(32);
         output.WriteBool(BoolValue);
     }
     if (kindCase_ == KindOneofCase.StructValue)
     {
         output.WriteRawTag(42);
         output.WriteMessage(StructValue);
     }
     if (kindCase_ == KindOneofCase.ListValue)
     {
         output.WriteRawTag(50);
         output.WriteMessage(ListValue);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Beispiel #26
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (UserId != 0)
     {
         output.WriteRawTag(8);
         output.WriteInt32(UserId);
     }
     if (FirstName.Length != 0)
     {
         output.WriteRawTag(18);
         output.WriteString(FirstName);
     }
     if (LastName.Length != 0)
     {
         output.WriteRawTag(26);
         output.WriteString(LastName);
     }
     if (EmailAddress.Length != 0)
     {
         output.WriteRawTag(34);
         output.WriteString(EmailAddress);
     }
     if (IsAlive != false)
     {
         output.WriteRawTag(40);
         output.WriteBool(IsAlive);
     }
     if (Age != 0)
     {
         output.WriteRawTag(48);
         output.WriteInt32(Age);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Width != 0)
     {
         output.WriteRawTag(8);
         output.WriteInt32(Width);
     }
     if (Height != 0)
     {
         output.WriteRawTag(16);
         output.WriteInt32(Height);
     }
     if (QualityLevel != 0)
     {
         output.WriteRawTag(24);
         output.WriteInt32(QualityLevel);
     }
     if (TimeScale != 0F)
     {
         output.WriteRawTag(37);
         output.WriteFloat(TimeScale);
     }
     if (TargetFrameRate != 0)
     {
         output.WriteRawTag(40);
         output.WriteInt32(TargetFrameRate);
     }
     if (ShowMonitor != false)
     {
         output.WriteRawTag(48);
         output.WriteBool(ShowMonitor);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Beispiel #28
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (BoxSearchId != 0)
     {
         output.WriteRawTag(8);
         output.WriteInt32(BoxSearchId);
     }
     if (Step != 0)
     {
         output.WriteRawTag(16);
         output.WriteInt32(Step);
     }
     if (Order != 0L)
     {
         output.WriteRawTag(24);
         output.WriteInt64(Order);
     }
     if (IsGrandPrize != false)
     {
         output.WriteRawTag(32);
         output.WriteBool(IsGrandPrize);
     }
     if (ItemSetId != 0L)
     {
         output.WriteRawTag(40);
         output.WriteInt64(ItemSetId);
     }
     if (Quantity != 0)
     {
         output.WriteRawTag(48);
         output.WriteInt32(Quantity);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Beispiel #29
0
     public void WriteTo(pb::CodedOutputStream output)
     {
 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
         output.WriteRawMessage(this);
 #else
         if (ResourceName.Length != 0)
         {
             output.WriteRawTag(10);
             output.WriteString(ResourceName);
         }
         if (Id != 0L)
         {
             output.WriteRawTag(16);
             output.WriteInt64(Id);
         }
         if (Name.Length != 0)
         {
             output.WriteRawTag(26);
             output.WriteString(Name);
         }
         if (Parent.Length != 0)
         {
             output.WriteRawTag(34);
             output.WriteString(Parent);
         }
         if (LaunchedToAll != false)
         {
             output.WriteRawTag(40);
             output.WriteBool(LaunchedToAll);
         }
         availabilities_.WriteTo(output, _repeated_availabilities_codec);
         if (_unknownFields != null)
         {
             _unknownFields.WriteTo(output);
         }
 #endif
     }
Beispiel #30
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Name.Length != 0)
     {
         output.WriteRawTag(10);
         output.WriteString(Name);
     }
     if (Email.Length != 0)
     {
         output.WriteRawTag(18);
         output.WriteString(Email);
     }
     if (Phone.Length != 0)
     {
         output.WriteRawTag(26);
         output.WriteString(Phone);
     }
     if (Age != 0)
     {
         output.WriteRawTag(32);
         output.WriteInt32(Age);
     }
     if (Gender != false)
     {
         output.WriteRawTag(40);
         output.WriteBool(Gender);
     }
     if (AnnualIncome != 0D)
     {
         output.WriteRawTag(49);
         output.WriteDouble(AnnualIncome);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }