mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-28 02:24:18 -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
|
@ -41,19 +41,18 @@ class RsGameItem: public RsItem
|
|||
:RsItem(RS_PKT_VERSION_SERVICE, RS_SERVICE_TYPE_GAME_LAUNCHER,
|
||||
RS_PKT_SUBTYPE_DEFAULT)
|
||||
{ return; }
|
||||
virtual ~RsGameItem() { return; }
|
||||
virtual void clear() { return; }
|
||||
std::ostream &print(std::ostream &out, uint16_t indent = 0)
|
||||
{ return out; }
|
||||
virtual ~RsGameItem();
|
||||
virtual void clear();
|
||||
std::ostream &print(std::ostream &out, uint16_t indent = 0);
|
||||
|
||||
uint32_t serviceId;
|
||||
std::string gameId;
|
||||
std::string gameComment;
|
||||
|
||||
uint16_t numPlayers;
|
||||
std::list<std::string> players;
|
||||
uint32_t numPlayers;
|
||||
uint32_t msg; /* RS_GAME_MSG_XXX */
|
||||
|
||||
std::string gameId;
|
||||
std::wstring gameComment;
|
||||
|
||||
RsTlvPeerIdSet players;
|
||||
};
|
||||
|
||||
class RsGameSerialiser: public RsSerialType
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue