q13x-eaglerproxy/server/proxy/packets/SCReadyPacket.js

14 lines
324 B
JavaScript
Raw Normal View History

2024-09-04 05:02:00 -07:00
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;
}
}