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(FortDeployPokemonResponse other) { if (other == null) { return; } if (other.Result != 0) { Result = other.Result; } if (other.fortDetails_ != null) { if (fortDetails_ == null) { fortDetails_ = new global::PokemonGoDesktop.API.Proto.FortDetailsResponse(); } FortDetails.MergeFrom(other.FortDetails); } if (other.pokemonData_ != null) { if (pokemonData_ == null) { pokemonData_ = new global::PokemonGoDesktop.API.Proto.PokemonData(); } PokemonData.MergeFrom(other.PokemonData); } if (other.gymState_ != null) { if (gymState_ == null) { gymState_ = new global::PokemonGoDesktop.API.Proto.GymState(); } GymState.MergeFrom(other.GymState); } }