mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Replace hardcoded WotLK protocol constants with a data-driven architecture supporting Classic 1.12.1, TBC 2.4.3, and WotLK 3.3.5a. Each expansion has JSON profiles for opcodes, update fields, and DBC layouts, plus C++ polymorphic packet parsers for binary format differences (movement flags, speed fields, transport data, spline format, char enum layout). Key components: - ExpansionRegistry: scans Data/expansions/*/expansion.json at startup - OpcodeTable: logical enum <-> wire values loaded from JSON - UpdateFieldTable: field indices loaded from JSON per expansion - DBCLayout: schema-driven DBC field lookups replacing magic numbers - PacketParsers: WotLK/TBC/Classic parsers with correct flag positions - Multi-manifest AssetManager: layered manifests with priority ordering - HDPackManager: overlay texture packs with expansion compatibility - Auth screen expansion picker replacing hardcoded version dropdown
11 lines
284 B
JSON
11 lines
284 B
JSON
{
|
|
"id": "wotlk",
|
|
"name": "Wrath of the Lich King",
|
|
"shortName": "WotLK",
|
|
"version": { "major": 3, "minor": 3, "patch": 5 },
|
|
"build": 12340,
|
|
"protocolVersion": 8,
|
|
"maxLevel": 80,
|
|
"races": [1, 2, 3, 4, 5, 6, 7, 8, 10, 11],
|
|
"classes": [1, 2, 3, 4, 5, 6, 7, 8, 9, 11]
|
|
}
|