1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-04 00:23:25 +08:00

Fixed IServerGameClients.

This commit is contained in:
Nicholas Hastings 2011-08-06 19:10:01 -04:00
parent c142a7a0a1
commit d41b8a2385

View File

@ -550,6 +550,9 @@ public:
// Get server maxplayers and lower bound for same
virtual void GetPlayerLimits( int& minplayers, int& maxplayers, int &defaultMaxPlayers ) const = 0;
// Oh
virtual bool IsGameModeOneOrSeven() = 0;
// Client is connecting to server ( return false to reject the connection )
// You can specify a rejection message by writing it into reject
virtual bool ClientConnect( edict_t *pEntity, const char *pszName, const char *pszAddress, char *reject, int maxrejectlen ) = 0;