initial commit
This commit is contained in:
parent
3c9ee26b06
commit
22186c33b9
1458 changed files with 282792 additions and 0 deletions
10
java/src/game/network/Packet.java
Executable file
10
java/src/game/network/Packet.java
Executable file
|
@ -0,0 +1,10 @@
|
|||
package game.network;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
public interface Packet<T extends NetHandler>
|
||||
{
|
||||
void readPacketData(PacketBuffer buf) throws IOException;
|
||||
void writePacketData(PacketBuffer buf) throws IOException;
|
||||
void processPacket(T handler);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue