From c9e10aad8aaefc39ae658a566f97972808ea31a7 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sun, 3 Mar 2013 00:59:53 -0500 Subject: [PATCH] Added IServerGCLobby vtable. --- public/eiface.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/public/eiface.h b/public/eiface.h index 637999ef..48acdcf2 100644 --- a/public/eiface.h +++ b/public/eiface.h @@ -398,6 +398,15 @@ public: virtual void *GetReplay() = 0; }; +abstract_class IServerGCLobby +{ +public: + virtual bool HasLobby() const = 0; + virtual bool SteamIDAllowedToConnect( const CSteamID &steamId ) const = 0; + virtual void UpdateServerDetails( void ) = 0; + virtual bool ShouldHibernate() = 0; +}; + #define INTERFACEVERSION_SERVERGAMEDLL_VERSION_4 "ServerGameDLL004" #define INTERFACEVERSION_SERVERGAMEDLL_VERSION_5 "ServerGameDLL005" #define INTERFACEVERSION_SERVERGAMEDLL_VERSION_6 "ServerGameDLL006" @@ -517,7 +526,7 @@ public: virtual void SetServerHibernation( bool bHibernating ) = 0; - virtual void *GetServerGCLobby() = 0; + virtual IServerGCLobby *GetServerGCLobby() = 0; virtual const char *GetServerBrowserMapOverride() = 0; virtual const char *GetServerBrowserGameData() = 0;