mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-08 18:36:00 +03:00
* fix(build): make project compilable * feat(glue): update Character Selection screen to support switching * fix(ui): fix CSimpleFontString::GetHeight() to use proper method * feat(db): add static database classes from whoa-autocode * feat(ui): use class and area IDs for Character Selection * chore(db): update ItemRandomPropertiesRec * feat(glue): update CCharacterSelection methods * chore(db): uncomment DB records * feat(glue): implement character deletion * feat(gx): update supported text tags in GxuDetermineQuotedCode * fix(ui): fix CSimpleFontString to use the FixedColor flag only if the string does not contain color tags * feat(net): implement GrunLogin::LogOff * feat(net): implement NetClient::Disconnect * feat(login): implement trimming of realm name in LoginResponse::HandleRealmData * feat(net): implement proper disconnection from login and realm servers * feat(net): implement PING/PONG messages * feat(net): add NetClient::Destroy method * feat(net): implement ClientServices::GetRealmList (second request of Realm List) * feat(glue): implement CGlueMgr::PollRealmList * feat(glue): implement CGlueMgr::PollCreateCharacter * chore(glue): add skeleton of CCharacterComponent class * fix(build): fix build using latest features * fix(glue): kill gotos in CGlueMgr::NetDisconnectHandler * fix(build): include SDL3 --------- Co-authored-by: superp00t <superp00t@tutanota.com>
72 lines
3.7 KiB
C++
72 lines
3.7 KiB
C++
// DO NOT EDIT: generated by whoa-autocode
|
|
#include "db/rec/LightIntBandRec.hpp"
|
|
#include "db/Locale.hpp"
|
|
#include "util/SFile.hpp"
|
|
|
|
const char* LightIntBandRec::GetFilename() {
|
|
return "DBFilesClient\\LightIntBand.dbc";
|
|
}
|
|
|
|
uint32_t LightIntBandRec::GetNumColumns() {
|
|
return 34;
|
|
}
|
|
|
|
uint32_t LightIntBandRec::GetRowSize() {
|
|
return 136;
|
|
}
|
|
|
|
bool LightIntBandRec::NeedIDAssigned() {
|
|
return false;
|
|
}
|
|
|
|
int32_t LightIntBandRec::GetID() {
|
|
return this->m_ID;
|
|
}
|
|
|
|
void LightIntBandRec::SetID(int32_t id) {
|
|
this->m_ID = id;
|
|
}
|
|
|
|
bool LightIntBandRec::Read(SFile* f, const char* stringBuffer) {
|
|
if (
|
|
!SFile::Read(f, &this->m_ID, sizeof(this->m_ID), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_num, sizeof(this->m_num), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_time[0], sizeof(m_time[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_time[1], sizeof(m_time[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_time[2], sizeof(m_time[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_time[3], sizeof(m_time[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_time[4], sizeof(m_time[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_time[5], sizeof(m_time[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_time[6], sizeof(m_time[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_time[7], sizeof(m_time[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_time[8], sizeof(m_time[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_time[9], sizeof(m_time[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_time[10], sizeof(m_time[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_time[11], sizeof(m_time[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_time[12], sizeof(m_time[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_time[13], sizeof(m_time[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_time[14], sizeof(m_time[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_time[15], sizeof(m_time[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_data[0], sizeof(m_data[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_data[1], sizeof(m_data[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_data[2], sizeof(m_data[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_data[3], sizeof(m_data[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_data[4], sizeof(m_data[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_data[5], sizeof(m_data[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_data[6], sizeof(m_data[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_data[7], sizeof(m_data[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_data[8], sizeof(m_data[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_data[9], sizeof(m_data[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_data[10], sizeof(m_data[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_data[11], sizeof(m_data[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_data[12], sizeof(m_data[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_data[13], sizeof(m_data[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_data[14], sizeof(m_data[0]), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_data[15], sizeof(m_data[0]), nullptr, nullptr, nullptr)
|
|
) {
|
|
return false;
|
|
}
|
|
|
|
return true;
|
|
}
|