Ejemplo n.º 1
0
 public void MergeFrom(AcfunActionSignalJoinClub other)
 {
     if (other == null)
     {
         return;
     }
     if (other.fansInfo_ != null)
     {
         if (fansInfo_ == null)
         {
             FansInfo = new global::AcFunDanmu.AcFunUserInfo();
         }
         FansInfo.MergeFrom(other.FansInfo);
     }
     if (other.uperInfo_ != null)
     {
         if (uperInfo_ == null)
         {
             UperInfo = new global::AcFunDanmu.AcFunUserInfo();
         }
         UperInfo.MergeFrom(other.UperInfo);
     }
     if (other.JoinTimeMs != 0L)
     {
         JoinTimeMs = other.JoinTimeMs;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (fansInfo_ != null)
            {
                hash ^= FansInfo.GetHashCode();
            }
            if (uperInfo_ != null)
            {
                hash ^= UperInfo.GetHashCode();
            }
            if (JoinTimeMs != 0L)
            {
                hash ^= JoinTimeMs.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }