#pragma once #include "CNShardServer.hpp" struct EPInfo { int zoneX, zoneY, EPID, maxScore; }; struct EPRace { int ringCount, mode, ticketSlot; time_t startTime; }; namespace RacingManager { extern std::map EPData; extern std::map EPRaces; void init(); void racingStart(CNSocket* sock, CNPacketData* data); void racingGetPod(CNSocket* sock, CNPacketData* data); void racingCancel(CNSocket* sock, CNPacketData* data); void racingEnd(CNSocket* sock, CNPacketData* data); }