23 lines
380 B
JavaScript
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 {};
|
|
}
|
|
|
|
}
|