diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2022-01-07 20:17:02 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-07 20:17:02 -0600 |
| commit | c80a0195749acda08ea414db575d10bd0033f062 (patch) | |
| tree | 0ae46296493698df61763ab1c33f453a83a6e8dd /include/aoapplication.h | |
| parent | 9f09af1c39e70d68f3ddf9bdc38a12e2b9ab2470 (diff) | |
| parent | 0cebf8c91e80d45b9fbaaa658ce5657c933f0b69 (diff) | |
Merge pull request #619 from AttorneyOnline/feature/http-ms
Switch to HTTP-based server list
Diffstat (limited to 'include/aoapplication.h')
| -rw-r--r-- | include/aoapplication.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h index ab738220..c094a333 100644 --- a/include/aoapplication.h +++ b/include/aoapplication.h @@ -75,10 +75,8 @@ public: void construct_courtroom(); void destruct_courtroom(); - void ms_packet_received(AOPacket *p_packet); void server_packet_received(AOPacket *p_packet); - void send_ms_packet(AOPacket *p_packet); void send_server_packet(AOPacket *p_packet, bool encoded = true); void call_settings_menu(); @@ -136,7 +134,7 @@ public: QVector<server_type> &get_favorite_list() { return favorite_list; } void add_favorite_server(int p_server); - void set_server_list(); + void set_server_list(QVector<server_type> &servers) { server_list = servers; } QVector<server_type> &get_server_list() { return server_list; } // reads the theme from config.ini and sets it accordingly @@ -522,6 +520,9 @@ public: // Get a list of custom mount paths QStringList get_mount_paths(); + // Get whether to opt out of player count metrics sent to the master server + bool get_player_count_optout(); + // Currently defined subtheme QString subtheme; @@ -561,9 +562,6 @@ private: QHash<uint, QString> dir_listing_cache; QSet<uint> dir_listing_exist_cache; -private slots: - void ms_connect_finished(bool connected, bool will_retry); - public slots: void server_disconnected(); void loading_cancelled(); |
