Include the card attributes pb in player_actions.h

Took 11 minutes
This commit is contained in:
Lukas Brübach 2025-10-06 00:15:41 +02:00
parent e7eb3d2166
commit d6cda96ed5
3 changed files with 3 additions and 2 deletions

View file

@ -13,6 +13,7 @@
#include <QMenu> #include <QMenu>
#include <QObject> #include <QObject>
#include <libcockatrice/card/card_relation/card_relation_type.h> #include <libcockatrice/card/card_relation/card_relation_type.h>
#include <libcockatrice/protocol/pb/card_attributes.pb.h>
namespace google namespace google
{ {

View file

@ -112,7 +112,7 @@ void ZoneViewZone::zoneDumpReceived(const Response &r)
qobject_cast<ZoneViewZoneLogic *>(getLogic())->updateCardIds(ZoneViewZoneLogic::INITIALIZE); qobject_cast<ZoneViewZoneLogic *>(getLogic())->updateCardIds(ZoneViewZoneLogic::INITIALIZE);
reorganizeCards(); reorganizeCards();
emit getLogic()->cardCountChanged(); emit getLogic() -> cardCountChanged();
} }
// Because of boundingRect(), this function must not be called before the zone was added to a scene. // Because of boundingRect(), this function must not be called before the zone was added to a scene.

View file

@ -146,7 +146,7 @@ public:
AbstractServerSocketInterface(Servatrice *_server, AbstractServerSocketInterface(Servatrice *_server,
Servatrice_DatabaseInterface *_databaseInterface, Servatrice_DatabaseInterface *_databaseInterface,
QObject *parent = 0); QObject *parent = 0);
~AbstractServerSocketInterface(){}; ~AbstractServerSocketInterface() {};
bool initSession(); bool initSession();
virtual QHostAddress getPeerAddress() const = 0; virtual QHostAddress getPeerAddress() const = 0;