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

            if (NextLootTime != 0L)
            {
                hash ^= NextLootTime.GetHashCode();
            }
            if (darkDetectorAmplifier_ != null)
            {
                hash ^= DarkDetectorAmplifier.GetHashCode();
            }
            if (OutpostTemplateGmtId.Length != 0)
            {
                hash ^= OutpostTemplateGmtId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            if (darkDetectorAmplifier_ != null)
            {
                hash ^= DarkDetectorAmplifier.GetHashCode();
            }
            if (PartnerId.Length != 0)
            {
                hash ^= PartnerId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
 public void MergeFrom(ClientMapOutpost other)
 {
     if (other == null)
     {
         return;
     }
     if (other.NextLootTime != 0L)
     {
         NextLootTime = other.NextLootTime;
     }
     if (other.darkDetectorAmplifier_ != null)
     {
         if (darkDetectorAmplifier_ == null)
         {
             DarkDetectorAmplifier = new global::WUProtos.Data.Client.ClientDarkDetectorAmplifier();
         }
         DarkDetectorAmplifier.MergeFrom(other.DarkDetectorAmplifier);
     }
     if (other.OutpostTemplateGmtId.Length != 0)
     {
         OutpostTemplateGmtId = other.OutpostTemplateGmtId;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
示例#4
0
 public void MergeFrom(AddDarkDetectorResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Result != 0)
     {
         Result = other.Result;
     }
     if (other.darkDetectorAmplifier_ != null)
     {
         if (darkDetectorAmplifier_ == null)
         {
             DarkDetectorAmplifier = new global::WUProtos.Data.Client.ClientDarkDetectorAmplifier();
         }
         DarkDetectorAmplifier.MergeFrom(other.DarkDetectorAmplifier);
     }
     if (other.PartnerId.Length != 0)
     {
         PartnerId = other.PartnerId;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }