1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/core/sourcemm_api.h Mon Nov 06 10:57:37 2006 +0000
1.3 @@ -0,0 +1,29 @@
1.4 +#ifndef _INCLUDE_SOURCEMOD_MM_API_H_
1.5 +#define _INCLUDE_SOURCEMOD_MM_API_H_
1.6 +
1.7 +#include <ISmmPlugin.h>
1.8 +
1.9 +class SourceMod_Core : public ISmmPlugin
1.10 +{
1.11 +public:
1.12 + bool Load(PluginId id, ISmmAPI *ismm, char *error, size_t maxlen, bool late);
1.13 + bool Unload(char *error, size_t maxlen);
1.14 + bool Pause(char *error, size_t maxlen);
1.15 + bool Unpause(char *error, size_t maxlen);
1.16 + void AllPluginsLoaded();
1.17 +public:
1.18 + const char *GetAuthor();
1.19 + const char *GetName();
1.20 + const char *GetDescription();
1.21 + const char *GetURL();
1.22 + const char *GetLicense();
1.23 + const char *GetVersion();
1.24 + const char *GetDate();
1.25 + const char *GetLogTag();
1.26 +};
1.27 +
1.28 +extern SourceMod_Core g_SourceMod;
1.29 +
1.30 +PLUGIN_GLOBALVARS();
1.31 +
1.32 +#endif //_INCLUDE_SOURCEMOD_MM_API_H_