serverbrowser: rewrite according my expectations

This commit is contained in:
nillerusr
2023-02-11 19:39:01 +03:00
parent efbcaf7820
commit 2b2ca63b48
10 changed files with 155 additions and 374 deletions

View File

@@ -20,7 +20,7 @@ class gameserveritem_t;
#include "FindSteamServers.h"
#endif
#include "netadr.h"
#include "engine/iserversinfo.h"
typedef enum
{
@@ -75,7 +75,7 @@ public:
virtual bool IsRefreshing() = 0;
// gets information about specified server
virtual gameserveritem_t *GetServer(unsigned int serverID) = 0;
virtual newgameserver_t *GetServer(unsigned int serverID) = 0;
// called when Connect button is pressed
virtual void OnBeginConnect() = 0;