public void MergeFrom(PlayerProfile other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Nickname.Length != 0)
     {
         Nickname = other.Nickname;
     }
     if (other.Level != 0)
     {
         Level = other.Level;
     }
     if (other.DistanceWalkedKm != 0F)
     {
         DistanceWalkedKm = other.DistanceWalkedKm;
     }
     if (other.MaxHp != 0L)
     {
         MaxHp = other.MaxHp;
     }
     if (other.AttackPower != 0L)
     {
         AttackPower = other.AttackPower;
     }
     if (other.PlayerTeamId.Length != 0)
     {
         PlayerTeamId = other.PlayerTeamId;
     }
     if (other.ProfessionId.Length != 0)
     {
         ProfessionId = other.ProfessionId;
     }
     if (other.TitleId.Length != 0)
     {
         TitleId = other.TitleId;
     }
     unlockedTitleIds_.Add(other.unlockedTitleIds_);
     if (other.ThemeId.Length != 0)
     {
         ThemeId = other.ThemeId;
     }
     unlockedThemeIds_.Add(other.unlockedThemeIds_);
     if (other.HouseId.Length != 0)
     {
         HouseId = other.HouseId;
     }
     if (other.wand_ != null)
     {
         if (wand_ == null)
         {
             Wand = new global::WUProtos.Data.Player.PlayerProfile.Types.WandOptions();
         }
         Wand.MergeFrom(other.Wand);
     }
     favoriteBadgeIds_.Add(other.favoriteBadgeIds_);
     unlockedBadgeIds_.Add(other.unlockedBadgeIds_);
     favoriteTitleIds_.Add(other.favoriteTitleIds_);
     if (other.FirstName.Length != 0)
     {
         FirstName = other.FirstName;
     }
     if (other.LastName.Length != 0)
     {
         LastName = other.LastName;
     }
     if (other.ProfileCreationLocation.Length != 0)
     {
         ProfileCreationLocation = other.ProfileCreationLocation;
     }
     unlockedSelfieAssetIds_.Add(other.unlockedSelfieAssetIds_);
     if (other.TotalSwishSuccessSpell != 0L)
     {
         TotalSwishSuccessSpell = other.TotalSwishSuccessSpell;
     }
     discoveredPotionsMasterNoteIds_.Add(other.discoveredPotionsMasterNoteIds_);
     if (other.emailOpts_ != null)
     {
         if (emailOpts_ == null)
         {
             EmailOpts = new global::WUProtos.Data.EmailOpts();
         }
         EmailOpts.MergeFrom(other.EmailOpts);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }