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

Closes the JSON round-trip gap on the character customization
feature catalog format shipped last batch. --export-wchf-json
emits all 9 scalar fields plus dual int + name forms for
featureKind (9 values) / sexId (2 values) /
requiresExpansion (4 values) so hand-edits can use either
representation. --import-wchf-json accepts either form.
Verified byte-identical round-trip on all three preset
emitters (starter Human Male / Blood Elf Female hair / Tauren
Male horns + facial hair). 828 documented CLI flags.
This commit is contained in:
Kelsi 2026-05-09 20:37:01 -07:00
parent 243d7f4416
commit 5f07e74fc5
3 changed files with 171 additions and 0 deletions

View file

@ -181,6 +181,7 @@ const char* const kArgRequired[] = {
"--export-wmac-json", "--import-wmac-json",
"--gen-chf", "--gen-chf-bloodelf", "--gen-chf-tauren",
"--info-wchf", "--validate-wchf",
"--export-wchf-json", "--import-wchf-json",
"--gen-weather-temperate", "--gen-weather-arctic",
"--gen-weather-desert", "--gen-weather-stormy",
"--gen-zone-atmosphere",