mirror of
https://github.com/gwdevhub/Daybreak.git
synced 2026-09-21 07:45:22 +00:00
* GWCA integration GWCAMemoryReader partial implementation * Complete Daybreak.GWCA implementation Fix metrics view Upgrade dependencies * Update version * Add solution dir property * Another try * Fix version check * Fix codeql pipeline * Codeql fixes * Fetch submodules * Final codeql change
22 lines
501 B
C++
22 lines
501 B
C++
#include <cstdint>
|
|
#include <GWCA/GameEntities/Map.h>
|
|
#include <json.hpp>
|
|
#include <payloads/PathingTrapezoid.h>
|
|
|
|
using json = nlohmann::json;
|
|
|
|
namespace Daybreak {
|
|
void to_json(json& j, const PathingTrapezoid& p) {
|
|
j = json
|
|
{
|
|
{"Id", p.Id},
|
|
{"PathingMapId", p.PathingMapId},
|
|
{"XTL", p.XTL},
|
|
{"XTR", p.XTR},
|
|
{"XBL", p.XBL},
|
|
{"XBR", p.XBR},
|
|
{"YT", p.YT},
|
|
{"YB", p.YB},
|
|
};
|
|
}
|
|
} |