mirror of
https://gitlab.com/YuukiPS/GC-Proto.git
synced 2024-12-24 15:39:25 +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 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
|
||||
|
Loading…
Reference in New Issue
Block a user