From c78f4407ea9b84c28e5e34d84aecc6b7a94af5da Mon Sep 17 00:00:00 2001 From: Zach Kanzler Date: Fri, 31 Dec 2010 20:04:59 -0500 Subject: [PATCH] Exposed ProcessCommandTarget in IPlayerHelpers (bug 4742, r=fyren). --- public/IPlayerHelpers.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/public/IPlayerHelpers.h b/public/IPlayerHelpers.h index fd14ef00..a6f6d268 100644 --- a/public/IPlayerHelpers.h +++ b/public/IPlayerHelpers.h @@ -41,7 +41,7 @@ #include #define SMINTERFACE_PLAYERMANAGER_NAME "IPlayerManager" -#define SMINTERFACE_PLAYERMANAGER_VERSION 11 +#define SMINTERFACE_PLAYERMANAGER_VERSION 12 struct edict_t; class IPlayerInfo; @@ -525,6 +525,14 @@ namespace SourceMod * @return Client index, or 0 for invalid serial. */ virtual int GetClientFromSerial(unsigned int serial) =0; + + /** + * @brief Processes the pattern inside a cmd_target_info_t structure + * and outputs the clients that match it. + * + * @param info Pointer to the cmd_target_info_t structure to process. + */ + virtual void ProcessCommandTarget(cmd_target_info_t *info) =0; }; }