mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
Added decompression/compression of packets. Cleaned up handshaking.
This commit is contained in:
parent
4aae16e458
commit
364ab40b3f
8 changed files with 123 additions and 43 deletions
|
@ -11,16 +11,17 @@ namespace FFXIVClassic_World_Server.DataObjects
|
|||
{
|
||||
public enum Channel {ZONE, CHAT};
|
||||
|
||||
public readonly ulong sessionId;
|
||||
public readonly ClientConnection clientSocket;
|
||||
public readonly uint sessionId;
|
||||
public readonly ClientConnection clientConnection;
|
||||
public readonly Channel type;
|
||||
public ZoneServer routing1, routing2;
|
||||
|
||||
public Session(ulong sessionId, ClientConnection socket, Channel type)
|
||||
public Session(ulong sessionId, ClientConnection connection, Channel type)
|
||||
{
|
||||
this.sessionId = sessionId;
|
||||
this.clientSocket = socket;
|
||||
this.clientConnection = connection;
|
||||
this.type = type;
|
||||
connection.owner = this;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue