rename: WsPacketClient

This commit is contained in:
手瓜一十雪 committed 2024-11-14 11:40:16 +08:00
1 parent 937c594ff7
commit 76b404cdd8
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ import { IPacketClient, RecvPacket } from "@/core/packet/client/baseClient";
import { PacketContext } from "@/core/packet/context/packetContext";
import { LogStack } from "@/core/packet/context/clientContext";
export class wsPacketClient extends IPacketClient {
export class WsPacketClient extends IPacketClient {
private websocket: WebSocket | null = null;
private reconnectAttempts: number = 0;
private readonly maxReconnectAttempts: number = 60; // 现在暂时不可配置