mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-16 19:20:05 +00:00
24 lines
456 B
C++
24 lines
456 B
C++
#pragma once
|
|
|
|
#include <set>
|
|
|
|
#include "servers/CNShardServer.hpp"
|
|
|
|
struct EPInfo {
|
|
int zoneX, zoneY, EPID, maxScore, maxTime;
|
|
};
|
|
|
|
struct EPRace {
|
|
std::set<int> collectedRings;
|
|
int 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();
|
|
}
|