mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-23 15:13:55 -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
|
|
@ -21,6 +21,7 @@
|
|||
#define SERVER_CARD_H
|
||||
|
||||
#include "server_arrowtarget.h"
|
||||
#include "pb/card_attributes.pb.h"
|
||||
#include <QString>
|
||||
#include <QMap>
|
||||
|
||||
|
|
@ -86,7 +87,7 @@ public:
|
|||
void removeAttachedCard(Server_Card *card) { attachedCards.removeAt(attachedCards.indexOf(card)); }
|
||||
|
||||
void resetState();
|
||||
QString setAttribute(const QString &aname, const QString &avalue, bool allCards);
|
||||
QString setAttribute(CardAttribute attribute, const QString &avalue, bool allCards);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue