skip guild card file download if checksums match
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <stdexcept>
|
||||
#include <phosg/Filesystem.hh>
|
||||
#include <phosg/Hash.hh>
|
||||
|
||||
#include "FileContentsCache.hh"
|
||||
#include "Loggers.hh"
|
||||
@@ -298,6 +299,10 @@ void GuildCardEntryBB::clear() {
|
||||
this->unknown_a1.clear();
|
||||
}
|
||||
|
||||
uint32_t GuildCardFileBB::checksum() const {
|
||||
return crc32(this, sizeof(*this));
|
||||
}
|
||||
|
||||
|
||||
|
||||
void PlayerBank::load(const string& filename) {
|
||||
|
||||
Reference in New Issue
Block a user