use of de.gg.game.ui.data.ChatMessage in project ProjektGG by eskalon.
the class ClientsideResultListener method onPlayerLeft.
@Override
public void onPlayerLeft(short playerId) {
client.chatMessages.add(new ChatMessage(Lang.get("screen.lobby.player_left", client.lobbyPlayers.get(playerId))));
client.lobbyPlayers.remove(playerId);
eventBus.post(new UIRefreshEvent());
if (!client.isInLobby()) {
// TODO adapt session data
}
}
Aggregations