Añadido jscore.h

This commit is contained in:
2022-11-15 17:03:57 +01:00
parent 860c35992b
commit 452ef4c91d
3 changed files with 138 additions and 1 deletions

14
source/common/jscore.h Normal file
View File

@@ -0,0 +1,14 @@
#pragma once
#include <string>
namespace jscore {
const bool initOnlineScore(std::string game);
const int getNumUsers();
std::string getUserName(const int index);
const int getPoints(const int index);
const bool updateUserPoints(std::string game, std::string user, const int points);
std::string getUserData(std::string game, std::string user);
void setUserData(std::string game, std::string user, std::string data);
};