-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathInterfaces.h
75 lines (66 loc) · 1.63 KB
/
Interfaces.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#pragma once
#include "CommonIncludes.h"
#include "SDK.h"
#include "CInput.h"
#include "Prediction.h"
#include "XorStr.hpp"
#include "MoveHelper.h"
#include "IClientMode.h"
#include "glow_outline_effect.h"
#include "IVEffects.h"
#include "CClientState.h"
extern IBaseClientDLL* m_pClient;
extern IVEngineClient* m_pEngine;
extern IPanel* m_pPanels;
extern IClientEntityList* m_pEntityList;
extern ISurface* m_pSurface;
extern IClientMode* m_pClientMode;
extern CGlobalVarsBase* m_pGlobals;
extern IPrediction* m_pPrediction;
extern IMaterialSystem* m_pMaterialSystem;
extern IVRenderView* m_pRenderView;
extern IVModelRender* m_pModelRender;
extern IVModelInfo* m_pModelInfo;
extern IEngineTrace* m_pTrace;
extern IPhysicsSurfaceProps* m_pPhysProps;
extern ICVar* m_pCVar;
extern CInput* m_pInput;
extern IGameEventManager2* m_pGameEventManager;
extern IGameMovement* m_pGameMovement;
extern IMoveHelper* m_pMoveHelper;
extern CClientState* m_ClientState;
extern CGlowObjectManager* m_pGlowObjManager;
extern IVEffects* m_pEffects;
class CInterfaces
{
public:
class InterfacesHead;
class InterfaceNode;
class InterfacesHead
{
public:
InterfaceNode* HeadNode; //0x0000
};//Size=0x0040
class InterfaceNode
{
public:
void* fncGet; //0x0000
char* pName; //0x0004
InterfaceNode* pNext; //0x0008
};//Size=0x001C
class InterfaceManager
{
public:
InterfaceManager(std::string strModule);
InterfaceManager();
void Setup(std::string strModule);
void* GetInterface(std::string strName);
private:
std::string strModuleName;
HMODULE ModuleBase;
InterfacesHead* pIntHead;
};
public:
void initialise();
};
extern CInterfaces interfaces;