mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-05 06:50:04 +00:00
dongresource
a55a34e09a
CNProtocol, CNShared, CNStructs and Defines are now in core/. CNLoginServer, CNShardServer and Monitor are now in servers/. core/Core.hpp wraps all the core headers except for CNShared.hpp. Defines.cpp has been renamed to Packets.cpp, and so has its corresponding namespace, but not the header file. This is in preparation for upcoming changes.
21 lines
417 B
C++
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();
|
|
}
|