- added debugging messages for a bug report

- added userid function to IGamePlayer

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401356
This commit is contained in:
David Anderson
2007-08-18 21:36:42 +00:00
parent edc535ee3c
commit ee6f77d05f
3 changed files with 92 additions and 1 deletions
+8 -1
View File
@@ -41,7 +41,7 @@
#include <IAdminSystem.h>
#define SMINTERFACE_PLAYERMANAGER_NAME "IPlayerManager"
#define SMINTERFACE_PLAYERMANAGER_VERSION 1
#define SMINTERFACE_PLAYERMANAGER_VERSION 2
struct edict_t;
@@ -122,6 +122,13 @@ namespace SourceMod
* @param temp If true, the id will be invalidated on disconnect.
*/
virtual void SetAdminId(AdminId id, bool temp) =0;
/**
* @brief Returns the client's userid.
*
* @return Userid.
*/
virtual int GetUserId() =0;
};
/**