public void MergeFrom(EncounterTutorialCompleteResponse other) { if (other == null) { return; } if (other.Result != 0) { Result = other.Result; } if (other.pokemonData_ != null) { if (pokemonData_ == null) { pokemonData_ = new global::POGOProtos.Data.PokemonData(); } PokemonData.MergeFrom(other.PokemonData); } if (other.captureAward_ != null) { if (captureAward_ == null) { captureAward_ = new global::POGOProtos.Data.Capture.CaptureAward(); } CaptureAward.MergeFrom(other.CaptureAward); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 8: { result_ = (global::POGOProtos.Networking.Responses.UseItemMoveRerollResponse.Types.Result)input.ReadEnum(); break; } case 18: { if (upgradedPokemon_ == null) { upgradedPokemon_ = new global::POGOProtos.Data.PokemonData(); } input.ReadMessage(upgradedPokemon_); break; } } } }
public void MergeFrom(DiskEncounterResponse other) { if (other == null) { return; } if (other.Result != 0) { Result = other.Result; } if (other.pokemonData_ != null) { if (pokemonData_ == null) { pokemonData_ = new global::POGOProtos.Data.PokemonData(); } PokemonData.MergeFrom(other.PokemonData); } if (other.captureProbability_ != null) { if (captureProbability_ == null) { captureProbability_ = new global::POGOProtos.Data.Capture.CaptureProbability(); } CaptureProbability.MergeFrom(other.CaptureProbability); } if (other.ActiveItem != 0) { ActiveItem = other.ActiveItem; } if (other.ArplusAttemptsUntilFlee != 0) { ArplusAttemptsUntilFlee = other.ArplusAttemptsUntilFlee; } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { result_ = (global::POGOProtos.Networking.Responses.UpgradePokemonResponse.Types.Result)input.ReadEnum(); break; } case 18: { if (upgradedPokemon_ == null) { upgradedPokemon_ = new global::POGOProtos.Data.PokemonData(); } input.ReadMessage(upgradedPokemon_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { result_ = (global::POGOProtos.Data.Logs.TradingLogEntry.Types.Result)input.ReadEnum(); break; } case 18: { FriendCodename = input.ReadString(); break; } case 26: { if (tradeOutPokemon_ == null) { tradeOutPokemon_ = new global::POGOProtos.Data.PokemonData(); } input.ReadMessage(tradeOutPokemon_); break; } case 34: { if (tradeInPokemon_ == null) { tradeInPokemon_ = new global::POGOProtos.Data.PokemonData(); } input.ReadMessage(tradeInPokemon_); break; } case 42: { if (rewards_ == null) { rewards_ = new global::POGOProtos.Inventory.Loot(); } input.ReadMessage(rewards_); break; } case 50: { if (price_ == null) { price_ = new global::POGOProtos.Inventory.Loot(); } input.ReadMessage(price_); break; } } } }
public void MergeFrom(EvolvePokemonResponse other) { if (other == null) { return; } if (other.Result != 0) { Result = other.Result; } if (other.evolvedPokemonData_ != null) { if (evolvedPokemonData_ == null) { evolvedPokemonData_ = new global::POGOProtos.Data.PokemonData(); } EvolvedPokemonData.MergeFrom(other.EvolvedPokemonData); } if (other.ExperienceAwarded != 0) { ExperienceAwarded = other.ExperienceAwarded; } if (other.CandyAwarded != 0) { CandyAwarded = other.CandyAwarded; } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (pokemonData_ == null) { pokemonData_ = new global::POGOProtos.Data.PokemonData(); } input.ReadMessage(pokemonData_); break; } case 18: { if (trainerPublicProfile_ == null) { trainerPublicProfile_ = new global::POGOProtos.Data.Player.PlayerPublicProfile(); } input.ReadMessage(trainerPublicProfile_); break; } } } }
public void MergeFrom(FortDeployPokemonResponse other) { if (other == null) { return; } if (other.Result != 0) { Result = other.Result; } if (other.fortDetails_ != null) { if (fortDetails_ == null) { fortDetails_ = new global::POGOProtos.Networking.Responses.FortDetailsResponse(); } FortDetails.MergeFrom(other.FortDetails); } if (other.pokemonData_ != null) { if (pokemonData_ == null) { pokemonData_ = new global::POGOProtos.Data.PokemonData(); } PokemonData.MergeFrom(other.PokemonData); } if (other.gymState_ != null) { if (gymState_ == null) { gymState_ = new global::POGOProtos.Data.Gym.GymState(); } GymState.MergeFrom(other.GymState); } }
public void MergeFrom(IncenseEncounterResponse other) { if (other == null) { return; } if (other.Result != 0) { Result = other.Result; } if (other.pokemonData_ != null) { if (pokemonData_ == null) { pokemonData_ = new global::POGOProtos.Data.PokemonData(); } PokemonData.MergeFrom(other.PokemonData); } if (other.captureProbability_ != null) { if (captureProbability_ == null) { captureProbability_ = new global::POGOProtos.Data.Capture.CaptureProbability(); } CaptureProbability.MergeFrom(other.CaptureProbability); } }
public void MergeFrom(GymMembership other) { if (other == null) { return; } if (other.pokemonData_ != null) { if (pokemonData_ == null) { pokemonData_ = new global::POGOProtos.Data.PokemonData(); } PokemonData.MergeFrom(other.PokemonData); } if (other.trainerPublicProfile_ != null) { if (trainerPublicProfile_ == null) { trainerPublicProfile_ = new global::POGOProtos.Data.Player.PlayerPublicProfile(); } TrainerPublicProfile.MergeFrom(other.TrainerPublicProfile); } if (other.trainingPokemon_ != null) { if (trainingPokemon_ == null) { trainingPokemon_ = new global::POGOProtos.Data.PokemonData(); } TrainingPokemon.MergeFrom(other.TrainingPokemon); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (pokemonData_ == null) { pokemonData_ = new global::POGOProtos.Data.PokemonData(); } input.ReadMessage(pokemonData_); break; } case 16: { CurrentHealth = input.ReadInt32(); break; } case 24: { CurrentEnergy = input.ReadInt32(); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (pokemon_ == null) { pokemon_ = new global::POGOProtos.Data.PokemonData(); } input.ReadMessage(pokemon_); break; } case 16: { DeployMs = input.ReadInt64(); break; } case 24: { CpWhenDeployed = input.ReadInt32(); break; } case 33: { MotivationNow = input.ReadDouble(); break; } case 40: { CpNow = input.ReadInt32(); break; } case 53: { BerryValue = input.ReadFloat(); break; } case 56: { FeedCooldownDurationMillis = input.ReadInt64(); break; } case 66: { foodValue_.AddEntriesFrom(input, _repeated_foodValue_codec); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (pokemon_ == null) { pokemon_ = new global::POGOProtos.Data.PokemonData(); } input.ReadMessage(pokemon_); break; } case 16: { EncounterId = input.ReadInt64(); break; } case 26: { SpawnpointId = input.ReadString(); break; } case 34: { if (captureProbabilities_ == null) { captureProbabilities_ = new global::POGOProtos.Data.Capture.CaptureProbability(); } input.ReadMessage(captureProbabilities_); break; } case 40: { ThrowsRemaining = input.ReadInt32(); break; } case 48: { raidLevel_ = (global::POGOProtos.Enums.RaidLevel)input.ReadEnum(); break; } case 58: { FortId = input.ReadString(); break; } } } }
public void MergeFrom(FortDetailsResponse other) { if (other == null) { return; } if (other.FortId.Length != 0) { FortId = other.FortId; } if (other.TeamColor != 0) { TeamColor = other.TeamColor; } if (other.pokemonData_ != null) { if (pokemonData_ == null) { pokemonData_ = new global::POGOProtos.Data.PokemonData(); } PokemonData.MergeFrom(other.PokemonData); } if (other.Name.Length != 0) { Name = other.Name; } imageUrls_.Add(other.imageUrls_); if (other.Fp != 0) { Fp = other.Fp; } if (other.Stamina != 0) { Stamina = other.Stamina; } if (other.MaxStamina != 0) { MaxStamina = other.MaxStamina; } if (other.Type != 0) { Type = other.Type; } if (other.Latitude != 0D) { Latitude = other.Latitude; } if (other.Longitude != 0D) { Longitude = other.Longitude; } if (other.Description.Length != 0) { Description = other.Description; } modifiers_.Add(other.modifiers_); }
public void MergeFrom(ExclusiveTicketInfo other) { if (other == null) { return; } if (other.RaidSeed != 0L) { RaidSeed = other.RaidSeed; } if (other.FortId.Length != 0) { FortId = other.FortId; } if (other.StartTimeMs != 0L) { StartTimeMs = other.StartTimeMs; } if (other.EndTimeMs != 0L) { EndTimeMs = other.EndTimeMs; } if (other.ImageUrl.Length != 0) { ImageUrl = other.ImageUrl; } if (other.Latitude != 0D) { Latitude = other.Latitude; } if (other.Longitude != 0D) { Longitude = other.Longitude; } if (other.GymName.Length != 0) { GymName = other.GymName; } if (other.SpawnTimeMs != 0L) { SpawnTimeMs = other.SpawnTimeMs; } if (other.IsCancelled != false) { IsCancelled = other.IsCancelled; } if (other.raidPokemon_ != null) { if (raidPokemon_ == null) { raidPokemon_ = new global::POGOProtos.Data.PokemonData(); } RaidPokemon.MergeFrom(other.RaidPokemon); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { result_ = (global::POGOProtos.Networking.Responses.Social.OpenGiftResponse.Types.Result)input.ReadEnum(); break; } case 18: { if (items_ == null) { items_ = new global::POGOProtos.Inventory.Loot(); } input.ReadMessage(items_); break; } case 26: { if (eggPokemon_ == null) { eggPokemon_ = new global::POGOProtos.Data.PokemonData(); } input.ReadMessage(eggPokemon_); break; } case 34: { if (updatedFriendshipData_ == null) { updatedFriendshipData_ = new global::POGOProtos.Data.Friends.FriendshipLevelData(); } input.ReadMessage(updatedFriendshipData_); break; } case 42: { if (friendProfile_ == null) { friendProfile_ = new global::POGOProtos.Data.Player.PlayerPublicProfile(); } input.ReadMessage(friendProfile_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 9: { EncounterId = input.ReadFixed64(); break; } case 16: { LastModifiedTimestampMs = input.ReadInt64(); break; } case 25: { Latitude = input.ReadDouble(); break; } case 33: { Longitude = input.ReadDouble(); break; } case 42: { SpawnPointId = input.ReadString(); break; } case 58: { if (pokemonData_ == null) { pokemonData_ = new global::POGOProtos.Data.PokemonData(); } input.ReadMessage(pokemonData_); break; } case 88: { TimeTillHiddenMs = input.ReadInt32(); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 8: { result_ = (global::POGOProtos.Networking.Responses.FortSearchResponse.Types.Result)input.ReadEnum(); break; } case 18: { itemsAwarded_.AddEntriesFrom(input, _repeated_itemsAwarded_codec); break; } case 24: { GemsAwarded = input.ReadInt32(); break; } case 34: { if (pokemonDataEgg_ == null) { pokemonDataEgg_ = new global::POGOProtos.Data.PokemonData(); } input.ReadMessage(pokemonDataEgg_); break; } case 40: { ExperienceAwarded = input.ReadInt32(); break; } case 48: { CooldownCompleteTimestampMs = input.ReadInt64(); break; } case 56: { ChainHackSequenceNumber = input.ReadInt32(); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { item_ = (global::POGOProtos.Inventory.Item.ItemId)input.ReadEnum(); break; } case 16: { Stardust = input.ReadBool(); break; } case 24: { Pokecoin = input.ReadBool(); break; } case 32: { pokemonCandy_ = (global::POGOProtos.Enums.PokemonId)input.ReadEnum(); break; } case 40: { Count = input.ReadInt32(); break; } case 48: { Experience = input.ReadBool(); break; } case 58: { if (pokemonEgg_ == null) { pokemonEgg_ = new global::POGOProtos.Data.PokemonData(); } input.ReadMessage(pokemonEgg_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 8: { result_ = (global::POGOProtos.Networking.Responses.FortDeployPokemonResponse.Types.Result)input.ReadEnum(); break; } case 18: { if (fortDetails_ == null) { fortDetails_ = new global::POGOProtos.Networking.Responses.FortDetailsResponse(); } input.ReadMessage(fortDetails_); break; } case 26: { if (pokemonData_ == null) { pokemonData_ = new global::POGOProtos.Data.PokemonData(); } input.ReadMessage(pokemonData_); break; } case 34: { if (gymState_ == null) { gymState_ = new global::POGOProtos.Data.Gym.GymState(); } input.ReadMessage(gymState_); break; } } } }
public void MergeFrom(RaidInfo other) { if (other == null) { return; } if (other.RaidSeed != 0L) { RaidSeed = other.RaidSeed; } if (other.RaidSpawnMs != 0L) { RaidSpawnMs = other.RaidSpawnMs; } if (other.RaidBattleMs != 0L) { RaidBattleMs = other.RaidBattleMs; } if (other.RaidEndMs != 0L) { RaidEndMs = other.RaidEndMs; } if (other.raidPokemon_ != null) { if (raidPokemon_ == null) { raidPokemon_ = new global::POGOProtos.Data.PokemonData(); } RaidPokemon.MergeFrom(other.RaidPokemon); } if (other.RaidLevel != 0) { RaidLevel = other.RaidLevel; } if (other.Complete != false) { Complete = other.Complete; } if (other.IsExclusive != false) { IsExclusive = other.IsExclusive; } if (other.IsRaidHidden != false) { IsRaidHidden = other.IsRaidHidden; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(TradingLogEntry other) { if (other == null) { return; } if (other.Result != 0) { Result = other.Result; } if (other.FriendCodename.Length != 0) { FriendCodename = other.FriendCodename; } if (other.tradeOutPokemon_ != null) { if (tradeOutPokemon_ == null) { tradeOutPokemon_ = new global::POGOProtos.Data.PokemonData(); } TradeOutPokemon.MergeFrom(other.TradeOutPokemon); } if (other.tradeInPokemon_ != null) { if (tradeInPokemon_ == null) { tradeInPokemon_ = new global::POGOProtos.Data.PokemonData(); } TradeInPokemon.MergeFrom(other.TradeInPokemon); } if (other.rewards_ != null) { if (rewards_ == null) { rewards_ = new global::POGOProtos.Inventory.Loot(); } Rewards.MergeFrom(other.Rewards); } if (other.price_ != null) { if (price_ == null) { price_ = new global::POGOProtos.Inventory.Loot(); } Price.MergeFrom(other.Price); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { result_ = (global::POGOProtos.Networking.Responses.IncenseEncounterResponse.Types.Result)input.ReadEnum(); break; } case 18: { if (pokemonData_ == null) { pokemonData_ = new global::POGOProtos.Data.PokemonData(); } input.ReadMessage(pokemonData_); break; } case 26: { if (captureProbability_ == null) { captureProbability_ = new global::POGOProtos.Data.Capture.CaptureProbability(); } input.ReadMessage(captureProbability_); break; } case 32: { activeItem_ = (global::POGOProtos.Inventory.Item.ItemId)input.ReadEnum(); break; } case 40: { ArplusAttemptsUntilFlee = input.ReadInt32(); break; } } } }
public void MergeFrom(RaidEncounter other) { if (other == null) { return; } if (other.pokemon_ != null) { if (pokemon_ == null) { pokemon_ = new global::POGOProtos.Data.PokemonData(); } Pokemon.MergeFrom(other.Pokemon); } if (other.EncounterId != 0L) { EncounterId = other.EncounterId; } if (other.SpawnpointId.Length != 0) { SpawnpointId = other.SpawnpointId; } if (other.captureProbabilities_ != null) { if (captureProbabilities_ == null) { captureProbabilities_ = new global::POGOProtos.Data.Capture.CaptureProbability(); } CaptureProbabilities.MergeFrom(other.CaptureProbabilities); } if (other.ThrowsRemaining != 0) { ThrowsRemaining = other.ThrowsRemaining; } if (other.RaidLevel != 0) { RaidLevel = other.RaidLevel; } if (other.FortId.Length != 0) { FortId = other.FortId; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(OpenGiftResponse other) { if (other == null) { return; } if (other.Result != 0) { Result = other.Result; } if (other.items_ != null) { if (items_ == null) { items_ = new global::POGOProtos.Inventory.Loot(); } Items.MergeFrom(other.Items); } if (other.eggPokemon_ != null) { if (eggPokemon_ == null) { eggPokemon_ = new global::POGOProtos.Data.PokemonData(); } EggPokemon.MergeFrom(other.EggPokemon); } if (other.updatedFriendshipData_ != null) { if (updatedFriendshipData_ == null) { updatedFriendshipData_ = new global::POGOProtos.Data.Friends.FriendshipLevelData(); } UpdatedFriendshipData.MergeFrom(other.UpdatedFriendshipData); } if (other.friendProfile_ != null) { if (friendProfile_ == null) { friendProfile_ = new global::POGOProtos.Data.Player.PlayerPublicProfile(); } FriendProfile.MergeFrom(other.FriendProfile); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(UseItemMoveRerollResponse other) { if (other == null) { return; } if (other.Result != 0) { Result = other.Result; } if (other.upgradedPokemon_ != null) { if (upgradedPokemon_ == null) { upgradedPokemon_ = new global::POGOProtos.Data.PokemonData(); } UpgradedPokemon.MergeFrom(other.UpgradedPokemon); } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 8: { result_ = (global::POGOProtos.Networking.Responses.IncenseEncounterResponse.Types.Result)input.ReadEnum(); break; } case 18: { if (pokemonData_ == null) { pokemonData_ = new global::POGOProtos.Data.PokemonData(); } input.ReadMessage(pokemonData_); break; } case 26: { if (captureProbability_ == null) { captureProbability_ = new global::POGOProtos.Data.Capture.CaptureProbability(); } input.ReadMessage(captureProbability_); break; } case 32: { activeItem_ = (global::POGOProtos.Inventory.Item.ItemId)input.ReadEnum(); break; } } } }
public void MergeFrom(UpgradePokemonResponse other) { if (other == null) { return; } if (other.Result != 0) { Result = other.Result; } if (other.upgradedPokemon_ != null) { if (upgradedPokemon_ == null) { upgradedPokemon_ = new global::POGOProtos.Data.PokemonData(); } UpgradedPokemon.MergeFrom(other.UpgradedPokemon); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (pokemonData_ == null) { pokemonData_ = new global::POGOProtos.Data.PokemonData(); } input.ReadMessage(pokemonData_); break; } case 18: { if (trainerPublicProfile_ == null) { trainerPublicProfile_ = new global::POGOProtos.Data.Player.PlayerPublicProfile(); } input.ReadMessage(trainerPublicProfile_); break; } case 26: { if (trainingPokemon_ == null) { trainingPokemon_ = new global::POGOProtos.Data.PokemonData(); } input.ReadMessage(trainingPokemon_); break; } } } }
public void MergeFrom(MotivatedPokemon other) { if (other == null) { return; } if (other.pokemon_ != null) { if (pokemon_ == null) { pokemon_ = new global::POGOProtos.Data.PokemonData(); } Pokemon.MergeFrom(other.Pokemon); } if (other.DeployMs != 0L) { DeployMs = other.DeployMs; } if (other.CpWhenDeployed != 0) { CpWhenDeployed = other.CpWhenDeployed; } if (other.MotivationNow != 0D) { MotivationNow = other.MotivationNow; } if (other.CpNow != 0) { CpNow = other.CpNow; } if (other.BerryValue != 0F) { BerryValue = other.BerryValue; } if (other.FeedCooldownDurationMillis != 0L) { FeedCooldownDurationMillis = other.FeedCooldownDurationMillis; } foodValue_.Add(other.foodValue_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }