// DO NOT EDIT: generated by whoa-autocode #include "db/rec/TransportAnimationRec.hpp" #include "db/Locale.hpp" #include "util/SFile.hpp" const char* TransportAnimationRec::GetFilename() { return "DBFilesClient\\TransportAnimation.dbc"; } uint32_t TransportAnimationRec::GetNumColumns() { return 7; } uint32_t TransportAnimationRec::GetRowSize() { return 28; } bool TransportAnimationRec::NeedIDAssigned() { return false; } int32_t TransportAnimationRec::GetID() { return this->m_ID; } void TransportAnimationRec::SetID(int32_t id) { this->m_ID = id; } bool TransportAnimationRec::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_transportID, sizeof(this->m_transportID), nullptr, nullptr, nullptr) || !SFile::Read(f, &this->m_timeIndex, sizeof(this->m_timeIndex), nullptr, nullptr, nullptr) || !SFile::Read(f, &this->m_pos[0], sizeof(m_pos[0]), nullptr, nullptr, nullptr) || !SFile::Read(f, &this->m_pos[1], sizeof(m_pos[0]), nullptr, nullptr, nullptr) || !SFile::Read(f, &this->m_pos[2], sizeof(m_pos[0]), nullptr, nullptr, nullptr) || !SFile::Read(f, &this->m_sequenceID, sizeof(this->m_sequenceID), nullptr, nullptr, nullptr) ) { return false; } return true; }