mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
Include the card attributes pb in player_actions.h
Took 11 minutes
This commit is contained in:
parent
e7eb3d2166
commit
d6cda96ed5
3 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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.
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue