Add OnClientSettingsChanged to IPlayerHelpers (bug 4812, r=fyren)

This commit is contained in:
Dr\!fter
2011-03-08 12:59:42 -08:00
parent 217670b54a
commit a81567e2d6
2 changed files with 21 additions and 1 deletions
+10 -1
View File
@@ -41,7 +41,7 @@
#include <IAdminSystem.h>
#define SMINTERFACE_PLAYERMANAGER_NAME "IPlayerManager"
#define SMINTERFACE_PLAYERMANAGER_VERSION 12
#define SMINTERFACE_PLAYERMANAGER_VERSION 13
struct edict_t;
class IPlayerInfo;
@@ -347,6 +347,15 @@ namespace SourceMod
virtual void OnMaxPlayersChanged(int newvalue)
{
}
/**
* @brief Notifies the extension that a clients settings changed
*
* @param client Client index.
*/
virtual void OnClientSettingsChanged(int client)
{
}
};
#define COMMAND_FILTER_ALIVE (1<<0) /**< Only allow alive players */