mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-26 16:43:55 -07:00
Hide games created/hosted by people on your Ignore List (#3883)
* Implement filter for games created by ignored users.
This commit is contained in:
parent
7bfefee073
commit
0f18fa9546
9 changed files with 99 additions and 4 deletions
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
#include "gametypemap.h"
|
||||
#include <QGroupBox>
|
||||
#include <common/pb/event_add_to_list.pb.h>
|
||||
#include <common/pb/event_remove_from_list.pb.h>
|
||||
|
||||
class QTreeView;
|
||||
class GamesModel;
|
||||
|
|
@ -25,6 +27,10 @@ private slots:
|
|||
void actJoin();
|
||||
void actSelectedGameChanged(const QModelIndex ¤t, const QModelIndex &previous);
|
||||
void checkResponse(const Response &response);
|
||||
|
||||
void ignoreListReceived(const QList<ServerInfo_User> &_ignoreList);
|
||||
void processAddToListEvent(const Event_AddToList &event);
|
||||
void processRemoveFromListEvent(const Event_RemoveFromList &event);
|
||||
signals:
|
||||
void gameJoined(int gameId);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue