コード例 #1
0
 public void MergeFrom(GetFortressDetailsResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.FortressTemplateGmtId.Length != 0)
     {
         FortressTemplateGmtId = other.FortressTemplateGmtId;
     }
     chambers_.Add(other.chambers_);
     if (other.PartnerId.Length != 0)
     {
         PartnerId = other.PartnerId;
     }
     if (other.poiDetails_ != null)
     {
         if (poiDetails_ == null)
         {
             PoiDetails = new global::WUProtos.Data.PoiDetails();
         }
         PoiDetails.MergeFrom(other.PoiDetails);
     }
     if (other.PoiAccessibility != 0)
     {
         PoiAccessibility = other.PoiAccessibility;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
コード例 #2
0
 public void MergeFrom(GetOutpostDetailsResponse other)
 {
     if (other == null)
     {
         return;
     }
     imageUrls_.Add(other.imageUrls_);
     if (other.currentMenu_ != null)
     {
         if (currentMenu_ == null)
         {
             CurrentMenu = new global::WUProtos.Data.OutpostMenu();
         }
         CurrentMenu.MergeFrom(other.CurrentMenu);
     }
     if (other.PartnerId.Length != 0)
     {
         PartnerId = other.PartnerId;
     }
     if (other.poiDetails_ != null)
     {
         if (poiDetails_ == null)
         {
             PoiDetails = new global::WUProtos.Data.PoiDetails();
         }
         PoiDetails.MergeFrom(other.PoiDetails);
     }
     if (other.PoiAccessibility != 0)
     {
         PoiAccessibility = other.PoiAccessibility;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
コード例 #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (FortressTemplateGmtId.Length != 0)
            {
                hash ^= FortressTemplateGmtId.GetHashCode();
            }
            hash ^= chambers_.GetHashCode();
            if (PartnerId.Length != 0)
            {
                hash ^= PartnerId.GetHashCode();
            }
            if (poiDetails_ != null)
            {
                hash ^= PoiDetails.GetHashCode();
            }
            if (PoiAccessibility != 0)
            {
                hash ^= PoiAccessibility.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #4
0
        public override int GetHashCode()
        {
            int hash = 1;

            hash ^= imageUrls_.GetHashCode();
            if (currentMenu_ != null)
            {
                hash ^= CurrentMenu.GetHashCode();
            }
            if (PartnerId.Length != 0)
            {
                hash ^= PartnerId.GetHashCode();
            }
            if (poiDetails_ != null)
            {
                hash ^= PoiDetails.GetHashCode();
            }
            if (PoiAccessibility != 0)
            {
                hash ^= PoiAccessibility.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #5
0
 public void MergeFrom(GetGreenhouseDetailsResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.PartnerId.Length != 0)
     {
         PartnerId = other.PartnerId;
     }
     if (other.poiDetails_ != null)
     {
         if (poiDetails_ == null)
         {
             PoiDetails = new global::WUProtos.Data.PoiDetails();
         }
         PoiDetails.MergeFrom(other.PoiDetails);
     }
     if (other.PoiAccessibility != 0)
     {
         PoiAccessibility = other.PoiAccessibility;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }