Beispiel #1
0
 public void MakeTCPClient()
 {
     if (this.manager == null)
     {
         this.manager = new NpCloud(this, string.Empty);
     }
     this.ResetAllCallBackMethod();
 }
Beispiel #2
0
 public void TCPDisConnect(bool isClearManager = false)
 {
     if (this.manager == null)
     {
         return;
     }
     if (isClearManager)
     {
         this.manager.Delete();
         this.manager = null;
     }
     else
     {
         this.manager.Exit();
     }
 }