diff options
author | Northstar <northstar@northstar.tf> | 2023-12-20 15:20:02 +0100 |
---|---|---|
committer | Northstar <northstar@northstar.tf> | 2023-12-20 15:20:02 +0100 |
commit | 1e5c4a7f6a734352f802c82b293fe3b215e3a5b2 (patch) | |
tree | b1a5484f3839e1b0c2a9169856a51c16cf255180 /NorthstarDLL/core/memory.h | |
parent | 714282b52039b12225c8348ef7346d092676ffb1 (diff) | |
download | NorthstarLauncher-1e5c4a7f6a734352f802c82b293fe3b215e3a5b2.tar.gz NorthstarLauncher-1e5c4a7f6a734352f802c82b293fe3b215e3a5b2.zip |
Format project
Diffstat (limited to 'NorthstarDLL/core/memory.h')
-rw-r--r-- | NorthstarDLL/core/memory.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/NorthstarDLL/core/memory.h b/NorthstarDLL/core/memory.h index db0a38b3..a978963e 100644 --- a/NorthstarDLL/core/memory.h +++ b/NorthstarDLL/core/memory.h @@ -2,10 +2,10 @@ class CMemoryAddress { - public: +public: uintptr_t m_nAddress; - public: +public: CMemoryAddress(); CMemoryAddress(const uintptr_t nAddress); CMemoryAddress(const void* pAddress); @@ -47,7 +47,7 @@ class CMemoryAddress // based on https://github.com/Mauler125/r5sdk/blob/master/r5dev/public/include/module.h class CModule : public CMemoryAddress { - public: +public: struct ModuleSections_t { ModuleSections_t(void) = default; @@ -71,7 +71,7 @@ class CModule : public CMemoryAddress ModuleSections_t m_RunTimeData; ModuleSections_t m_ReadOnlyData; - private: +private: std::string m_svModuleName; uintptr_t m_pModuleBase {}; DWORD m_nModuleSize {}; @@ -79,7 +79,7 @@ class CModule : public CMemoryAddress IMAGE_DOS_HEADER* m_pDOSHeader = nullptr; std::vector<ModuleSections_t> m_vModuleSections; - public: +public: CModule() = delete; // no default, we need a module name CModule(const HMODULE pModule); CModule(const char* pModuleName); |