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

Method open

bwapi/Storm/storm.h:1330–1334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1328 }
1329
1330 bool open(const std::string &sFileName, unsigned flags = SFILE_FROM_MPQ, HANDLE hMpq = nullptr)
1331 {
1332 valid = SFileOpenFileEx(hMpq, sFileName.c_str(), flags, &hFile) != FALSE;
1333 return isValid();
1334 }
1335
1336 bool close()
1337 {

Callers 4

getFileTypeFunction · 0.45
calculateMapHashMethod · 0.45
onEndMethod · 0.45

Calls 1

c_strMethod · 0.80

Tested by 1

onEndMethod · 0.36