packet table got fucked by git, add that

main
Brett 2023-04-13 23:38:06 -04:00
parent d98d5ac025
commit 3ce19169cc
1 changed files with 10 additions and 1 deletions

View File

@ -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;
} }