Add reward tables for racing

This commit is contained in:
Gent S
2020-12-21 23:55:43 -05:00
parent b9013149f3
commit e953b51229
5 changed files with 52 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
#include "CNShardServer.hpp"
struct EPInfo {
int zoneX, zoneY, EPID, maxScore;
int zoneX, zoneY, EPID, maxScore, maxTime;
};
struct EPRace {
@@ -15,6 +15,7 @@ namespace RacingManager {
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();