mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 01:55:19 -04:00
added algorithms to handle lobby invites
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-ChatLobby@4693 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
723a8ca7f0
commit
f4e41b3247
4 changed files with 141 additions and 0 deletions
|
@ -140,11 +140,19 @@ class ChatInfo
|
|||
std::wstring msg;
|
||||
};
|
||||
|
||||
class ChatLobbyInvite
|
||||
{
|
||||
public:
|
||||
ChatLobbyId lobby_id ;
|
||||
std::string peer_id ;
|
||||
std::string lobby_name ;
|
||||
};
|
||||
class ChatLobbyInfo
|
||||
{
|
||||
public:
|
||||
ChatLobbyId lobby_id ; // unique id of the lobby
|
||||
std::string nick_name ; // nickname to use for this lobby
|
||||
std::string lobby_name ; // name to use for this lobby
|
||||
|
||||
std::set<std::string> participating_friends ; // list of direct friend who participate. Used to broadcast sent messages.
|
||||
std::set<std::string> nick_names ; // list of non direct friend who participate. Used to display only.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue