43 lines
843 B
C++
43 lines
843 B
C++
|
|
/*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "../../../hacks/sharedobj.hpp" // For the normal shared obj class
|
|
|
|
// I dont know what this does
|
|
typedef void* (*fn_CreateInterface_t)(const char*, int*);
|
|
|
|
class SourceSo : public SharedObject {
|
|
public:
|
|
SourceSo(const char* _file_name);
|
|
void* CreateInterface(const char* interface);
|
|
|
|
private:
|
|
fn_CreateInterface_t fptr = nullptr; // Used by source but is usefull
|
|
};
|
|
|
|
namespace modules {
|
|
namespace csgo {
|
|
namespace hacks {
|
|
namespace sharedobj {
|
|
|
|
// Create move hook + controling attack and movement
|
|
extern SourceSo client;
|
|
// For player names
|
|
extern SourceSo engine;
|
|
// Used for surface drawing
|
|
extern SourceSo vgui2;
|
|
// Used for our paint traverse hook
|
|
extern SourceSo vguimatsurface;
|
|
|
|
} // namespace sharedobj
|
|
} // namespace hacks
|
|
} // namespace csgo
|
|
} // namespace modules
|