feat(editor): add WLFG JSON round-trip (export/import sidecar)

Closes the JSON round-trip gap on the LFG dungeon catalog
format shipped this batch. --export-wlfg-json emits all 13
scalar fields plus dual int + name forms for difficulty
(4 values) and expansionRequired (4 values) so hand-edits
can use either representation. --import-wlfg-json defaults
groupSize to 5 (dungeon) and requiredRolesMask to kRoleAll
(all three role types) when omitted — matches the typical
queue setup for cross-realm dungeon finder. Verified
byte-identical round-trip on all three preset emitters
(starter classic dungeons / heroic 5-mans / 25-man raids).
813 documented CLI flags.
This commit is contained in:
Kelsi 2026-05-09 20:25:30 -07:00
parent 385cdd7dc9
commit b8e039f834
3 changed files with 171 additions and 0 deletions

View file

@ -174,6 +174,7 @@ const char* const kArgRequired[] = {
"--export-wsch-json", "--import-wsch-json",
"--gen-lfg", "--gen-lfg-heroic", "--gen-lfg-raid",
"--info-wlfg", "--validate-wlfg",
"--export-wlfg-json", "--import-wlfg-json",
"--gen-weather-temperate", "--gen-weather-arctic",
"--gen-weather-desert", "--gen-weather-stormy",
"--gen-zone-atmosphere",