Added HintTextMsg to IGameHelpers (bug 4950, r=Fyren).
This commit is contained in:
parent
80eb18a425
commit
84b3b1d29c
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user