- WowClientDB.h: WowClientDB_Base, IDatabase<T>, WowClientDB_Common<T> (Load), WowClientDB<T> and WowClientDB_RLE<T> (Spell, ItemDisplayInfo, Light*Band) with OFFSET lists for every 12340 instance; WowClientDB.cpp: base dtor, RLE row codec. - Records are classes (0.5.3 decorations) with out-of-line ctor/dtor/GetFilename/Read in DB/Rec/*.cpp, static s_numColumns/s_rowSize/s_generatedID; ID field m_id. - DBClient.cpp: 239 table globals, StaticDBLoadAll, ClientDBInitialize (6 callees declared, tracked); Startup_Strings in Client.cpp, VideoHardware in Hardware.cpp. - IDB synced (410 names, snapshot Wow.exe.pre_clientdb_20260926.idb). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
54 lines
1.8 KiB
C++
54 lines
1.8 KiB
C++
#ifndef WOW_SOURCE_DB_REC_CREATURESOUNDDATAREC_H
|
|
#define WOW_SOURCE_DB_REC_CREATURESOUNDDATAREC_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
|
|
class SFileImpl;
|
|
|
|
class CreatureSoundDataRec {
|
|
public:
|
|
static const int32_t s_numColumns = 38;
|
|
static const int32_t s_rowSize = 152;
|
|
static const bool s_generatedID = false;
|
|
|
|
/* 0000 */ int32_t m_id;
|
|
/* 0004 */ int32_t m_soundExertionID;
|
|
/* 0008 */ int32_t m_soundExertionCriticalID;
|
|
/* 000C */ int32_t m_soundInjuryID;
|
|
/* 0010 */ int32_t m_soundInjuryCriticalID;
|
|
/* 0014 */ int32_t m_soundInjuryCrushingBlowID;
|
|
/* 0018 */ int32_t m_soundDeathID;
|
|
/* 001C */ int32_t m_soundStunID;
|
|
/* 0020 */ int32_t m_soundStandID;
|
|
/* 0024 */ int32_t m_soundFootstepID;
|
|
/* 0028 */ int32_t m_soundAggroID;
|
|
/* 002C */ int32_t m_soundWingFlapID;
|
|
/* 0030 */ int32_t m_soundWingGlideID;
|
|
/* 0034 */ int32_t m_soundAlertID;
|
|
/* 0038 */ int32_t m_soundFidget [5];
|
|
/* 004C */ int32_t m_customAttack [4];
|
|
/* 005C */ int32_t m_npcsoundID;
|
|
/* 0060 */ int32_t m_loopSoundID;
|
|
/* 0064 */ int32_t m_creatureImpactType;
|
|
/* 0068 */ int32_t m_soundJumpStartID;
|
|
/* 006C */ int32_t m_soundJumpEndID;
|
|
/* 0070 */ int32_t m_soundPetAttackID;
|
|
/* 0074 */ int32_t m_soundPetOrderID;
|
|
/* 0078 */ int32_t m_soundPetDismissID;
|
|
/* 007C */ float m_fidgetDelaySecondsMin;
|
|
/* 0080 */ float m_fidgetDelaySecondsMax;
|
|
/* 0084 */ int32_t m_birthSoundID;
|
|
/* 0088 */ int32_t m_spellCastDirectedSoundID;
|
|
/* 008C */ int32_t m_submergeSoundID;
|
|
/* 0090 */ int32_t m_submergedSoundID;
|
|
/* 0094 */ int32_t m_creatureSoundDataIdpet;
|
|
|
|
CreatureSoundDataRec();
|
|
~CreatureSoundDataRec();
|
|
static const char* GetFilename();
|
|
bool Read(SFileImpl* file, const char* stringBuffer);
|
|
};
|
|
|
|
#endif
|