mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-09-01 14:37:25 +00:00
chore: write game into dumped jsons to prevent mixup of incompatible formats
This commit is contained in:
@@ -28,6 +28,7 @@ namespace
|
||||
|
||||
jRoot["_type"] = "leaderboard";
|
||||
jRoot["_version"] = 1;
|
||||
jRoot["_game"] = "t6";
|
||||
|
||||
m_stream << std::setw(4) << jRoot << "\n";
|
||||
}
|
||||
|
@@ -29,6 +29,7 @@ namespace
|
||||
|
||||
jRoot["_type"] = "material";
|
||||
jRoot["_version"] = 1;
|
||||
jRoot["_game"] = "t6";
|
||||
|
||||
m_stream << std::setw(4) << jRoot << "\n";
|
||||
}
|
||||
|
@@ -27,6 +27,7 @@ namespace
|
||||
|
||||
jRoot["_type"] = "weaponCamo";
|
||||
jRoot["_version"] = 1;
|
||||
jRoot["_game"] = "t6";
|
||||
|
||||
m_stream << std::setw(4) << jRoot << "\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user