Added HintTextMsg to IGameHelpers (bug 4950, r=Fyren).

This commit is contained in:
Nicholas Hastings 2011-06-18 14:34:17 -04:00
parent 80eb18a425
commit 84b3b1d29c

View File

@ -40,7 +40,7 @@
*/ */
#define SMINTERFACE_GAMEHELPERS_NAME "IGameHelpers" #define SMINTERFACE_GAMEHELPERS_NAME "IGameHelpers"
#define SMINTERFACE_GAMEHELPERS_VERSION 6 #define SMINTERFACE_GAMEHELPERS_VERSION 7
class CBaseEntity; class CBaseEntity;
class CBaseHandle; class CBaseHandle;
@ -269,7 +269,16 @@ namespace SourceMod
* @param prop SendProp pointer. * @param prop SendProp pointer.
* @return Uncomputed sendprop offset. * @return Uncomputed sendprop offset.
*/ */
virtual int GetSendPropOffset(SendProp *prop) =0; virtual int GetSendPropOffset(SendProp *prop) =0;
/**
* @brief Sends a hint message to a client.
*
* @param client Client index.
* @param msg Message to send.
* @return True on success, false on failure.
*/
virtual bool HintTextMsg(int client, const char *msg) =0;
}; };
} }