mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-10-29 07:16:05 +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>
41 lines
1.0 KiB
C++
41 lines
1.0 KiB
C++
// DO NOT EDIT: generated by whoa-autocode
|
|
#include "db/rec/AnimKitBoneSetAliasRec.hpp"
|
|
#include "db/Locale.hpp"
|
|
#include "util/SFile.hpp"
|
|
|
|
const char* AnimKitBoneSetAliasRec::GetFilename() {
|
|
return "DBFilesClient\\AnimKitBoneSetAlias.dbc";
|
|
}
|
|
|
|
uint32_t AnimKitBoneSetAliasRec::GetNumColumns() {
|
|
return 3;
|
|
}
|
|
|
|
uint32_t AnimKitBoneSetAliasRec::GetRowSize() {
|
|
return 12;
|
|
}
|
|
|
|
bool AnimKitBoneSetAliasRec::NeedIDAssigned() {
|
|
return false;
|
|
}
|
|
|
|
int32_t AnimKitBoneSetAliasRec::GetID() {
|
|
return this->m_ID;
|
|
}
|
|
|
|
void AnimKitBoneSetAliasRec::SetID(int32_t id) {
|
|
this->m_ID = id;
|
|
}
|
|
|
|
bool AnimKitBoneSetAliasRec::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_boneDataID, sizeof(this->m_boneDataID), nullptr, nullptr, nullptr)
|
|
|| !SFile::Read(f, &this->m_animKitBoneSetID, sizeof(this->m_animKitBoneSetID), nullptr, nullptr, nullptr)
|
|
) {
|
|
return false;
|
|
}
|
|
|
|
return true;
|
|
}
|