mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
This closes feature request 0000020. Attention, this breaks protocol compatibility.
This commit is contained in:
parent
cfd715cce9
commit
41c4603fe9
12 changed files with 87 additions and 13 deletions
|
|
@ -227,7 +227,8 @@ public:
|
|||
class Command_ReadyStart : public GameCommand {
|
||||
Q_OBJECT
|
||||
public:
|
||||
Command_ReadyStart(int _gameId = -1);
|
||||
Command_ReadyStart(int _gameId = -1, bool _ready = false);
|
||||
bool getReady() const { return static_cast<SerializableItem_Bool *>(itemMap.value("ready"))->getData(); };
|
||||
static SerializableItem *newItem() { return new Command_ReadyStart; }
|
||||
int getItemId() const { return ItemId_Command_ReadyStart; }
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue