统一native_sdk
This commit is contained in:
62
csgo2/head.h
Normal file
62
csgo2/head.h
Normal file
@@ -0,0 +1,62 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include <array>
|
||||
#include <Windows.h>
|
||||
#include <Psapi.h>
|
||||
#include <thread>
|
||||
#include <unordered_map>
|
||||
#include <map>
|
||||
#include <shared_mutex>
|
||||
#include <sstream>
|
||||
#include "framework.h"
|
||||
#include "stb.hh"
|
||||
// #define LOG DebugPrintA
|
||||
static void DebugPrintA(const char* format, ...) {
|
||||
std::string temp;
|
||||
va_list marker = { 0 };
|
||||
va_start(marker, format);
|
||||
size_t num_of_chars = _vscprintf(format, marker);
|
||||
if (num_of_chars > temp.capacity()) {
|
||||
temp.reserve(num_of_chars + 1);
|
||||
}
|
||||
vsprintf_s(const_cast<char*>(temp.c_str()), num_of_chars + 1, format,
|
||||
marker);
|
||||
OutputDebugStringA(temp.c_str());
|
||||
}
|
||||
#define LOG(...) printf(__VA_ARGS__)
|
||||
#define THE_GAME_SIG(sig) \
|
||||
stb::simple_conversion::build<stb::fixed_string{sig}>::value
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
#include "./MinHook/include/MinHook.h"
|
||||
#include "hash_fnv1a_constexpr.h"
|
||||
//<2F><><EFBFBD>߿<EFBFBD>
|
||||
|
||||
#include "vmt.h"
|
||||
#include "memory.h"
|
||||
#include "sdk/gameevent/IGameEvent.h"
|
||||
#include "sdk/tier1/bufferstring.h"
|
||||
#include "sdk/public/eiface.h"
|
||||
#include "sdk/player/playerslot.h"
|
||||
|
||||
//sdk
|
||||
#include "sdk/sdk.h"
|
||||
#include "sdk/tier1/UtlString.hpp"
|
||||
#include "sdk/interfaces/interfaces.h"
|
||||
#include "sdk/public/eiface.h"
|
||||
#include "sdk/gameevent/IGameEvent.h"
|
||||
#include "sdk/convar/convar.hpp"
|
||||
#include "sdk/tier1/bufferstring.h"
|
||||
|
||||
#include "offset.h"
|
||||
#include "native_sdk.h"
|
||||
|
||||
#include "interface.h"
|
||||
#include "module.h"
|
||||
#include "global.h"
|
||||
|
||||
#include "events.h"
|
||||
#include "hooks.h"
|
||||
#include "vmthook.h"
|
||||
|
||||
#include "player_manager.h"
|
||||
#include "sdk_tools.h"
|
||||
Reference in New Issue
Block a user