mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-09 15:54:47 -07:00
server crash fix; protocol response fix
This commit is contained in:
parent
970da7d214
commit
b0b58ca7bd
4 changed files with 18 additions and 17 deletions
|
|
@ -194,7 +194,7 @@ class ProtocolResponse : public ProtocolItem {
|
|||
private:
|
||||
static QHash<QString, ResponseCode> responseHash;
|
||||
public:
|
||||
ProtocolResponse(int _cmdId = -1, ResponseCode _responseCode = RespOk, const QString &_itemName = QString());
|
||||
ProtocolResponse(int _cmdId = -1, ResponseCode _responseCode = RespNothing, const QString &_itemName = QString());
|
||||
int getItemId() const { return ItemId_Other; }
|
||||
static void initializeHash();
|
||||
static SerializableItem *newItem() { return new ProtocolResponse; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue