This commit is contained in:
Lukian LEIZOUR 2023-03-02 23:53:37 +01:00
parent 851d51a1cf
commit 9965a9ba6d
129 changed files with 26774 additions and 24 deletions

View file

@ -0,0 +1,12 @@
module.exports = ComPingPacket;
function ComPingPacket() {
this.command = 0x0e;
}
ComPingPacket.prototype.write = function(writer) {
writer.writeUnsignedNumber(1, this.command);
};
ComPingPacket.prototype.parse = function(parser) {
this.command = parser.parseUnsignedNumber(1);
};