mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-10 11:03:51 +00:00
feat(editor): add WAUC JSON round-trip authoring workflow
Closes the WAUC open-format loop with --export-wauc-json / --import-wauc-json, mirroring the JSON pairs added for every other novel binary format. All 33 binary formats added since WOL now have full JSON round-trip authoring. Each house round-trips all 14 scalar fields plus the factionAccess enum dual int + name forms (alliance / horde / neutral / both). Verified byte-identical round-trip on the faction-pair preset (3 houses including Stormwind/Orgrimmar/Booty Bay with different cut rates and auctioneer NPC IDs preserved through the JSON layer). Adds 2 flags (679 documented total now).
This commit is contained in:
parent
af214d8b34
commit
89fcd4d4cb
3 changed files with 141 additions and 0 deletions
|
|
@ -1259,6 +1259,10 @@ void printUsage(const char* argv0) {
|
|||
std::printf(" Print WAUC houses (id / faction / deposit + cut percent / 3 duration tiers / disallow mask / npc)\n");
|
||||
std::printf(" --validate-wauc <wauc-base> [--json]\n");
|
||||
std::printf(" Static checks: id>0+unique, faction 0..3, durations short<=medium<=long, cut < 100%%\n");
|
||||
std::printf(" --export-wauc-json <wauc-base> [out.json]\n");
|
||||
std::printf(" Export binary .wauc to a human-editable JSON sidecar (defaults to <base>.wauc.json)\n");
|
||||
std::printf(" --import-wauc-json <json-path> [out-base]\n");
|
||||
std::printf(" Import a .wauc.json sidecar back into binary .wauc (accepts factionAccess int OR name string)\n");
|
||||
std::printf(" --gen-channels <wchn-base> [name]\n");
|
||||
std::printf(" Emit .wchn starter: 4 stock channels (General / Trade / LFG / GuildRecruit) with autoJoin defaults\n");
|
||||
std::printf(" --gen-channels-city <wchn-base> [name]\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue