Example #1
0
 public void disConnect()
 {
     if (_net != null)
     {
         _net.Closed();
         if (PlayerSys.getSingleton().getHero() != null)
         {
             PlayerSys.getSingleton().getHero().NotifyRemove("all");
         }
         _net = null;
     }
 }