forked from fengjixuchui/XHOOK-WoW-1.12.1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMain.h
81 lines (66 loc) · 1.45 KB
/
Main.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
76
77
78
79
80
81
#pragma once
#pragma comment (lib, "d3dx9.lib")
#pragma comment (lib, "d3d9.lib")
#pragma comment (lib, "detours.lib")
#pragma warning( disable: 4244 )
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#include <Windows.h>
#include <d3d9.h>
#include "detours.h"
#include <d3dx9.h>
#include <iostream>
#include <fstream>
#include "detours.h"
#include "Console.h"
#include <stdio.h>
#include <vector>
#include "d3d9types.h"
#include <time.h>
#include "stdint.h"
#include "imgui.h"
#include "imgui_impl_dx9.h"
#include "imgui_internal.h"
#include "detours.h"
#include "XorStr.hpp"
#include "Util.h"
#include "Settings.h"
#include "Vector.h"
#include "pattern.h"
#include "Teleporter.h"
#include "stdafx.h"
#include "Detours/src/detours.h"
#include "Renderer.h"
#include "FindPattern.h"
#include "configs.h"
#include <iostream>
#include <vector>
#include <TlHelp32.h>
#include <tchar.h>
#include "memmod.h"
//objmgr
//#include "ObjectMgr.h"
//#include "CGObject_C.h"
//#include "CGPlayer_C.h"
//#include "CGUnit_C.h"
#ifndef UINT32
#define UINT32 unsigned int
#endif
inline void SetTooltip(const char* text) {
if (ImGui::IsItemHovered())
ImGui::SetTooltip("%s", text);
}
namespace Main
{
void main();
void Objmanager();
}
enum class ObjectType : uint8_t {
NONE = 0,
ITEM = 1,
CONTAINER = 2,
UNIT = 3,
PLAYER = 4,
GAMEOBJ = 5,
DYNOBJ = 6,
CORPSE = 7,
};