feat: split packet bundle

This commit is contained in:
cha0s 2021-01-13 03:19:29 -06:00
parent ffbb3132f6
commit 6f16de6887

View File

@ -70,4 +70,10 @@ export default (latus) => class BundlePacket extends Packet {
return packets;
}
static respond({data: packets}, socket) {
for (let i = 0; i < packets.length; i++) {
socket.emit('packet', packets[i]);
}
}
};