feat(editor): add WSPV JSON round-trip (--export/--import-wspv-json)

Dual encoding for conditionKind (int 0..5 OR token
"stance"/"form"/"talent"/"race"/"equippedweapon"/
"auraactive"). conditionValue stays as raw uint32 since
its semantics depend on conditionKind — pretty-printing
would require six different lookup paths (stance
spellId, talent ID, race bit, etc.) which is more
complexity than benefit.

All 3 presets (warrior/talent/racial) byte-identical
roundtrip OK. CLI flag count 1218 -> 1220.
This commit is contained in:
Kelsi 2026-05-10 02:21:32 -07:00
parent 6403d84a28
commit a5a16cae52
3 changed files with 153 additions and 0 deletions

View file

@ -349,6 +349,7 @@ const char* const kArgRequired[] = {
"--export-wmvc-json", "--import-wmvc-json",
"--gen-spv", "--gen-spv-talent", "--gen-spv-racial",
"--info-wspv", "--validate-wspv",
"--export-wspv-json", "--import-wspv-json",
"--gen-weather-temperate", "--gen-weather-arctic",
"--gen-weather-desert", "--gen-weather-stormy",
"--gen-zone-atmosphere",