public/IPlayerHelpers.h
changeset 2323 efa6bfdd7571
parent 2289 44045ead61cd
child 2591 15213de19689
     1.1 --- a/public/IPlayerHelpers.h	Sun Sep 21 14:20:01 2008 +1200
     1.2 +++ b/public/IPlayerHelpers.h	Fri Sep 26 19:08:49 2008 +1200
     1.3 @@ -41,7 +41,7 @@
     1.4  #include <IAdminSystem.h>
     1.5  
     1.6  #define SMINTERFACE_PLAYERMANAGER_NAME		"IPlayerManager"
     1.7 -#define SMINTERFACE_PLAYERMANAGER_VERSION	7
     1.8 +#define SMINTERFACE_PLAYERMANAGER_VERSION	8
     1.9  
    1.10  struct edict_t;
    1.11  class IPlayerInfo;
    1.12 @@ -301,6 +301,15 @@
    1.13  		virtual void OnClientPostAdminCheck(int client)
    1.14  		{
    1.15  		}
    1.16 +
    1.17 +		/**
    1.18 +		* @brief Notifies the extension that the maxplayers value has changed
    1.19 +		*
    1.20 +		* @param newvalue			New maxplayers value.
    1.21 +		*/
    1.22 +		virtual void OnMaxPlayersChanged(int newvalue)
    1.23 +		{
    1.24 +		}
    1.25  	};
    1.26  
    1.27  	#define COMMAND_FILTER_ALIVE		(1<<0)		/**< Only allow alive players */