mirror of
https://github.com/Source2ZE/MovementUnlocker.git
synced 2026-09-27 20:57:04 +02:00
Add plugin
This commit is contained in:
parent
dd6739af46
commit
08e7133f39
11 changed files with 2372 additions and 0 deletions
33
MovementUnlocker.h
Normal file
33
MovementUnlocker.h
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
#ifndef _INCLUDE_MOVEMENT_UNLOCKER_H_
|
||||
#define _INCLUDE_MOVEMENT_UNLOCKER_H_
|
||||
|
||||
#include <ISmmPlugin.h>
|
||||
|
||||
#if defined WIN32 && !defined snprintf
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
class MovementUnlocker : public ISmmPlugin
|
||||
{
|
||||
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();
|
||||
};
|
||||
|
||||
extern MovementUnlocker g_MovementUnlocker;
|
||||
|
||||
PLUGIN_GLOBALVARS();
|
||||
|
||||
#endif //_INCLUDE_MOVEMENT_UNLOCKER_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue