mirror of
https://github.com/gwdevhub/Daybreak.git
synced 2026-09-17 05:44:59 +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
18 lines
377 B
C++
18 lines
377 B
C++
#include <cstdint>
|
|
#include <GWCA/GameEntities/Map.h>
|
|
#include <json.hpp>
|
|
#include <payloads/MapIcon.h>
|
|
|
|
using json = nlohmann::json;
|
|
|
|
namespace Daybreak {
|
|
void to_json(json& j, const MapIcon& p) {
|
|
j = json
|
|
{
|
|
{"Id", p.Id},
|
|
{"PosX", p.PosX},
|
|
{"PosY", p.PosY},
|
|
{"Affiliation", p.Affiliation},
|
|
};
|
|
}
|
|
} |