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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user