- First commit

This commit is contained in:
2022-11-15 16:36:10 +01:00
parent 6249d27136
commit 0cb436d0ac
4 changed files with 173 additions and 0 deletions

14
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);
};