Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ MemoryPatcher
Method
MemoryPatcher
library/MemoryPatcher.cpp:6–10 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
namespace DFHack
5
{
6
MemoryPatcher::MemoryPatcher(Process* p_) : p(p_)
7
{
8
if (!p)
9
p = Core::getInstance().p.get();
10
}
11
12
MemoryPatcher::~MemoryPatcher()
13
{
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected