Update op folder

This commit is contained in:
Akbar Yahya 2023-01-04 09:42:29 +08:00
parent e6e44d1b14
commit c6c4ae534e

10
op.js
View File

@ -20,16 +20,16 @@ console.log(process.cwd());
//(TODO: add input file)
// folder gc auto-generated proto
const folder_proto_gc_gen =
"../Grasscutter-Yuuki/src/generated/main/java/emu/grasscutter/net/proto/";
"../GSServer-GC/src/generated/main/java/emu/grasscutter/net/proto/";
// file PacketOpcodes currently in use
const read_cmdid_gc =
"../Grasscutter-Yuuki/src/main/java/emu/grasscutter/net/packet/PacketOpcodes.java";
"../GSServer-GC/src/main/java/emu/grasscutter/net/packet/PacketOpcodes.java";
const folder_packet_gc =
"../Grasscutter-Yuuki/src/main/java/emu/grasscutter/server/packet/";
"../GSServer-GC/src/main/java/emu/grasscutter/server/packet/";
const folder_gc_scan = "../Grasscutter-Yuuki/src/main/java/emu/grasscutter/";
const folder_gc_scan = "../GSServer-GC/src/main/java/emu/grasscutter/";
//const read_cmdid = fs.readFileSync("cmdid.csv");
//const read_packetopcodes = fs.readFileSync("PacketOpcodes.java");
@ -457,7 +457,7 @@ function getPacketOpcodes(raw) {
return name;
}
// C:\Users\Administrator\Desktop\Projek\Docker\GS\gs\Grasscutter-Yuuki\src\main\java\emu\grasscutter
// C:\Users\Administrator\Desktop\Projek\Docker\GS\gs\GSServer-GC\src\main\java\emu\grasscutter
var file_proto = [];
var file_proto_more = [];