OpenFusion/src/TableData.hpp

20 lines
574 B
C++
Raw Normal View History

#pragma once
#include <map>
2020-10-03 02:05:20 +00:00
#include "NPCManager.hpp"
// typedef for JSON object because I don't want to type nlohmann::json every time
typedef nlohmann::json json;
namespace TableData {
extern std::map<int32_t, std::vector<WarpLocation>> RunningSkywayRoutes;
2020-10-06 21:59:12 +00:00
extern std::map<int32_t, int> RunningNPCRotations;
extern std::map<int32_t, int> RunningNPCMapNumbers;
extern std::map<int32_t, BaseNPC*> RunningMobs;
extern std::map<int32_t, BaseNPC*> RunningGroups;
2020-11-08 08:42:49 +00:00
extern std::map<int32_t, BaseNPC*> RunningEggs;
2020-10-03 02:05:20 +00:00
void init();
void flush();
}