Initial commit

This commit is contained in:
Danial HB
2026-06-12 00:05:22 +07:00
commit 7b8fa7d063
3016 changed files with 484545 additions and 0 deletions
@@ -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;