コード例 #1
0
 public void MergeFrom(PingReturn other)
 {
     if (other == null)
     {
         return;
     }
     if (other.serverUuid_ != null)
     {
         if (serverUuid_ == null)
         {
             ServerUuid = new global::VRWorlds.Schemas.Browser.Standards.UUID();
         }
         ServerUuid.MergeFrom(other.ServerUuid);
     }
     if (other.kudoUuid_ != null)
     {
         if (kudoUuid_ == null)
         {
             KudoUuid = new global::VRWorlds.Schemas.Browser.Standards.UUID();
         }
         KudoUuid.MergeFrom(other.KudoUuid);
     }
     if (other.now_ != null)
     {
         if (now_ == null)
         {
             Now = new global::VRWorlds.Schemas.Browser.Standards.DateTimeOffset();
         }
         Now.MergeFrom(other.Now);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
コード例 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (serverUuid_ != null)
            {
                hash ^= ServerUuid.GetHashCode();
            }
            if (kudoUuid_ != null)
            {
                hash ^= KudoUuid.GetHashCode();
            }
            if (now_ != null)
            {
                hash ^= Now.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }