1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-03 16:13:22 +08:00

Added IServerGCLobby vtable.

This commit is contained in:
Nicholas Hastings 2013-04-16 13:13:24 -04:00
parent f5d27e565f
commit f8884b4fd0

View File

@ -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;