mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 03:23:56 -07:00
converted SetCardAttr attr_name to enum
This commit is contained in:
parent
4634787b00
commit
609e3fc41d
12 changed files with 83 additions and 68 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#include <QMap>
|
||||
#include "abstractgraphicsitem.h"
|
||||
#include "pb/game_event.pb.h"
|
||||
#include "pb/card_attributes.pb.h"
|
||||
|
||||
namespace google { namespace protobuf { class Message; } }
|
||||
class CardDatabase;
|
||||
|
|
@ -174,7 +175,7 @@ private:
|
|||
HandZone *hand;
|
||||
PlayerTarget *playerTarget;
|
||||
|
||||
void setCardAttrHelper(const GameEventContext &context, CardItem *card, const QString &aname, const QString &avalue, bool allCards);
|
||||
void setCardAttrHelper(const GameEventContext &context, CardItem *card, CardAttribute attribute, const QString &avalue, bool allCards);
|
||||
|
||||
QRectF bRect;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue