Working on netcode

This commit is contained in:
2019-09-13 01:04:02 +02:00
parent 0feb020be8
commit 748b9c76ef
5 changed files with 360 additions and 76 deletions

View File

@@ -2,9 +2,14 @@
#include <cstdint>
#define TIMEOUT 20
enum PACKET : uint8_t {
CONNECT,
DISCONNECT,
PING,
ACK,
IDS,
ENTITIES
ENTITIES,
EVENT
};