// DO NOT EDIT: generated by whoa-autocode #include "db/rec/StableSlotPricesRec.hpp" #include "db/Locale.hpp" #include "util/SFile.hpp" const char* StableSlotPricesRec::GetFilename() { return "DBFilesClient\\StableSlotPrices.dbc"; } uint32_t StableSlotPricesRec::GetNumColumns() { return 2; } uint32_t StableSlotPricesRec::GetRowSize() { return 8; } bool StableSlotPricesRec::NeedIDAssigned() { return false; } int32_t StableSlotPricesRec::GetID() { return this->m_ID; } void StableSlotPricesRec::SetID(int32_t id) { this->m_ID = id; } bool StableSlotPricesRec::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_cost, sizeof(this->m_cost), nullptr, nullptr, nullptr) ) { return false; } return true; }