mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-03 20:13:56 -07:00
final (?) spectator code, small bugfix
This commit is contained in:
parent
fa16d86283
commit
a543c9b90c
22 changed files with 453 additions and 190 deletions
|
|
@ -55,7 +55,12 @@ private slots:
|
|||
void actMoveToExile(CardItem *card);
|
||||
|
||||
void gameEvent(const ServerEventData &msg);
|
||||
|
||||
void playerListReceived(QList<ServerPlayer> playerList);
|
||||
void cardListReceived(QList<ServerZoneCard> list);
|
||||
void zoneListReceived(QList<ServerZone> list);
|
||||
void counterListReceived(QList<ServerCounter> list);
|
||||
|
||||
void readyStart();
|
||||
signals:
|
||||
void submitDecklist();
|
||||
|
|
@ -67,6 +72,7 @@ signals:
|
|||
void logPlayerListReceived(QStringList players);
|
||||
void logJoin(Player *player);
|
||||
void logLeave(Player *player);
|
||||
void logGameClosed();
|
||||
void logJoinSpectator(QString playerName);
|
||||
void logLeaveSpectator(QString playerName);
|
||||
void logReadyStart(Player *player);
|
||||
|
|
@ -92,6 +98,7 @@ public:
|
|||
void restartGameDialog();
|
||||
void hoverCardEvent(CardItem *card);
|
||||
Player *addPlayer(int playerId, const QString &playerName, bool local);
|
||||
void queryGameState();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue