mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-06 07:32:46 +00:00
25 lines
511 B
Java
25 lines
511 B
Java
package com.l2jserver.game.net.packet;
|
|
|
|
import org.jboss.netty.buffer.ChannelBuffer;
|
|
|
|
import com.google.inject.Injector;
|
|
import com.l2jserver.game.net.Lineage2Connection;
|
|
|
|
public interface ClientPacket extends Packet {
|
|
/**
|
|
* Read binary data in the {@link ChannelBuffer}.
|
|
*
|
|
* @param buffer
|
|
* the buffer
|
|
*/
|
|
void read(ChannelBuffer buffer);
|
|
|
|
/**
|
|
* Process the packet
|
|
*
|
|
* @param injector
|
|
* the injector
|
|
*/
|
|
void process(Lineage2Connection conn, Injector injector);
|
|
}
|