Remove hardcoded WotLK defaults, use JSON as single source of truth for opcodes/fields/DBC layouts

This commit is contained in:
Kelsi 2026-02-20 00:39:20 -08:00
parent 99a30becd3
commit 0e6d502f3b
8 changed files with 11 additions and 565 deletions

View file

@ -465,9 +465,6 @@ public:
*/
bool loadFromJson(const std::string& path);
/** Load built-in WotLK defaults (hardcoded fallback). */
void loadWotlkDefaults();
/** LogicalOpcode → wire value for sending packets. Returns 0xFFFF if unknown. */
uint16_t toWire(LogicalOpcode op) const;

View file

@ -72,9 +72,6 @@ public:
/** Load from JSON file. Returns true if successful. */
bool loadFromJson(const std::string& path);
/** Load built-in WotLK 3.3.5a defaults. */
void loadWotlkDefaults();
/** Get the wire index for a logical field. Returns 0xFFFF if unknown. */
uint16_t index(UF field) const;