* Client - Added number of active games to the header of the games column of the user list.

This commit is contained in:
LevelX2 2014-08-24 07:03:01 +02:00
parent 30ea2188bf
commit aad1a2da89
11 changed files with 100 additions and 30 deletions

View file

@ -524,16 +524,16 @@ public class SessionImpl implements Session {
}
@Override
public Collection<UsersView> getConnectedPlayers(UUID roomId) throws MageRemoteException {
public Collection<RoomUsersView> getRoomUsers(UUID roomId) throws MageRemoteException {
try {
if (isConnected()) {
return server.getConnectedPlayers(roomId);
return server.getRoomUsers(roomId);
}
} catch (MageException ex) {
handleMageException(ex);
throw new MageRemoteException();
} catch (Throwable t) {
handleThrowable(t);
handleThrowable(t);
}
return null;
}