Analysis page now refreshed when analysis is run.

This commit is contained in:
Rsl1122 2017-08-30 16:31:25 +03:00
parent 3d10828bb9
commit 21503c953d
2 changed files with 5 additions and 0 deletions

View File

@ -25,6 +25,8 @@ public class KillPart extends RawData {
deaths = 0;
}
// TODO JoinInfo Part, sessions for kills.
@Override
public void analyse() {
addValue("deathCount", deaths);

View File

@ -265,6 +265,9 @@ public class Analysis {
}
userInfo.sort(new UserInfoLastPlayedComparator());
activity.setRecentPlayersUUIDs(userInfo.stream().map(UserInfo::getUuid).collect(Collectors.toList()));
activity.setRecentPlayers(userInfo.stream().map(UserInfo::getName).collect(Collectors.toList()));
analysisData.setPlayersTable(PlayersTableCreator.createSortablePlayersTable(userInfo, joinInfo, geolocPart));
playerCount.addPlayers(userInfo.stream().map(UserInfo::getUuid).collect(Collectors.toSet()));