1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-13 10:42:54 +00:00

Cryptography method enhanced

Protocol version-aware packets support implemented

Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
2011-05-13 14:33:08 -03:00
parent 4b954b2818
commit 632aaac548
31 changed files with 289 additions and 122 deletions

View File

@@ -7,14 +7,19 @@ import com.l2jserver.game.net.Lineage2Connection;
public interface ClientPacket extends Packet {
/**
* Read binary data in the {@link ChannelBuffer}.
* <p>
* Please do not write packets from this method. If you need to close the
* connection or write packets do it in {@link #process(Lineage2Connection)}.
*
* @param conn
* the active connection
* @param buffer
* the buffer
*/
void read(ChannelBuffer buffer);
void read(Lineage2Connection conn, ChannelBuffer buffer);
/**
* Process the packet
* Process the packet. Executes all needed operations.
*
* @param conn
* The active Lineage2Connection