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

Closes the JSON round-trip gap on the world-state UI catalog
format shipped last batch. --export-wwui-json emits all 11
scalar fields plus dual int + name forms for displayKind and
panelPosition so hand-edits can use either representation.
--import-wwui-json accepts either form, falling back to the
int when both are present, and defaults iconColorRGBA to
0xFFFFFFFF (opaque white) when omitted. Verified
byte-identical round-trip on all three preset emitters
(starter / wintergrasp / dungeon). 740 documented CLI flags.
This commit is contained in:
Kelsi 2026-05-09 19:33:37 -07:00
parent d332229a79
commit 30de6f56cd
3 changed files with 159 additions and 0 deletions

View file

@ -143,6 +143,7 @@ const char* const kArgRequired[] = {
"--export-wsvk-json", "--import-wsvk-json",
"--gen-wsui", "--gen-wsui-wintergrasp", "--gen-wsui-dungeon",
"--info-wwui", "--validate-wwui",
"--export-wwui-json", "--import-wwui-json",
"--gen-weather-temperate", "--gen-weather-arctic",
"--gen-weather-desert", "--gen-weather-stormy",
"--gen-zone-atmosphere",