added ITopMenu::GetObjectName()
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401708
This commit is contained in:
parent
fa3f1991ff
commit
d09ea8fda2
@ -43,7 +43,7 @@
|
||||
*/
|
||||
|
||||
#define SMINTERFACE_TOPMENUS_NAME "ITopMenus"
|
||||
#define SMINTERFACE_TOPMENUS_VERSION 3
|
||||
#define SMINTERFACE_TOPMENUS_VERSION 4
|
||||
|
||||
namespace SourceMod
|
||||
{
|
||||
@ -268,6 +268,14 @@ namespace SourceMod
|
||||
* @return Object's info string, or NULL if none.
|
||||
*/
|
||||
virtual const char *GetObjectInfoString(unsigned int object_id) =0;
|
||||
|
||||
/**
|
||||
* @brief Returns an object's name string.
|
||||
*
|
||||
* @param object_id Object ID.
|
||||
* @return Object's name string, or NULL if none.
|
||||
*/
|
||||
virtual const char *GetObjectName(unsigned int object_id) =0;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user