mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-11 03:23:51 +00:00
feat(editor): add WGFS JSON round-trip (--export/--import-wgfs-json)
Closes the editing loop on the glyph-slot catalog: dump a .wgfs
to JSON, hand-edit slotKind / displayOrder / minLevelToUnlock /
requiredClassMask (e.g. add a fourth Major slot, lower a Minor
slot's unlock from 75 to 70, restrict a Prime slot to Mages
only), re-import to a byte-identical binary.
The exporter emits both slotKind (int 0..2) and the human-
readable slotKindName ("major", "minor", "prime"); the importer
accepts either form.
Verified byte-identical round-trip on all three presets
(starter / wotlk / cata). CLI flag count 934 -> 936.
This commit is contained in:
parent
48c770f5ea
commit
ea173d6ff8
3 changed files with 147 additions and 0 deletions
|
|
@ -227,6 +227,7 @@ const char* const kArgRequired[] = {
|
|||
"--export-wspc-json", "--import-wspc-json",
|
||||
"--gen-gfs", "--gen-gfs-wotlk", "--gen-gfs-cata",
|
||||
"--info-wgfs", "--validate-wgfs",
|
||||
"--export-wgfs-json", "--import-wgfs-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