-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathClassDumper3.h
More file actions
47 lines (39 loc) · 976 Bytes
/
ClassDumper3.h
File metadata and controls
47 lines (39 loc) · 976 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 <Windows.h>
#include "RenderConfig.h"
#include "GUI/Helpers/ImGuiApp.h"
#include "GUI/Interfaces/IWindow.h"
#include "GUI/MainWindow.h"
#include "GUI/ClassInspector.h"
#include "GUI/LogWindow.h"
#include <mutex>
#include <memory>
class ClassDumper3
{
public:
ClassDumper3() {};
int Run();
void Initialize();
void CleanExit();
void GUILoop();
static void Log(const std::string& InLog);
static void Log(const char* InLog);
static void LogF(std::string Format, ...);
static void LogF(const char* Format, ...);
static void ClearLog();
static void CopyToClipboard(const std::string& InString);
HWND DXWindow;
WNDCLASSEX WindowClass;
#ifdef USE_DX12
ImGuiAppDX12 DXApp;
#else
ImGuiAppDX11 DXApp;
#endif
private:
std::shared_ptr<MainWindow> MainWnd;
std::shared_ptr<ClassInspector> InspectorWnd;
static const size_t LogBufferSize = 8192;
friend LogWindow;
static std::shared_ptr<LogWindow> LogWnd;
static std::mutex LogMutex;
};