-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathTypes.hpp
More file actions
47 lines (42 loc) · 906 Bytes
/
Types.hpp
File metadata and controls
47 lines (42 loc) · 906 Bytes
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
#pragma once
#include <cstdint>
// Uncomment which hooking library you want to use, Detours or MinHook.
#define CR_DETOURS
//#define CR_MINHOOK
namespace CodeRed
{
static constexpr uint8_t GLOBAL_OBJECT_SUB = 10; // Objects at the back of GObjects are highly volatile, may crash if you read the very last entry when iterating backwards, good to subtract a few as a buffer.
static constexpr uint64_t GOLDEN_RATIO_MAGIC = 0x9E3779B9; // 0x9E3779B9;
enum class EventTypes : uint8_t
{
Unknown,
ProcessEvent,
ProcessInternal,
CallFunction
};
enum class ThreadTypes : uint8_t
{
Main,
Render
};
enum class TextColors : uint32_t
{
Black = 0,
Blue = 1,
Green = 2,
Aqua = 3,
Red = 4,
Purple = 5,
Yellow = 6,
White = 7,
Grey = 8,
LightBlue = 9,
LightGreen = 10,
LightAqua = 11,
LightRed = 12,
LightPurple = 13,
LightYellow = 14,
BrightWhite = 15,
END
};
}