1 #ifndef _INCLUDE_SOURCEMOD_MM_API_H_
2 #define _INCLUDE_SOURCEMOD_MM_API_H_
4 #include <ISmmPlugin.h>
8 * @file Contains wrappers around required Metamod:Source API exports
11 class SourceMod_Core : public ISmmPlugin
14 bool Load(PluginId id, ISmmAPI *ismm, char *error, size_t maxlen, bool late);
15 bool Unload(char *error, size_t maxlen);
16 bool Pause(char *error, size_t maxlen);
17 bool Unpause(char *error, size_t maxlen);
18 void AllPluginsLoaded();
20 const char *GetAuthor();
21 const char *GetName();
22 const char *GetDescription();
24 const char *GetLicense();
25 const char *GetVersion();
26 const char *GetDate();
27 const char *GetLogTag();
30 extern SourceMod_Core g_SourceMod_Core;
31 extern IVEngineServer *engine;
32 extern IServerGameDLL *gamedll;
36 #endif //_INCLUDE_SOURCEMOD_MM_API_H_