mirror of
https://gitlab.com/YuukiPS/GC-Proto.git
synced 2024-12-25 07:59:24 +03:00
sync cmdid csv file
This commit is contained in:
parent
2f12109b95
commit
732c6dc438
4475
cmdid_last.csv
4475
cmdid_last.csv
File diff suppressed because it is too large
Load Diff
6
op.js
6
op.js
@ -972,7 +972,7 @@ function cmdid_json_to_csv() {
|
|||||||
|
|
||||||
const csvHeaders = "ID,Name\n";
|
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");
|
const csvData = csvRows.join("\n");
|
||||||
|
|
||||||
@ -981,7 +981,7 @@ function cmdid_json_to_csv() {
|
|||||||
console.log("CSV file written successfully");
|
console.log("CSV file written successfully");
|
||||||
}
|
}
|
||||||
|
|
||||||
//cmdid_json_to_csv();
|
cmdid_json_to_csv();
|
||||||
// Update GC Proto
|
// Update GC Proto
|
||||||
// get_cmdid_gc(); // 1. get cmd old gc
|
// get_cmdid_gc(); // 1. get cmd old gc
|
||||||
//read_cmdid_ht_json(); // 2 or
|
//read_cmdid_ht_json(); // 2 or
|
||||||
@ -992,7 +992,7 @@ function cmdid_json_to_csv() {
|
|||||||
// npx prettier --write PacketOpcodes.java
|
// npx prettier --write PacketOpcodes.java
|
||||||
// scan_gc(); // 5. scan gc
|
// scan_gc(); // 5. scan gc
|
||||||
// clean_proto_event(); // 6. clean event, need manual
|
// clean_proto_event(); // 6. clean event, need manual
|
||||||
clean_proto_gen(); // 6. clean proto
|
// clean_proto_gen(); // 6. clean proto
|
||||||
// clean_proto_gen_v2();
|
// clean_proto_gen_v2();
|
||||||
|
|
||||||
// TODO: clean DungeonSettleNotify
|
// TODO: clean DungeonSettleNotify
|
||||||
|
Loading…
Reference in New Issue
Block a user