mirror of
https://github.com/WorldEditAxe/eaglerproxy.git
synced 2024-11-13 17:16:04 -08:00
14 lines
324 B
JavaScript
14 lines
324 B
JavaScript
import { Enums } from "../Enums.js";
|
|
export class SCReadyPacket {
|
|
packetId = Enums.PacketId.SCReadyPacket;
|
|
type = "packet";
|
|
boundTo = Enums.PacketBounds.C;
|
|
sentAfterHandshake = false;
|
|
serialize() {
|
|
return Buffer.from([this.packetId]);
|
|
}
|
|
deserialize(packet) {
|
|
return this;
|
|
}
|
|
}
|