2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-05-13 13:51:41 +00:00

chore: only dump leaderboard values when they are relevant for the column

This commit is contained in:
Jan
2024-05-19 11:38:20 +02:00
parent 7ba5a616cd
commit 489e4d033e
4 changed files with 62 additions and 32 deletions
@@ -40,10 +40,10 @@ namespace IW4
std::string statName;
LbColType type;
int precision;
LbAggType agg;
LbAggType aggregationFunction;
};
NLOHMANN_DEFINE_TYPE_EXTENSION(JsonColumnDef, name, id, propertyId, hidden, statName, type, precision, agg);
NLOHMANN_DEFINE_TYPE_EXTENSION(JsonColumnDef, name, id, propertyId, hidden, statName, type, precision, aggregationFunction);
class JsonLeaderboardDef
{