Example #1
0
 public void Dispose()
 {
     if (PlayerManager != null)
     {
         PlayerManager.Dispose();
     }
     if (LoginConnector != null)
     {
         LoginConnector.Dispose();
     }
     if (this.m_PlayerSocket != null)
     {
         this.m_PlayerSocket.Dispose();
     }
 }
Example #2
0
 public void Dispose()
 {
     if (ClientManager != null)
     {
         ClientManager.Dispose();
     }
     if (ChannelManager != null)
     {
         ChannelManager.Dispose();
     }
     if (LoginConnector != null)
     {
         LoginConnector.Dispose();
     }
     if (this.m_PlayerSocket != null)
     {
         this.m_PlayerSocket.Dispose();
     }
 }