- GetUserPoints(game, user)

This commit is contained in:
2022-11-15 19:00:11 +01:00
parent ee21ca25c1
commit 05c50e401d
2 changed files with 5 additions and 0 deletions

View File

@@ -132,6 +132,10 @@ namespace jscore {
return not jscore_error;
}
const int getUserPoints(string game, std::string user) {
return atoi(sendRequest("GET /getuserpoints.php?game=" + game + "&user=" + user).c_str());
}
string getUserData(string game, string user) {
return sendRequest("GET /getuserdata.php?game=" + game + "&user=" + user);
}