packet table got fucked by git, add that
parent
d98d5ac025
commit
3ce19169cc
|
@ -2,6 +2,15 @@ package ca.cosc3p91.a4.util;
|
||||||
|
|
||||||
public class PacketTable {
|
public class PacketTable {
|
||||||
|
|
||||||
|
// packetID -> byte defined in this file
|
||||||
|
// clientID -> long
|
||||||
|
// messageID -> long
|
||||||
|
|
||||||
|
// packetID, clientID (0 if connecting to server)
|
||||||
|
public static final byte CONNECT = 0x1;
|
||||||
|
// packetID, clientID
|
||||||
|
public static final byte DISCONNECT = 0x2;
|
||||||
|
// packetID, clientID, messageID
|
||||||
|
public static final byte ACK = 0x3;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue