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(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(BattleParticipant other) { if (other == null) { return; } if (other.activePokemon_ != null) { if (activePokemon_ == null) { activePokemon_ = new global::POGOProtos.Data.Battle.BattlePokemonInfo(); } ActivePokemon.MergeFrom(other.ActivePokemon); } if (other.trainerPublicProfile_ != null) { if (trainerPublicProfile_ == null) { trainerPublicProfile_ = new global::POGOProtos.Data.Player.PlayerPublicProfile(); } TrainerPublicProfile.MergeFrom(other.TrainerPublicProfile); } reversePokemon_.Add(other.reversePokemon_); defeatedPokemon_.Add(other.defeatedPokemon_); }
public void MergeFrom(GymDefender other) { if (other == null) { return; } if (other.motivatedPokemon_ != null) { if (motivatedPokemon_ == null) { motivatedPokemon_ = new global::POGOProtos.Map.Pokemon.MotivatedPokemon(); } MotivatedPokemon.MergeFrom(other.MotivatedPokemon); } if (other.deploymentTotals_ != null) { if (deploymentTotals_ == null) { deploymentTotals_ = new global::POGOProtos.Data.Gym.GymDefender.Types.DeploymentTotals(); } DeploymentTotals.MergeFrom(other.DeploymentTotals); } if (other.trainerPublicProfile_ != null) { if (trainerPublicProfile_ == null) { trainerPublicProfile_ = new global::POGOProtos.Data.Player.PlayerPublicProfile(); } TrainerPublicProfile.MergeFrom(other.TrainerPublicProfile); } _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(TradingPlayer other) { if (other == null) { return; } if (other.PlayerId.Length != 0) { PlayerId = other.PlayerId; } if (other.publicProfile_ != null) { if (publicProfile_ == null) { publicProfile_ = new global::POGOProtos.Data.Player.PlayerPublicProfile(); } PublicProfile.MergeFrom(other.PublicProfile); } excludedPokemon_.Add(other.excludedPokemon_); if (other.tradingPokemon_ != null) { if (tradingPokemon_ == null) { tradingPokemon_ = new global::POGOProtos.Data.Trading.TradingPokemon(); } TradingPokemon.MergeFrom(other.TradingPokemon); } if (other.bonus_ != null) { if (bonus_ == null) { bonus_ = new global::POGOProtos.Inventory.Loot(); } Bonus.MergeFrom(other.Bonus); } if (other.price_ != null) { if (price_ == null) { price_ = new global::POGOProtos.Inventory.Loot(); } Price.MergeFrom(other.Price); } if (other.CanAffordTrading != false) { CanAffordTrading = other.CanAffordTrading; } if (other.HasConfirmed != false) { HasConfirmed = other.HasConfirmed; } _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 10: { if (activePokemon_ == null) { activePokemon_ = new global::POGOProtos.Data.Battle.BattlePokemonInfo(); } input.ReadMessage(activePokemon_); break; } case 18: { if (trainerPublicProfile_ == null) { trainerPublicProfile_ = new global::POGOProtos.Data.Player.PlayerPublicProfile(); } input.ReadMessage(trainerPublicProfile_); break; } case 26: { reversePokemon_.AddEntriesFrom(input, _repeated_reversePokemon_codec); break; } case 34: { defeatedPokemon_.AddEntriesFrom(input, _repeated_defeatedPokemon_codec); break; } case 42: { lobbyPokemon_.AddEntriesFrom(input, _repeated_lobbyPokemon_codec); break; } case 48: { DamageDealt = input.ReadInt32(); break; } } } }
public void MergeFrom(BattleParticipant other) { if (other == null) { return; } if (other.activePokemon_ != null) { if (activePokemon_ == null) { activePokemon_ = new global::POGOProtos.Data.Battle.BattlePokemonInfo(); } ActivePokemon.MergeFrom(other.ActivePokemon); } if (other.trainerPublicProfile_ != null) { if (trainerPublicProfile_ == null) { trainerPublicProfile_ = new global::POGOProtos.Data.Player.PlayerPublicProfile(); } TrainerPublicProfile.MergeFrom(other.TrainerPublicProfile); } reversePokemon_.Add(other.reversePokemon_); defeatedPokemon_.Add(other.defeatedPokemon_); lobbyPokemon_.Add(other.lobbyPokemon_); if (other.DamageDealt != 0) { DamageDealt = other.DamageDealt; } if (other.SuperEffectiveChargeMove != false) { SuperEffectiveChargeMove = other.SuperEffectiveChargeMove; } if (other.WeatherBoosted != false) { WeatherBoosted = other.WeatherBoosted; } if (other.HighestFriendshipMilestone != 0) { HighestFriendshipMilestone = other.HighestFriendshipMilestone; } friendCodename_.Add(other.friendCodename_); _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(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(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (motivatedPokemon_ == null) { motivatedPokemon_ = new global::POGOProtos.Map.Pokemon.MotivatedPokemon(); } input.ReadMessage(motivatedPokemon_); break; } case 18: { if (deploymentTotals_ == null) { deploymentTotals_ = new global::POGOProtos.Data.Gym.GymDefender.Types.DeploymentTotals(); } input.ReadMessage(deploymentTotals_); break; } case 26: { if (trainerPublicProfile_ == null) { trainerPublicProfile_ = new global::POGOProtos.Data.Player.PlayerPublicProfile(); } input.ReadMessage(trainerPublicProfile_); break; } } } }
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); } }
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 (activePokemon_ == null) { activePokemon_ = new global::POGOProtos.Data.Battle.BattlePokemonInfo(); } input.ReadMessage(activePokemon_); break; } case 18: { if (trainerPublicProfile_ == null) { trainerPublicProfile_ = new global::POGOProtos.Data.Player.PlayerPublicProfile(); } input.ReadMessage(trainerPublicProfile_); break; } case 26: { reversePokemon_.AddEntriesFrom(input, _repeated_reversePokemon_codec); break; } case 34: { defeatedPokemon_.AddEntriesFrom(input, _repeated_defeatedPokemon_codec); break; } case 42: { lobbyPokemon_.AddEntriesFrom(input, _repeated_lobbyPokemon_codec); break; } case 48: { DamageDealt = input.ReadInt32(); break; } case 56: { SuperEffectiveChargeMove = input.ReadBool(); break; } case 64: { WeatherBoosted = input.ReadBool(); 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: { PlayerId = input.ReadString(); break; } case 18: { if (publicProfile_ == null) { publicProfile_ = new global::POGOProtos.Data.Player.PlayerPublicProfile(); } input.ReadMessage(publicProfile_); break; } case 26: { excludedPokemon_.AddEntriesFrom(input, _repeated_excludedPokemon_codec); break; } case 34: { if (tradingPokemon_ == null) { tradingPokemon_ = new global::POGOProtos.Data.Trading.TradingPokemon(); } input.ReadMessage(tradingPokemon_); break; } case 42: { if (bonus_ == null) { bonus_ = new global::POGOProtos.Inventory.Loot(); } input.ReadMessage(bonus_); break; } case 50: { if (price_ == null) { price_ = new global::POGOProtos.Inventory.Loot(); } input.ReadMessage(price_); break; } case 56: { CanAffordTrading = input.ReadBool(); break; } case 64: { HasConfirmed = input.ReadBool(); break; } } } }