extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40319
This commit is contained in:
David Anderson 2007-01-18 21:07:10 +00:00
parent c6b77c8cc1
commit 3bba8d6a2a

View File

@ -137,6 +137,18 @@ namespace SourceMod
virtual void NotifyInterfaceDrop(SMInterface *pInterface) virtual void NotifyInterfaceDrop(SMInterface *pInterface)
{ {
} }
/**
* @brief Return false to tell Core that your extension should be considered unsable.
*
* @param error Error buffer.
* @param maxlength Size of error buffer.
* @return True on success, false otherwise.
*/
virtual bool QueryRunning(char *error, size_t maxlength)
{
return true;
}
public: public:
virtual bool IsMetamodExtension() =0; virtual bool IsMetamodExtension() =0;
virtual const char *GetExtensionName() =0; virtual const char *GetExtensionName() =0;