Ejemplo n.º 1
0
 public void Logout()
 {
     try
     {
         if (this._isInitialized)
         {
             if (this._atmSocket != null)
             {
                 this._atmSocket.Close();
             }
             if (this._brokerSocket != null)
             {
                 this._brokerSocket.Close();
             }
             this._userData.Clear();
             PanelManager.DestroyAll();
             LuaStateManager.Reset();
             AssetManager.Clear();
         }
     }
     catch (Exception ex)
     {
         Logger.LogError("Pandora Logout发生异常: " + ex.Message);
     }
 }
Ejemplo n.º 2
0
 public static void DestroyAllPanel()
 {
     PanelManager.DestroyAll();
 }