experimental fix for amb1586 - team native crash

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402044
This commit is contained in:
Borja Ferrer
2008-04-12 01:35:45 +00:00
parent c42a26bb66
commit a483ec5dc5
7 changed files with 36 additions and 2 deletions
+14 -1
View File
@@ -40,6 +40,8 @@
* @brief Defines the interface for loading/unloading/managing extensions.
*/
struct edict_t;
namespace SourceMod
{
class IExtensionInterface;
@@ -131,7 +133,7 @@ namespace SourceMod
* Note: This is bumped when IShareSys is changed, because IShareSys
* itself is not versioned.
*/
#define SMINTERFACE_EXTENSIONAPI_VERSION 3
#define SMINTERFACE_EXTENSIONAPI_VERSION 4
/**
* @brief The interface an extension must expose.
@@ -289,6 +291,17 @@ namespace SourceMod
* @return String containing the compilation date.
*/
virtual const char *GetExtensionDateString() =0;
/**
* @brief Called on server activation before plugins receive the OnServerLoad forward.
*
* @param pEdictList Edicts list.
* @param edictCount Number of edicts in the list.
* @param clientMax Maximum number of clients allowed in the server.
*/
virtual void OnCoreMapStart(edict_t *pEdictList, int edictCount, int clientMax)
{
}
};
/**