예제 #1
0
 public void MergeFrom(LoginToGate other)
 {
     if (other == null)
     {
         return;
     }
     if (other.cert_ != null)
     {
         if (cert_ == null)
         {
             Cert = new global::SessionCert();
         }
         Cert.MergeFrom(other.Cert);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
예제 #2
0
 public void MergeFrom(ConnectGateReq other)
 {
     if (other == null)
     {
         return;
     }
     if (other.sessionCert_ != null)
     {
         if (sessionCert_ == null)
         {
             SessionCert = new global::SessionCert();
         }
         SessionCert.MergeFrom(other.SessionCert);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
예제 #3
0
    public void MergeFrom(pb::CodedInputStream input)
    {
        uint tag;

        while ((tag = input.ReadTag()) != 0)
        {
            switch (tag)
            {
            default:
                _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                break;

            case 10: {
                if (cert_ == null)
                {
                    Cert = new global::SessionCert();
                }
                input.ReadMessage(Cert);
                break;
            }
            }
        }
    }