Esempio n. 1
0
 public override void Login(string _passport, string _password, string _loginArgs)
 {
     try
     {
         if (!m_tcpWorker.Connected())
         {
             Debug.Log("Not connected!!");
         }
         var u      = new LoginPluto();
         var result = u.Encode(_passport, _password, _loginArgs);
         m_tcpWorker.Send(result);
         Debug.Log("send loginPluto end");
     }
     catch (Exception ex)
     {
         Debug.LogException(ex);
     }
 }
Esempio n. 2
0
 public override void Login(params string[] args)
 {
     try
     {
         if (!m_tcpWorker.Connected())
         {
             Debug.LogError("Not connected!!");
         }
         var u      = new LoginPluto();
         var result = u.Encode(args);
         m_tcpWorker.Send(result);
         //Debug.Log("send loginPluto end");
     }
     catch (Exception ex)
     {
         Debug.LogException(ex);
     }
 }
Esempio n. 3
0
 public override void Login(string _passport, string _password, string _loginArgs)
 {
     try
     {
         if (!m_tcpWorker.Connected())
         {
             LoggerHelper.Error("Not connected!!");
         }
         var u      = new LoginPluto();
         var result = u.Encode(_passport, _password, _loginArgs);
         m_tcpWorker.Send(result);
         LoggerHelper.Debug("send loginPluto end");
     }
     catch (Exception ex)
     {
         LoggerHelper.Debug("login rst excp: " + ex.ToString());
         LoggerHelper.Except(ex);
     }
 }