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
@@ -0,0 +1,14 @@
module.exports = AuthSwitchResponsePacket;
function AuthSwitchResponsePacket(options) {
options = options || {};
this.data = options.data;
}
AuthSwitchResponsePacket.prototype.parse = function parse(parser) {
this.data = parser.parsePacketTerminatedBuffer();
};
AuthSwitchResponsePacket.prototype.write = function write(writer) {
writer.writeBuffer(this.data);
};