feat(db): improve accuracy of db records

This commit is contained in:
fallenoak 2023-02-15 21:50:45 -06:00
parent 41554f32b4
commit 57db9ca2a5
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
6 changed files with 48 additions and 22 deletions

View file

@ -5,6 +5,18 @@ const char* AchievementRec::GetFilename() {
return "DBFilesClient\\Achievement.dbc";
}
uint32_t AchievementRec::GetNumColumns() {
return 62;
}
uint32_t AchievementRec::GetRowSize() {
return 248;
}
int32_t AchievementRec::GetID() {
return this->m_ID;
}
bool AchievementRec::Read(SFile* f, const char* stringBuffer) {
uint32_t titleOfs[16];
uint32_t titleMask;