mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-11 11:33:52 +00:00
feat(editor): add WPRG JSON round-trip (--export/--import-wprg-json)
Dual encoding for factionFilter (int 1=Alliance / 2=Horde OR token "alliance" / "horde"). titlePrefix as plain JSON string — round-trip preserves the spaces and hyphens in titles like "Knight-Lieutenant" exactly. honorRequiredWeekly + honorRequiredAchieve serialize as plain uint32 — vanilla rank thresholds top out around 1,000,000 lifetime RP, well within uint32 range. All 3 presets (alliance/horde/high-tier) byte-identical roundtrip OK. CLI flag count 1281 -> 1283.
This commit is contained in:
parent
4ce07d5ca9
commit
2f1cb271a8
3 changed files with 152 additions and 0 deletions
|
|
@ -376,6 +376,7 @@ const char* const kArgRequired[] = {
|
|||
"--export-wanv-json", "--import-wanv-json",
|
||||
"--gen-prg", "--gen-prg-horde", "--gen-prg-high",
|
||||
"--info-wprg", "--validate-wprg",
|
||||
"--export-wprg-json", "--import-wprg-json",
|
||||
"--gen-weather-temperate", "--gen-weather-arctic",
|
||||
"--gen-weather-desert", "--gen-weather-stormy",
|
||||
"--gen-zone-atmosphere",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue