public void WriteTo(pb::CodedOutputStream output)
 {
     if (Value != 0F)
     {
         output.WriteRawTag(13);
         output.WriteFloat(Value);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (PowerUpStardustDiscountPercent != 0F)
     {
         output.WriteRawTag(13);
         output.WriteFloat(PowerUpStardustDiscountPercent);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Example #3
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Type != 0)
     {
         output.WriteRawTag(8);
         output.WriteEnum((int)Type);
     }
     if (valueCase_ == ValueOneofCase.IntValue)
     {
         output.WriteRawTag(16);
         output.WriteInt32(IntValue);
     }
     if (valueCase_ == ValueOneofCase.LongIntValue)
     {
         output.WriteRawTag(24);
         output.WriteInt64(LongIntValue);
     }
     if (valueCase_ == ValueOneofCase.BoolValue)
     {
         output.WriteRawTag(32);
         output.WriteBool(BoolValue);
     }
     if (valueCase_ == ValueOneofCase.StringValue)
     {
         output.WriteRawTag(42);
         output.WriteString(StringValue);
     }
     if (valueCase_ == ValueOneofCase.BytesValue)
     {
         output.WriteRawTag(50);
         output.WriteBytes(BytesValue);
     }
     if (valueCase_ == ValueOneofCase.FloatValue)
     {
         output.WriteRawTag(61);
         output.WriteFloat(FloatValue);
     }
     if (valueCase_ == ValueOneofCase.DoubleValue)
     {
         output.WriteRawTag(65);
         output.WriteDouble(DoubleValue);
     }
     if (ObjectTypeId != 0)
     {
         output.WriteRawTag(72);
         output.WriteInt32(ObjectTypeId);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Id.Length != 0)
     {
         output.WriteRawTag(10);
         output.WriteString(Id);
     }
     if (Receiver != 0)
     {
         output.WriteRawTag(16);
         output.WriteEnum((int)Receiver);
     }
     if (TargetReward != 0)
     {
         output.WriteRawTag(24);
         output.WriteEnum((int)TargetReward);
     }
     if (Modifier != 0F)
     {
         output.WriteRawTag(37);
         output.WriteFloat(Modifier);
     }
     if (bonusKindCase_ == BonusKindOneofCase.PlayerCount)
     {
         output.WriteRawTag(162, 1);
         output.WriteMessage(PlayerCount);
     }
     if (bonusKindCase_ == BonusKindOneofCase.FastCompletion)
     {
         output.WriteRawTag(170, 1);
         output.WriteMessage(FastCompletion);
     }
     if (bonusKindCase_ == BonusKindOneofCase.RuneLevel)
     {
         output.WriteRawTag(178, 1);
         output.WriteMessage(RuneLevel);
     }
     if (bonusKindCase_ == BonusKindOneofCase.DefeatedMobCount)
     {
         output.WriteRawTag(186, 1);
         output.WriteMessage(DefeatedMobCount);
     }
     if (bonusKindCase_ == BonusKindOneofCase.PlayerRatio)
     {
         output.WriteRawTag(194, 1);
         output.WriteMessage(PlayerRatio);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Example #5
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Data != 0)
     {
         output.WriteRawTag(24);
         output.WriteInt32(Data);
     }
     if (Result != 0F)
     {
         output.WriteRawTag(37);
         output.WriteFloat(Result);
     }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (EnemyBoneName.Length != 0)
     {
         output.WriteRawTag(10);
         output.WriteString(EnemyBoneName);
     }
     if (UiTargetRadius != 0F)
     {
         output.WriteRawTag(21);
         output.WriteFloat(UiTargetRadius);
     }
     if (ReticleTimeToFill != 0F)
     {
         output.WriteRawTag(29);
         output.WriteFloat(ReticleTimeToFill);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Example #7
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     offset_.WriteTo(output, _repeated_offset_codec);
     if (Radius != 0F)
     {
         output.WriteRawTag(21);
         output.WriteFloat(Radius);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Example #8
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     vectorActions_.WriteTo(output, _repeated_vectorActions_codec);
     if (Value != 0F)
     {
         output.WriteRawTag(37);
         output.WriteFloat(Value);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Example #9
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     energyGmtId_.WriteTo(output, _repeated_energyGmtId_codec);
     if (SkillModifier != 0F)
     {
         output.WriteRawTag(21);
         output.WriteFloat(SkillModifier);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (StardustMultiplier != 0F)
     {
         output.WriteRawTag(13);
         output.WriteFloat(StardustMultiplier);
     }
     if (BoostDurationMs != 0)
     {
         output.WriteRawTag(16);
         output.WriteInt32(BoostDurationMs);
     }
 }
Example #11
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Device.Length != 0)
     {
         output.WriteRawTag(10);
         output.WriteString(Device);
     }
     if (Celcius != 0F)
     {
         output.WriteRawTag(21);
         output.WriteFloat(Celcius);
     }
 }
Example #12
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Reward != 0F)
     {
         output.WriteRawTag(61);
         output.WriteFloat(Reward);
     }
     if (Done != false)
     {
         output.WriteRawTag(64);
         output.WriteBool(Done);
     }
     if (MaxStepReached != false)
     {
         output.WriteRawTag(72);
         output.WriteBool(MaxStepReached);
     }
     if (Id != 0)
     {
         output.WriteRawTag(80);
         output.WriteInt32(Id);
     }
     actionMask_.WriteTo(output, _repeated_actionMask_codec);
     observations_.WriteTo(output, _repeated_observations_codec);
     if (GroupId != 0)
     {
         output.WriteRawTag(112);
         output.WriteInt32(GroupId);
     }
     if (GroupReward != 0F)
     {
         output.WriteRawTag(125);
         output.WriteFloat(GroupReward);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Example #13
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Red != 0F)
     {
         output.WriteRawTag(13);
         output.WriteFloat(Red);
     }
     if (Green != 0F)
     {
         output.WriteRawTag(21);
         output.WriteFloat(Green);
     }
     if (Blue != 0F)
     {
         output.WriteRawTag(29);
         output.WriteFloat(Blue);
     }
     if (alpha_ != null)
     {
         _single_alpha_codec.WriteTagAndValue(output, Alpha);
     }
 }
Example #14
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Precision != 0F)
     {
         output.WriteRawTag(13);
         output.WriteFloat(Precision);
     }
     if (Confidence != 0F)
     {
         output.WriteRawTag(21);
         output.WriteFloat(Confidence);
     }
     if (AnswerRate != 0F)
     {
         output.WriteRawTag(29);
         output.WriteFloat(AnswerRate);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Example #15
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (North != 0F)
     {
         output.WriteRawTag(13);
         output.WriteFloat(North);
     }
     if (East != 0F)
     {
         output.WriteRawTag(21);
         output.WriteFloat(East);
     }
     if (Heading != 0F)
     {
         output.WriteRawTag(29);
         output.WriteFloat(Heading);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (PokemonScaleMode != 0)
     {
         output.WriteRawTag(8);
         output.WriteEnum((int)PokemonScaleMode);
     }
     if (MinHeight != 0F)
     {
         output.WriteRawTag(21);
         output.WriteFloat(MinHeight);
     }
     if (MaxHeight != 0F)
     {
         output.WriteRawTag(29);
         output.WriteFloat(MaxHeight);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Proximity != 0F)
     {
         output.WriteRawTag(13);
         output.WriteFloat(Proximity);
     }
     if (Awareness != 0F)
     {
         output.WriteRawTag(21);
         output.WriteFloat(Awareness);
     }
     if (PokemonFrightened != false)
     {
         output.WriteRawTag(24);
         output.WriteBool(PokemonFrightened);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Example #18
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (FrameId != 0)
     {
         output.WriteRawTag(8);
         output.WriteInt32(FrameId);
     }
     if (ConsumedFrameTime != 0F)
     {
         output.WriteRawTag(21);
         output.WriteFloat(ConsumedFrameTime);
     }
     if (FrameProcessingTime != 0F)
     {
         output.WriteRawTag(29);
         output.WriteFloat(FrameProcessingTime);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Example #19
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Type != 0)
     {
         output.WriteRawTag(8);
         output.WriteUInt32(Type);
     }
     if (Value != 0F)
     {
         output.WriteRawTag(21);
         output.WriteFloat(Value);
     }
 }
Example #20
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Name.Length != 0)
     {
         output.WriteRawTag(10);
         output.WriteString(Name);
     }
     if (Stiffness != 0F)
     {
         output.WriteRawTag(21);
         output.WriteFloat(Stiffness);
     }
     if (GravityPower != 0F)
     {
         output.WriteRawTag(29);
         output.WriteFloat(GravityPower);
     }
     gravityDir_.WriteTo(output, _repeated_gravityDir_codec);
     if (DragForce != 0F)
     {
         output.WriteRawTag(45);
         output.WriteFloat(DragForce);
     }
     if (center_ != null)
     {
         _single_center_codec.WriteTagAndValue(output, Center);
     }
     if (HitRadius != 0F)
     {
         output.WriteRawTag(61);
         output.WriteFloat(HitRadius);
     }
     bones_.WriteTo(output, _repeated_bones_codec);
     colliderGroups_.WriteTo(output, _repeated_colliderGroups_codec);
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Example #21
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (StaPercent != 0F)
     {
         output.WriteRawTag(13);
         output.WriteFloat(StaPercent);
     }
     if (StaAmount != 0)
     {
         output.WriteRawTag(16);
         output.WriteInt32(StaAmount);
     }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (MalePercent != 0F)
     {
         output.WriteRawTag(13);
         output.WriteFloat(MalePercent);
     }
     if (FemalePercent != 0F)
     {
         output.WriteRawTag(21);
         output.WriteFloat(FemalePercent);
     }
     if (GenderlessPercent != 0F)
     {
         output.WriteRawTag(29);
         output.WriteFloat(GenderlessPercent);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Example #23
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (ErrorCode != 0)
     {
         output.WriteRawTag(8);
         output.WriteInt32(ErrorCode);
     }
     if (Version != 0F)
     {
         output.WriteRawTag(21);
         output.WriteFloat(Version);
     }
 }
Example #24
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (WinRate != 0F)
     {
         output.WriteRawTag(13);
         output.WriteFloat(WinRate);
     }
     moveRating_.WriteTo(output, _repeated_moveRating_codec);
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (YScale != 0F)
     {
         output.WriteRawTag(13);
         output.WriteFloat(YScale);
     }
     if (XScale != 0F)
     {
         output.WriteRawTag(21);
         output.WriteFloat(XScale);
     }
     if (LengthScale != 0F)
     {
         output.WriteRawTag(29);
         output.WriteFloat(LengthScale);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (AuPrc != 0F)
     {
         output.WriteRawTag(13);
         output.WriteFloat(AuPrc);
     }
     confidenceMetricsEntries_.WriteTo(output, _repeated_confidenceMetricsEntries_codec);
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Example #27
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (X != 0F)
     {
         output.WriteRawTag(13);
         output.WriteFloat(X);
     }
     if (Y != 0F)
     {
         output.WriteRawTag(21);
         output.WriteFloat(Y);
     }
     if (Z != 0F)
     {
         output.WriteRawTag(29);
         output.WriteFloat(Z);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (CaptureRewardMultiplier != 0F)
     {
         output.WriteRawTag(13);
         output.WriteFloat(CaptureRewardMultiplier);
     }
     avatarTemplateIds_.WriteTo(output, _repeated_avatarTemplateIds_codec);
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }
Example #29
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (Label.Length != 0)
     {
         output.WriteRawTag(10);
         output.WriteString(Label);
     }
     if (Score != 0F)
     {
         output.WriteRawTag(21);
         output.WriteFloat(Score);
     }
 }
Example #30
0
 public void WriteTo(pb::CodedOutputStream output)
 {
     if (UserId.Length != 0)
     {
         output.WriteRawTag(10);
         output.WriteString(UserId);
     }
     if (X != 0F)
     {
         output.WriteRawTag(21);
         output.WriteFloat(X);
     }
     if (Y != 0F)
     {
         output.WriteRawTag(29);
         output.WriteFloat(Y);
     }
     if (_unknownFields != null)
     {
         _unknownFields.WriteTo(output);
     }
 }