Added new playerhelpers interface

This commit is contained in:
Matt Woodrow 2009-03-17 12:28:37 +13:00
parent fa8c9a8418
commit bce2b2adb6

View File

@ -41,7 +41,7 @@
#include <IAdminSystem.h>
#define SMINTERFACE_PLAYERMANAGER_NAME "IPlayerManager"
#define SMINTERFACE_PLAYERMANAGER_VERSION 9
#define SMINTERFACE_PLAYERMANAGER_VERSION 10
struct edict_t;
class IPlayerInfo;
@ -190,6 +190,13 @@ namespace SourceMod
* @return Serial number.
*/
virtual unsigned int GetSerial() =0;
/**
* @brief Return whether the client is authorized.
*
* @return True if authorized, false otherwise.
*/
virtual bool IsAuthorized() =0;
};
/**