| 231 | |
| 232 | |
| 233 | void WorldDownLoader::askToBZFS() { |
| 234 | // Why do we use the error status for this? |
| 235 | showError("Downloading World..."); |
| 236 | char message[MaxPacketLen]; |
| 237 | // ask for world |
| 238 | nboPackUInt32(message, 0); |
| 239 | serverLink->send(MsgGetWorld, sizeof(uint32_t), message); |
| 240 | worldPtr = 0; |
| 241 | if (cacheOut) { |
| 242 | delete cacheOut; |
| 243 | cacheOut = NULL; |
| 244 | } |
| 245 | cacheOut = FILEMGR.createDataOutStream(worldCachePath, true, true); |
| 246 | } |
| 247 | |
| 248 | |
| 249 | bool WorldDownLoader::isCached(char* hexDigest) { |
nothing calls this directly
no test coverage detected