first commit

This commit is contained in:
2026-05-12 12:41:49 +07:00
commit 604fef891f
8368 changed files with 1285228 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
'use strict';
const Packet = require('../packets/packet');
const CommandCodes = require('../constants/commands');
class ResetConnection {
constructor() {}
toPacket() {
const packet = new Packet(0, Buffer.alloc(5), 0, 5);
packet.offset = 4;
packet.writeInt8(CommandCodes.RESET_CONNECTION);
return packet;
}
}
module.exports = ResetConnection;