public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (EncounterSearchingTimeline.Length != 0)
            {
                hash ^= EncounterSearchingTimeline.GetHashCode();
            }
            hash ^= encounterSearchingIdleTimelines_.GetHashCode();
            if (EncounterFleeTimeline.Length != 0)
            {
                hash ^= EncounterFleeTimeline.GetHashCode();
            }
            if (EncounterTarget.Length != 0)
            {
                hash ^= EncounterTarget.GetHashCode();
            }
            hash ^= stages_.GetHashCode();
            if (EncounterTargetLayout.Length != 0)
            {
                hash ^= EncounterTargetLayout.GetHashCode();
            }
            if (SearchTargetLayout.Length != 0)
            {
                hash ^= SearchTargetLayout.GetHashCode();
            }
            hash ^= encounterAssets_.GetHashCode();
            if (EncounterMapSprite.Length != 0)
            {
                hash ^= EncounterMapSprite.GetHashCode();
            }
            hash ^= encounterMusicParams_.GetHashCode();
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (EncounterMapSpriteFrame.Length != 0)
            {
                hash ^= EncounterMapSpriteFrame.GetHashCode();
            }
            if (mapHealthBarColor_ != null)
            {
                hash ^= MapHealthBarColor.GetHashCode();
            }
            if (hudHealthBarColor_ != null)
            {
                hash ^= HudHealthBarColor.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
 public void MergeFrom(ClientEncounter other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id.Length != 0)
     {
         Id = other.Id;
     }
     if (other.EncounterSearchingTimeline.Length != 0)
     {
         EncounterSearchingTimeline = other.EncounterSearchingTimeline;
     }
     encounterSearchingIdleTimelines_.Add(other.encounterSearchingIdleTimelines_);
     if (other.EncounterFleeTimeline.Length != 0)
     {
         EncounterFleeTimeline = other.EncounterFleeTimeline;
     }
     if (other.EncounterTarget.Length != 0)
     {
         EncounterTarget = other.EncounterTarget;
     }
     stages_.Add(other.stages_);
     if (other.EncounterTargetLayout.Length != 0)
     {
         EncounterTargetLayout = other.EncounterTargetLayout;
     }
     if (other.SearchTargetLayout.Length != 0)
     {
         SearchTargetLayout = other.SearchTargetLayout;
     }
     encounterAssets_.Add(other.encounterAssets_);
     if (other.EncounterMapSprite.Length != 0)
     {
         EncounterMapSprite = other.EncounterMapSprite;
     }
     encounterMusicParams_.Add(other.encounterMusicParams_);
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.EncounterMapSpriteFrame.Length != 0)
     {
         EncounterMapSpriteFrame = other.EncounterMapSpriteFrame;
     }
     if (other.mapHealthBarColor_ != null)
     {
         if (mapHealthBarColor_ == null)
         {
             MapHealthBarColor = new global::WUProtos.Data.Color();
         }
         MapHealthBarColor.MergeFrom(other.MapHealthBarColor);
     }
     if (other.hudHealthBarColor_ != null)
     {
         if (hudHealthBarColor_ == null)
         {
             HudHealthBarColor = new global::WUProtos.Data.Color();
         }
         HudHealthBarColor.MergeFrom(other.HudHealthBarColor);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }