4cd7d3c0ae
Finished implementing all the packet handling code. It could be improved in the future to compress the initial packet sent to clients. With this, the code is complete enough to run! Commands have not been fixed yet but that will come in the future.
14 lines
431 B
Java
14 lines
431 B
Java
package StevenDimDoors.mod_pocketDim;
|
|
|
|
public class PacketConstants
|
|
{
|
|
private PacketConstants() { }
|
|
|
|
public static final String CHANNEL_NAME = "DimDoorsPackets";
|
|
|
|
public static final byte CLIENT_JOIN_PACKET_ID = 1;
|
|
public static final byte CREATE_DIM_PACKET_ID = 2;
|
|
public static final byte DELETE_DIM_PACKET_ID = 3;
|
|
public static final byte CREATE_LINK_PACKET_ID = 4;
|
|
public static final byte DELETE_LINK_PACKET_ID = 5;
|
|
}
|