feat(db): load char races db

This commit is contained in:
fallenoak 2023-02-19 21:06:38 -06:00
parent eed060e512
commit 0ef5207f4e
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
4 changed files with 181 additions and 0 deletions

View file

@ -0,0 +1,41 @@
// DO NOT EDIT: generated by whoa-autocode
#ifndef DB_REC_CHR_RACES_REC_HPP
#define DB_REC_CHR_RACES_REC_HPP
#include <cstdint>
class SFile;
class ChrRacesRec {
public:
int32_t m_ID;
int32_t m_flags;
int32_t m_factionID;
int32_t m_explorationSoundID;
int32_t m_maleDisplayID;
int32_t m_femaleDisplayID;
const char* m_clientPrefix;
int32_t m_baseLanguage;
int32_t m_creatureType;
int32_t m_resSicknessSpellID;
int32_t m_splashSoundID;
const char* m_clientFileString;
int32_t m_cinematicSequenceID;
int32_t m_alliance;
const char* m_name;
const char* m_nameFemale;
const char* m_nameMale;
const char* m_facialHairCustomization[2];
const char* m_hairCustomization;
int32_t m_requiredExpansion;
static const char* GetFilename();
static uint32_t GetNumColumns();
static uint32_t GetRowSize();
static bool NeedIDAssigned();
int32_t GetID();
void SetID(int32_t id);
bool Read(SFile* f, const char* stringBuffer);
};
#endif