Add: synchronize server name to clients and display in Online Players GUI (#9472)

This commit is contained in:
Patric Stout
2021-08-14 10:19:40 +02:00
committed by GitHub
parent 65b8614d26
commit 508e465b59
4 changed files with 17 additions and 9 deletions

View File

@@ -86,6 +86,9 @@ extern uint32 _network_join_bytes_total;
extern ConnectionType _network_server_connection_type;
extern std::string _network_server_invite_code;
/* Variable available for clients. */
extern std::string _network_server_name;
extern uint8 _network_reconnect;
extern CompanyMask _network_company_passworded;