mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 11:38:49 -07:00
protobuf client->server communication almost working
This commit is contained in:
parent
4eb9dfc5bf
commit
314f17091d
96 changed files with 1633 additions and 860 deletions
|
|
@ -4,6 +4,7 @@
|
|||
#include <QFrame>
|
||||
#include <QList>
|
||||
#include <QGraphicsObject>
|
||||
#include <google/protobuf/message.h>
|
||||
|
||||
class Player;
|
||||
class GameCommand;
|
||||
|
|
@ -62,7 +63,7 @@ private slots:
|
|||
void actUntapAll();
|
||||
void actDrawCard();
|
||||
signals:
|
||||
void sendGameCommand(GameCommand *command, int playerId);
|
||||
void sendGameCommand(const ::google::protobuf::Message &command, int playerId);
|
||||
protected:
|
||||
void paint(QPainter *painter, const QStyleOptionGraphicsItem * /*option*/, QWidget * /*widget*/);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue