mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-10 11:03:51 +00:00
feat(editor): add WPCD JSON round-trip authoring workflow
Closes the WPCD open-format loop with --export-wpcd-json /
--import-wpcd-json, mirroring the JSON pairs added for
every other novel binary format. All 31 binary formats
added since WOL now have full JSON round-trip authoring.
Each condition round-trips all 9 scalar fields. Two
enum-typed fields emit dual int + name forms:
• kind (true / false / quest-done / has-item /
min-level / class / event / area / title / ...)
• aggregator (and / or)
Verified byte-identical round-trip on the gated preset
(5 conditions in 2 groups demonstrating both AND and OR
aggregation, with full polymorphic targetId / minValue /
maxValue payload preserved through the JSON layer).
Adds 2 flags (665 documented total now).
This commit is contained in:
parent
62e793800c
commit
a3af35ec49
3 changed files with 153 additions and 0 deletions
|
|
@ -109,6 +109,7 @@ const char* const kArgRequired[] = {
|
|||
"--export-wgld-json", "--import-wgld-json",
|
||||
"--gen-conditions", "--gen-conditions-gated", "--gen-conditions-event",
|
||||
"--info-wpcd", "--validate-wpcd",
|
||||
"--export-wpcd-json", "--import-wpcd-json",
|
||||
"--gen-pets", "--gen-pets-hunter", "--gen-pets-warlock",
|
||||
"--info-wpet", "--validate-wpet",
|
||||
"--gen-weather-temperate", "--gen-weather-arctic",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue