aboutsummaryrefslogtreecommitdiff
path: root/include/lobby.h
diff options
context:
space:
mode:
authorSalanto <62221668+Salanto@users.noreply.github.com>2022-02-15 15:15:57 +0100
committerGitHub <noreply@github.com>2022-02-15 08:15:57 -0600
commite6f06d8959ff65be11b20dcba27977f8935bb044 (patch)
treeb1eea1a72358189f38959e54030a93d0a7e82cc9 /include/lobby.h
parent5e60f277e9717ac7dcf03e1b276848655f4afa07 (diff)
Add server description to favourites, if supported by server. (#648)
* Allow servers to directly set the server description * Hijack PN packet to add description. * Update lobby.cpp Apply suggested change
Diffstat (limited to 'include/lobby.h')
-rw-r--r--include/lobby.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/lobby.h b/include/lobby.h
index 61c93c5e..fd8a0d8e 100644
--- a/include/lobby.h
+++ b/include/lobby.h
@@ -35,6 +35,7 @@ public:
void append_chatmessage(QString f_name, QString f_message);
void append_error(QString f_message);
void set_player_count(int players_online, int max_players);
+ void set_server_description(const QString& server_description);
void set_stylesheet(QWidget *widget);
void set_stylesheets();
void set_fonts();