feat: packet skeletons

This commit is contained in:
cha0s 2020-07-13 20:40:16 -05:00
parent 39332dabb8
commit b9b439290e
6 changed files with 72 additions and 0 deletions

View File

@ -0,0 +1,12 @@
import {Packet} from '@avocado/net';
export default class Blur extends Packet {
static get schema() {
return {
...super.schema,
data: {},
};
}
}

View File

@ -0,0 +1,12 @@
import {Packet} from '@avocado/net';
export default class ChatStatus extends Packet {
static get schema() {
return {
...super.schema,
data: {},
};
}
}

View File

@ -0,0 +1,12 @@
import {Packet} from '@avocado/net';
export default class Focus extends Packet {
static get schema() {
return {
...super.schema,
data: {},
};
}
}

View File

@ -0,0 +1,12 @@
import {Packet} from '@avocado/net';
export default class Join extends Packet {
static get schema() {
return {
...super.schema,
data: {},
};
}
}

View File

@ -0,0 +1,12 @@
import {Packet} from '@avocado/net';
export default class Leave extends Packet {
static get schema() {
return {
...super.schema,
data: {},
};
}
}

View File

@ -0,0 +1,12 @@
import {Packet} from '@avocado/net';
export default class Message extends Packet {
static get schema() {
return {
...super.schema,
data: {},
};
}
}