-
Notifications
You must be signed in to change notification settings - Fork 1
/
smsdk_ext.h
44 lines (36 loc) · 1.19 KB
/
smsdk_ext.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef _INCLUDE_SOURCEMOD_EXTENSION_PROPER_H_
#define _INCLUDE_SOURCEMOD_EXTENSION_PROPER_H_
#include "smsdk_config.h"
#include <ISmmPlugin.h>
#include <IShareSys.h>
#include <IExtensionSys.h>
#include <IForwardSys.h>
#include <IPluginSys.h>
#include <IPlayerHelpers.h>
#include <iplayerinfo.h>
#include <ISDKTools.h>
#include <vector>
#include <unordered_map>
#include <mutex>
#define SMEXT_PLUGIN_NAME "SurfRampOptimizer"
#define SMEXT_PLUGIN_AUTHOR "jessetooler"
#define SMEXT_PLUGIN_DESCRIPTION "pathfinder for surf ramps"
#define SMEXT_PLUGIN_VERSION "1.0.0.0"
#define SMEXT_PLUGIN_URL "https://gcpdot.com"
class SurfRampOptimizer : 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();
const char* GetAuthor();
const char* GetName();
const char* GetDescription();
const char* GetURL();
const char* GetLicense();
const char* GetVersion();
const char* GetDate();
};
#endif // _INCLUDE_SOURCEMOD_EXTENSION_PROPER_H_#pragma once