feat(editor): add WTIT JSON round-trip authoring workflow

Closes the WTIT open-format loop with --export-wtit-json /
--import-wtit-json, mirroring the JSON pairs added for
every other novel binary format. All 24 binary formats
added since WOL now have full JSON round-trip authoring.

Each title round-trips all 8 scalar fields (titleId, name,
nameMale, nameFemale, iconPath, prefix, category, sortOrder).
Two enum-typed fields emit dual int + name forms:
  • category (achievement/pvp/raid/class/event/profession/...)
  • prefix   (1=prefix vs 0=suffix display position)

Verified byte-identical round-trip on the PvP preset
(28-title Honor System ladder with full Alliance + Horde
rank coverage preserved through the JSON layer).

Adds 2 flags (616 documented total now).
This commit is contained in:
Kelsi 2026-05-09 17:16:41 -07:00
parent ff4159c369
commit 262f9291b4
3 changed files with 134 additions and 0 deletions

View file

@ -88,6 +88,7 @@ const char* const kArgRequired[] = {
"--export-wtrg-json", "--import-wtrg-json",
"--gen-titles", "--gen-titles-pvp", "--gen-titles-achievement",
"--info-wtit", "--validate-wtit",
"--export-wtit-json", "--import-wtit-json",
"--gen-events", "--gen-events-yearly", "--gen-events-weekends",
"--info-wsea", "--validate-wsea",
"--gen-weather-temperate", "--gen-weather-arctic",