forked from M-r-J-o-h-n/Rust-External-Cheat
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Globals.h
37 lines (32 loc) · 828 Bytes
/
Globals.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
#pragma once
#include <Windows.h>
#include "MemoryManager.h"
#include "CheatStructs.h"
#include "HackSetting.h"
#include <utility>
namespace Rust {
struct GameState {
bool inGame;
};
struct SystemData {
HWND hOverlay;
RECT GameWindowRect;
int width;
int height;
};
struct HackData {
Cheat::ExternalMemoryManager* RustMemory;
SyncData<std::shared_ptr<Rust::CheatStruct::TaggedObject>> TaggedObject;
SyncData<std::shared_ptr<Rust::CheatStruct::ActiveObject>> ActiveObjects;
Rust::CheatStruct::Player LocalPlayer;
Rust::CheatStruct::EntityAddresses MainCam;
};
struct Globals {
static bool CheatRunning;
static void Init();
static HackSetting hack_setting;
static GameState game_state;
static SystemData system_data;
static HackData hack_data;
};
}