#include "PacketHandler.h" void processPacket(networkPacket *packet, u8 type) { //TODO: Differenciate the packets and process them if(type==PACKET_REQUEST_MAPDATA) { } else if(type==PACKET_MAPDATA) { } }