MCPcopy Create free account
hub / github.com/bwapi/bwapi / Revert

Function Revert

bwapi/BWAPI/Source/NewHackUtil.cpp:224–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222 }
223
224 void Revert()
225 {
226 for ( std::vector<memPatch>::iterator i = changes.begin(), iend = changes.end(); i != iend; ++i )
227 WriteMemRaw(i->location, i->patch, i->patchSize);
228 changes.clear();
229 return;
230 }
231
232};

Callers

nothing calls this directly

Calls 4

WriteMemRawFunction · 0.85
beginMethod · 0.80
endMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected