Añadido jscore.h
This commit is contained in:
14
source/common/jscore.h
Normal file
14
source/common/jscore.h
Normal 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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user