feat: broken highway

This commit is contained in:
pk5ls20
2024-10-16 11:58:47 +08:00
parent f9e44820c1
commit d30d467a21
17 changed files with 1352 additions and 144 deletions

View File

@@ -1,15 +1,15 @@
import { PacketClient } from "@/core/packet/client";
import { PacketHighwayClient } from "@/core/packet/highway/highwayClient";
import { PacketHighwaySession } from "@/core/packet/highway/session";
import { LogWrapper } from "@/common/log";
export class PacketSession {
readonly logger: LogWrapper;
readonly client: PacketClient;
private readonly highwayClient: PacketHighwayClient;
readonly highwaySession: PacketHighwaySession;
constructor(logger: LogWrapper, client: PacketClient) {
this.logger = logger;
this.client = client;
this.highwayClient = new PacketHighwayClient(this.logger, this.client);
this.highwaySession = new PacketHighwaySession(this.logger, this.client);
}
}