Added new playerhelpers interface
This commit is contained in:
parent
fa8c9a8418
commit
bce2b2adb6
@ -41,7 +41,7 @@
|
|||||||
#include <IAdminSystem.h>
|
#include <IAdminSystem.h>
|
||||||
|
|
||||||
#define SMINTERFACE_PLAYERMANAGER_NAME "IPlayerManager"
|
#define SMINTERFACE_PLAYERMANAGER_NAME "IPlayerManager"
|
||||||
#define SMINTERFACE_PLAYERMANAGER_VERSION 9
|
#define SMINTERFACE_PLAYERMANAGER_VERSION 10
|
||||||
|
|
||||||
struct edict_t;
|
struct edict_t;
|
||||||
class IPlayerInfo;
|
class IPlayerInfo;
|
||||||
@ -190,6 +190,13 @@ namespace SourceMod
|
|||||||
* @return Serial number.
|
* @return Serial number.
|
||||||
*/
|
*/
|
||||||
virtual unsigned int GetSerial() =0;
|
virtual unsigned int GetSerial() =0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Return whether the client is authorized.
|
||||||
|
*
|
||||||
|
* @return True if authorized, false otherwise.
|
||||||
|
*/
|
||||||
|
virtual bool IsAuthorized() =0;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user