feat: Implement complete transform & Build & Upload FakeForwardMsg
This commit is contained in:
1 parent
0377a30d02
commit
8edab4f20d
11 files changed
+290
-146
No files matched your search
@@ -1,15 +1,18 @@
|
||||
import { PacketClient } from "@/core/packet/client";
|
||||
import { PacketHighwaySession } from "@/core/packet/highway/session";
|
||||
import { LogWrapper } from "@/common/log";
|
||||
import {PacketPacker} from "@/core/packet/packer";
|
||||
|
||||
export class PacketSession {
|
||||
readonly logger: LogWrapper;
|
||||
readonly client: PacketClient;
|
||||
readonly packer: PacketPacker;
|
||||
readonly highwaySession: PacketHighwaySession;
|
||||
|
||||
constructor(logger: LogWrapper, client: PacketClient) {
|
||||
this.logger = logger;
|
||||
this.client = client;
|
||||
this.highwaySession = new PacketHighwaySession(this.logger, this.client);
|
||||
this.packer = new PacketPacker(this.logger, this.client);
|
||||
this.highwaySession = new PacketHighwaySession(this.logger, this.client, this.packer);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user