This commit is contained in:
2026-03-18 15:37:13 +01:00
parent ae75a6ee02
commit 4618269498
188 changed files with 4979 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
module.exports = ComQuitPacket;
function ComQuitPacket() {
this.command = 0x01;
}
ComQuitPacket.prototype.parse = function parse(parser) {
this.command = parser.parseUnsignedNumber(1);
};
ComQuitPacket.prototype.write = function write(writer) {
writer.writeUnsignedNumber(1, this.command);
};