sync cmdid csv file

This commit is contained in:
Yuuki 2023-08-21 18:00:19 +08:00
parent 2f12109b95
commit 732c6dc438
2 changed files with 2561 additions and 1920 deletions

File diff suppressed because it is too large Load Diff

6
op.js
View File

@ -972,7 +972,7 @@ function cmdid_json_to_csv() {
const csvHeaders = "ID,Name\n";
const csvRows = Object.entries(k).map(([name, id]) => `${name},${id}`);
const csvRows = Object.entries(k).map(([name, id]) => `${id},${name}`);
const csvData = csvRows.join("\n");
@ -981,7 +981,7 @@ function cmdid_json_to_csv() {
console.log("CSV file written successfully");
}
//cmdid_json_to_csv();
cmdid_json_to_csv();
// Update GC Proto
// get_cmdid_gc(); // 1. get cmd old gc
//read_cmdid_ht_json(); // 2 or
@ -992,7 +992,7 @@ function cmdid_json_to_csv() {
// npx prettier --write PacketOpcodes.java
// scan_gc(); // 5. scan gc
// clean_proto_event(); // 6. clean event, need manual
clean_proto_gen(); // 6. clean proto
// clean_proto_gen(); // 6. clean proto
// clean_proto_gen_v2();
// TODO: clean DungeonSettleNotify