* Convert game-script information to JSON. * * @param survey The JSON object. */
| 384 | * @param survey The JSON object. |
| 385 | */ |
| 386 | void SurveyGameScript(nlohmann::json &survey) |
| 387 | { |
| 388 | if (Game::GetInfo() == nullptr) return; |
| 389 | |
| 390 | survey = fmt::format("{}.{}", Game::GetInfo()->GetName(), Game::GetInfo()->GetVersion()); |
| 391 | } |
| 392 | |
| 393 | /** |
| 394 | * Convert compiled libraries information to JSON. |
no test coverage detected