-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathSMJS_Interfaces.h
More file actions
41 lines (37 loc) · 1.24 KB
/
SMJS_Interfaces.h
File metadata and controls
41 lines (37 loc) · 1.24 KB
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
#pragma once
#include "SMJS.h"
#include <ISmmPlugin.h>
#include <eiface.h>
#include <igameevents.h>
#include <iplayerinfo.h>
#include <random.h>
#include <filesystem.h>
#include <IEngineSound.h>
#include "toolframework/itoolentity.h"
#include "ISDKTools.h"
#include "IBinTools.h"
#include <IGameConfigs.h>
using namespace SourceMod;
extern IVEngineServer *engine;
extern IServerGameDLL *gamedll;
extern IServerGameClients *serverClients;
extern ICvar *icvar;
extern ISmmPluginManager *g_pMMPlugins;
extern CGlobalVars *gpGlobals;
extern IGameEventManager2 *gameevents;
extern SourceHook::CallClass<IVEngineServer> *enginePatch;
extern SourceHook::CallClass<IServerGameDLL> *gamedllPatch;
extern IUniformRandomStream *engrandom;
extern IPlayerInfoManager *playerinfo;
extern IBaseFileSystem *basefilesystem;
extern IFileSystem *filesystem;
extern IEngineSound *enginesound;
// extern IServerPluginHelpers *serverpluginhelpers;
extern IServerPluginCallbacks *vsp_interface;
extern IServerTools *serverTools;
extern ISDKTools *sdkTools;
extern IBinTools *binTools;
extern IGameConfig *sdkToolsConf;
bool SMJS_InitInterfaces(ISmmAPI *ismm, char *error, size_t maxlen, bool late);
void SMJS_InitLateInterfaces();
bool SMJS_LoadConfs(char *error, size_t maxlength, bool late);