mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-11 15:50:38 -04:00
Improvements to the Games Launcher.
Addition of new Bootstrap Peers. Completion of rsgameitems serialiser. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@383 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
5410a20756
commit
79023e7c7c
9 changed files with 610 additions and 76 deletions
|
@ -48,7 +48,7 @@ class RsGameInfo
|
|||
std::string serverId;
|
||||
|
||||
std::string gameType;
|
||||
std::string gameName;
|
||||
std::wstring gameName;
|
||||
std::string serverName;
|
||||
std::string status;
|
||||
uint16_t numPlayers;
|
||||
|
@ -69,7 +69,7 @@ class RsGameDetail
|
|||
public:
|
||||
std::string gameId;
|
||||
std::string gameType;
|
||||
std::string gameName;
|
||||
std::wstring gameName;
|
||||
|
||||
bool areServer; /* are we the server? */
|
||||
std::string serverId; /* if not, who is? */
|
||||
|
@ -87,7 +87,7 @@ class RsGameLauncher
|
|||
public:
|
||||
|
||||
/* server commands */
|
||||
virtual std::string createGame(uint32_t gameType, std::string name) = 0;
|
||||
virtual std::string createGame(uint32_t gameType, std::wstring name) = 0;
|
||||
virtual bool deleteGame(std::string gameId) = 0;
|
||||
virtual bool inviteGame(std::string gameId) = 0;
|
||||
virtual bool playGame(std::string gameId) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue