mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-10 11:03:51 +00:00
feat(editor): add WPET JSON round-trip authoring workflow
Closes the WPET open-format loop with --export-wpet-json /
--import-wpet-json, mirroring the JSON pairs added for
every other novel binary format. All 32 binary formats
added since WOL now have full JSON round-trip authoring.
Two top-level arrays mirror the binary layout:
• families[] — familyId / name / description / icon /
petType (dual int + name) /
baseAttackSpeed / damageMultiplier /
armorMultiplier / dietMask + name /
abilities[]
• minions[] — minionId / name / summonSpellId /
creatureId / abilities[]
Verified byte-identical round-trip on the starter preset
(2 hunter families with 3 abilities each + 1 warlock Imp
with 2 abilities including autocast preferences preserved
through the JSON layer).
Adds 2 flags (672 documented total now).
This commit is contained in:
parent
ab72380ee0
commit
13f09b8cb7
3 changed files with 188 additions and 0 deletions
|
|
@ -112,6 +112,7 @@ const char* const kArgRequired[] = {
|
|||
"--export-wpcd-json", "--import-wpcd-json",
|
||||
"--gen-pets", "--gen-pets-hunter", "--gen-pets-warlock",
|
||||
"--info-wpet", "--validate-wpet",
|
||||
"--export-wpet-json", "--import-wpet-json",
|
||||
"--gen-auction", "--gen-auction-pair", "--gen-auction-restricted",
|
||||
"--info-wauc", "--validate-wauc",
|
||||
"--gen-weather-temperate", "--gen-weather-arctic",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue