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

Method backup

bwapi/BWAPILIB/Source/Game.cpp:187–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185 };
186
187 void backup()
188 {
189 memcpy(save, data, sizeof(data));
190 };
191 void restore()
192 {
193 memcpy(data, save, sizeof(data));

Callers 6

PlacementReserveMethod · 0.95
ReserveGroundHeightFunction · 0.80
ReserveAllStructuresFunction · 0.80
ReserveDefaultFunction · 0.80
reserveTemplateSpacingFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected