1.1 --- a/public/IPlayerHelpers.h Mon Apr 13 09:50:46 2009 +1200
1.2 +++ b/public/IPlayerHelpers.h Mon Apr 13 10:02:55 2009 +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 9
1.8 +#define SMINTERFACE_PLAYERMANAGER_VERSION 10
1.9
1.10 struct edict_t;
1.11 class IPlayerInfo;
1.12 @@ -190,6 +190,13 @@
1.13 * @return Serial number.
1.14 */
1.15 virtual unsigned int GetSerial() =0;
1.16 +
1.17 + /**
1.18 + * @brief Return whether the client is authorized.
1.19 + *
1.20 + * @return True if authorized, false otherwise.
1.21 + */
1.22 + virtual bool IsAuthorized() =0;
1.23 };
1.24
1.25 /**