diff options
author | Aki <please@ignore.pl> | 2024-03-23 00:41:20 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-03-23 00:41:20 +0100 |
commit | a5f3eadd4239bfa5df64badabb2b9897f686aded (patch) | |
tree | 516021d23f7a0b288a14641df3b34d8b30213536 /StarsEx/NetLobby.h | |
parent | 30346e276d6a6c127b41f3085e47fcc87c4b80ea (diff) | |
download | starshatter-a5f3eadd4239bfa5df64badabb2b9897f686aded.zip starshatter-a5f3eadd4239bfa5df64badabb2b9897f686aded.tar.gz starshatter-a5f3eadd4239bfa5df64badabb2b9897f686aded.tar.bz2 |
Show server version in multiplayer server list
Version replaced Type which was unused at the moment.
Diffstat (limited to 'StarsEx/NetLobby.h')
-rw-r--r-- | StarsEx/NetLobby.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/StarsEx/NetLobby.h b/StarsEx/NetLobby.h index 55e7ee8..e484ea1 100644 --- a/StarsEx/NetLobby.h +++ b/StarsEx/NetLobby.h @@ -99,6 +99,7 @@ public: virtual void SelectMission(DWORD id); virtual const Text& GetMachineInfo() { return machine_info; } + virtual const Text& GetVersion() { return version; } virtual WORD GetGamePort() { return 0; } // actions: @@ -141,6 +142,7 @@ protected: List<NetCampaignInfo> campaigns; List<NetUnitEntry> unit_map; Text machine_info; + Text version; List<ModInfo> server_mods; bool active; |