avocado-old/packages/net/s13n/synchronized.packet.js
2020-06-15 17:26:20 -05:00

23 lines
380 B
JavaScript

import {Packet} from '../packet/packet';
export default class SynchronizedPacket extends Packet {
static get schema() {
return {
...super.schema,
data: {
synchronized: {
type: 'uint8',
id: 'varuint',
},
...this.synchronizationSchema,
},
};
}
static get synchronizationSchema() {
return {};
}
}