17 lines
219 B
JavaScript
17 lines
219 B
JavaScript
|
import {Packet} from './packet';
|
||
|
|
||
|
export default class PingPacket extends Packet {
|
||
|
|
||
|
constructor() {
|
||
|
super(false);
|
||
|
}
|
||
|
|
||
|
static get schema() {
|
||
|
return {
|
||
|
...super.schema,
|
||
|
data: 'bool',
|
||
|
};
|
||
|
}
|
||
|
|
||
|
}
|