mirror of
https://github.com/gwdevhub/Daybreak.git
synced 2026-09-20 15:25:20 +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
19 lines
426 B
C++
19 lines
426 B
C++
#include <cstdint>
|
|
#include <GWCA/GameEntities/Map.h>
|
|
#include <json.hpp>
|
|
#include <payloads/Build.h>
|
|
#include <payloads/Attribute.h>
|
|
|
|
using json = nlohmann::json;
|
|
|
|
namespace Daybreak {
|
|
void to_json(json& j, const Build& p) {
|
|
j = json
|
|
{
|
|
{"Primary", p.Primary},
|
|
{"Secondary", p.Secondary},
|
|
{"Attributes", p.Attributes},
|
|
{"Skills", p.Skills}
|
|
};
|
|
}
|
|
} |