OpenFusion/src/Racing.hpp

21 lines
417 B
C++

#pragma once
#include "servers/CNShardServer.hpp"
struct EPInfo {
int zoneX, zoneY, EPID, maxScore, maxTime;
};
struct EPRace {
int ringCount, mode, ticketSlot;
time_t startTime;
};
namespace Racing {
extern std::map<int32_t, EPInfo> EPData;
extern std::map<CNSocket*, EPRace> EPRaces;
extern std::map<int32_t, std::pair<std::vector<int>, std::vector<int>>> EPRewards;
void init();
}