feat: packet skeletons
This commit is contained in:
parent
39332dabb8
commit
b9b439290e
12
src/common/packets/blur.packet.js
Normal file
12
src/common/packets/blur.packet.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
import {Packet} from '@avocado/net';
|
||||
|
||||
export default class Blur extends Packet {
|
||||
|
||||
static get schema() {
|
||||
return {
|
||||
...super.schema,
|
||||
data: {},
|
||||
};
|
||||
}
|
||||
|
||||
}
|
12
src/common/packets/chatstatus.packet.js
Normal file
12
src/common/packets/chatstatus.packet.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
import {Packet} from '@avocado/net';
|
||||
|
||||
export default class ChatStatus extends Packet {
|
||||
|
||||
static get schema() {
|
||||
return {
|
||||
...super.schema,
|
||||
data: {},
|
||||
};
|
||||
}
|
||||
|
||||
}
|
12
src/common/packets/focus.packet.js
Normal file
12
src/common/packets/focus.packet.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
import {Packet} from '@avocado/net';
|
||||
|
||||
export default class Focus extends Packet {
|
||||
|
||||
static get schema() {
|
||||
return {
|
||||
...super.schema,
|
||||
data: {},
|
||||
};
|
||||
}
|
||||
|
||||
}
|
12
src/common/packets/join.packet.js
Normal file
12
src/common/packets/join.packet.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
import {Packet} from '@avocado/net';
|
||||
|
||||
export default class Join extends Packet {
|
||||
|
||||
static get schema() {
|
||||
return {
|
||||
...super.schema,
|
||||
data: {},
|
||||
};
|
||||
}
|
||||
|
||||
}
|
12
src/common/packets/leave.packet.js
Normal file
12
src/common/packets/leave.packet.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
import {Packet} from '@avocado/net';
|
||||
|
||||
export default class Leave extends Packet {
|
||||
|
||||
static get schema() {
|
||||
return {
|
||||
...super.schema,
|
||||
data: {},
|
||||
};
|
||||
}
|
||||
|
||||
}
|
12
src/common/packets/message.packet.js
Normal file
12
src/common/packets/message.packet.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
import {Packet} from '@avocado/net';
|
||||
|
||||
export default class Message extends Packet {
|
||||
|
||||
static get schema() {
|
||||
return {
|
||||
...super.schema,
|
||||
data: {},
|
||||
};
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user