mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-27 23:27:52 -05:00
Merge pull request #199 from Laupetin/fix/iw5-leaderboard-col-ids
fix: iw4/iw5 leaderboard column ids
This commit is contained in:
@ -34,7 +34,7 @@ namespace IW4
|
||||
{
|
||||
public:
|
||||
std::string name;
|
||||
int id;
|
||||
int colId;
|
||||
int propertyId;
|
||||
bool hidden;
|
||||
std::string statName;
|
||||
@ -43,7 +43,7 @@ namespace IW4
|
||||
LbAggType aggregationFunction;
|
||||
};
|
||||
|
||||
NLOHMANN_DEFINE_TYPE_EXTENSION(JsonColumnDef, name, id, propertyId, hidden, statName, type, precision, aggregationFunction);
|
||||
NLOHMANN_DEFINE_TYPE_EXTENSION(JsonColumnDef, name, colId, propertyId, hidden, statName, type, precision, aggregationFunction);
|
||||
|
||||
class JsonLeaderboardDef
|
||||
{
|
||||
|
@ -54,7 +54,7 @@ namespace IW5
|
||||
{
|
||||
public:
|
||||
std::string name;
|
||||
int id;
|
||||
int colId;
|
||||
std::optional<int> propertyId;
|
||||
std::optional<bool> hidden;
|
||||
std::optional<std::string> statName;
|
||||
@ -65,7 +65,7 @@ namespace IW5
|
||||
std::optional<int> uiCalColY;
|
||||
};
|
||||
|
||||
NLOHMANN_DEFINE_TYPE_EXTENSION(JsonColumnDef, name, id, propertyId, hidden, statName, type, precision, aggregationFunction, uiCalColX, uiCalColY);
|
||||
NLOHMANN_DEFINE_TYPE_EXTENSION(JsonColumnDef, name, colId, propertyId, hidden, statName, type, precision, aggregationFunction, uiCalColX, uiCalColY);
|
||||
|
||||
class JsonLeaderboardDef
|
||||
{
|
||||
|
Reference in New Issue
Block a user