2020-11-28 13:29:06 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "CNShardServer.hpp"
|
|
|
|
|
2020-11-28 14:16:14 +00:00
|
|
|
struct EPInfo {
|
2020-12-22 04:55:43 +00:00
|
|
|
int zoneX, zoneY, EPID, maxScore, maxTime;
|
2020-11-28 14:16:14 +00:00
|
|
|
};
|
|
|
|
|
2020-11-28 16:20:37 +00:00
|
|
|
struct EPRace {
|
|
|
|
int ringCount, mode, ticketSlot;
|
|
|
|
time_t startTime;
|
|
|
|
};
|
|
|
|
|
2021-03-16 22:29:13 +00:00
|
|
|
namespace Racing {
|
2020-11-28 14:16:14 +00:00
|
|
|
extern std::map<int32_t, EPInfo> EPData;
|
2020-11-28 16:20:37 +00:00
|
|
|
extern std::map<CNSocket*, EPRace> EPRaces;
|
2020-12-22 04:55:43 +00:00
|
|
|
extern std::map<int32_t, std::pair<std::vector<int>, std::vector<int>>> EPRewards;
|
2020-11-28 14:16:14 +00:00
|
|
|
|
2020-11-28 13:29:06 +00:00
|
|
|
void init();
|
|
|
|
}
|