Files

17 lines
542 B
C++

#pragma once
#include <string>
#include "../Structures/MultiPlayerGame.h"
#include "../Structures/SinglePlayerGame.h"
void saveGame(SinglePlayerGame* game);
void saveGame(MultiPlayerGame* game);
SinglePlayerGame getSinglePlayerGame(int id);
MultiPlayerGame getMultiPlayerGame(int id);
std::string getGameById(int gameId);
void syncGameHistoryWithLimit();
std::string getProperty(int propertyId, std::string game);
int getSavedBoardElementCount(std::string board);
int getGameId(std::string game);
int getFirstGameId();
int getLastGameId();