예제 #1
0
 private void CloseConnection(ConnectionInformation Connection)
 {
     try
     {
         Connection.Dispose();
         PlusEnvironment.GetGame().GetClientManager().DisposeConnection(Convert.ToInt32(Connection.GetConnectionID()));
     }
     catch (Exception e)
     {
         Core.ExceptionLogger.LogException(e);
     }
 }
예제 #2
0
 private void CloseConnection(ConnectionInformation connection)
 {
     try
     {
         connection.Dispose();
         Program.GameContext.PlayerController.DisposeConnection(Convert.ToInt32(connection.GetConnectionId()));
     }
     catch (Exception e)
     {
         Logger.Error(e);
     }
 }