mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-26 16:43:55 -07:00
avatar changes
This commit is contained in:
parent
28a77f10e4
commit
2f422f5a20
6 changed files with 29 additions and 19 deletions
|
|
@ -17,6 +17,7 @@ class CardZone;
|
|||
class TableZone;
|
||||
class HandZone;
|
||||
class PlayerTarget;
|
||||
class ServerInfo_User;
|
||||
class ServerInfo_Player;
|
||||
class ServerInfo_Arrow;
|
||||
class ServerInfo_Counter;
|
||||
|
|
@ -115,7 +116,7 @@ private:
|
|||
int defaultNumberTopCards;
|
||||
QString lastTokenName, lastTokenColor, lastTokenPT, lastTokenAnnotation;
|
||||
bool lastTokenDestroy;
|
||||
QString name;
|
||||
ServerInfo_User *userInfo;
|
||||
int id;
|
||||
bool active;
|
||||
bool local;
|
||||
|
|
@ -183,12 +184,13 @@ public:
|
|||
void clearArrows();
|
||||
PlayerTarget *getPlayerTarget() const { return playerTarget; }
|
||||
|
||||
Player(const QString &_name, int _id, bool _local, TabGame *_parent);
|
||||
Player(ServerInfo_User *info, int _id, bool _local, TabGame *_parent);
|
||||
~Player();
|
||||
void retranslateUi();
|
||||
QMenu *getPlayerMenu() const { return playerMenu; }
|
||||
int getId() const { return id; }
|
||||
QString getName() const { return name; }
|
||||
QString getName() const;
|
||||
ServerInfo_User *getUserInfo() const { return userInfo; }
|
||||
bool getLocal() const { return local; }
|
||||
bool getMirrored() const { return mirrored; }
|
||||
const QMap<QString, CardZone *> &getZones() const { return zones; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue