2006-11-04 20:27:20 +01:00
|
|
|
#ifndef _INCLUDE_SOURCEMOD_MM_API_H_
|
|
|
|
#define _INCLUDE_SOURCEMOD_MM_API_H_
|
|
|
|
|
|
|
|
#include <ISmmPlugin.h>
|
|
|
|
|
2006-11-05 01:29:44 +01:00
|
|
|
class SourceMod_Core : public ISmmPlugin
|
2006-11-04 20:27:20 +01:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
bool Load(PluginId id, ISmmAPI *ismm, char *error, size_t maxlen, bool late);
|
|
|
|
bool Unload(char *error, size_t maxlen);
|
|
|
|
bool Pause(char *error, size_t maxlen);
|
|
|
|
bool Unpause(char *error, size_t maxlen);
|
|
|
|
void AllPluginsLoaded();
|
|
|
|
public:
|
|
|
|
const char *GetAuthor();
|
|
|
|
const char *GetName();
|
|
|
|
const char *GetDescription();
|
|
|
|
const char *GetURL();
|
|
|
|
const char *GetLicense();
|
|
|
|
const char *GetVersion();
|
|
|
|
const char *GetDate();
|
|
|
|
const char *GetLogTag();
|
|
|
|
};
|
|
|
|
|
2006-11-05 01:29:44 +01:00
|
|
|
extern SourceMod_Core g_SourceMod;
|
2006-11-04 20:27:20 +01:00
|
|
|
|
|
|
|
PLUGIN_GLOBALVARS();
|
|
|
|
|
|
|
|
#endif //_INCLUDE_SOURCEMOD_MM_API_H_
|